ysy 1 yıl önce
ebeveyn
işleme
d381c14367
2 değiştirilmiş dosya ile 68 ekleme ve 23 silme
  1. 56 11
      src/views/productionPlan/index.vue
  2. 12 12
      src/views/saleOrder/index.vue

+ 56 - 11
src/views/productionPlan/index.vue

@@ -89,6 +89,13 @@
           </div>
           </div>
         </template>
         </template>
 
 
+        
+
+        <template v-slot:productNum="{ row }">
+          {{ row.productNum }} {{ row.unit }}
+        </template>
+
+
         <template v-slot:productWeight="{ row }">
         <template v-slot:productWeight="{ row }">
           {{ row.productWeight }} {{ row.weightUnit }}
           {{ row.productWeight }} {{ row.weightUnit }}
         </template>
         </template>
@@ -333,13 +340,7 @@
 
 
           },
           },
 
 
-          {
-            prop: 'scheduleStatusName',
-            label: '进度状态',
-            align: 'center',
-            showOverflowTooltip: true,
-            minWidth: 100
-          },
+
 
 
           {
           {
             prop: 'productCode',
             prop: 'productCode',
@@ -396,9 +397,10 @@
 
 
           {
           {
             prop: 'productNum',
             prop: 'productNum',
-            label: '计划数量' + (this.clientEnvironmentId == '4' ? '(方)' : ''),
+            label: '计划数量' ,
             align: 'center',
             align: 'center',
-            showOverflowTooltip: true
+            showOverflowTooltip: true,
+            slot: 'productNum'
           },
           },
           {
           {
             prop: 'productWeight',
             prop: 'productWeight',
@@ -410,7 +412,7 @@
           {
           {
             prop: 'requiredFormingNum',
             prop: 'requiredFormingNum',
             label:
             label:
-              '要求生产数量' + (this.clientEnvironmentId == '4' ? '(方)' : ''),
+              '要求生产数量',
             align: 'center',
             align: 'center',
             showOverflowTooltip: true,
             showOverflowTooltip: true,
             slot: 'requiredFormingNum'
             slot: 'requiredFormingNum'
@@ -424,6 +426,49 @@
             slot: 'newSumOrderWeight'
             slot: 'newSumOrderWeight'
           },
           },
 
 
+
+          {
+            prop: 'scheduleStatusName',
+            label: '进度状态',
+            align: 'center',
+            showOverflowTooltip: true,
+            minWidth: 100
+          },
+
+          {
+            prop: '',
+            label: '已排产数量',
+            align: 'center',
+            showOverflowTooltip: true,
+
+          },
+
+          {
+            prop: '',
+            label: '未排产数量',
+            align: 'center',
+            showOverflowTooltip: true,
+
+          },
+
+          {
+            prop: '',
+            label: '已生产数量',
+            align: 'center',
+            showOverflowTooltip: true,
+
+          },
+
+          {
+            prop: '',
+            label: '未生产数量',
+            align: 'center',
+            showOverflowTooltip: true,
+          },
+
+
+
+
           {
           {
             prop: 'moCount',
             prop: 'moCount',
             label: '模数',
             label: '模数',
@@ -576,7 +621,7 @@
             privateColumn.push({
             privateColumn.push({
               columnKey: 'action',
               columnKey: 'action',
               label: '操作',
               label: '操作',
-              width: 220,
+              width: 148,
               align: 'center',
               align: 'center',
               resizable: false,
               resizable: false,
               fixed: 'right',
               fixed: 'right',

+ 12 - 12
src/views/saleOrder/index.vue

@@ -234,18 +234,18 @@
             label: '欠交数量',
             label: '欠交数量',
             align: 'center'
             align: 'center'
           },
           },
-          // {
-          //   prop: 'moCount',
-          //   label: '模数',
-          //   align: 'center',
-          //   show: this.clientEnvironmentId == '4'
-          // },
-          // {
-          //   prop: 'blockCount',
-          //   label: '块数',
-          //   align: 'center',
-          //   show: this.clientEnvironmentId == '4'
-          // },
+          {
+            prop: 'moCount',
+            label: '模数',
+            align: 'center',
+            show: this.clientEnvironmentId == '4'
+          },
+          {
+            prop: 'blockCount',
+            label: '块数',
+            align: 'center',
+            show: this.clientEnvironmentId == '4'
+          },
           {
           {
             prop: 'orderLibraryType',
             prop: 'orderLibraryType',
             label: '按单按库',
             label: '按单按库',