695593266@qq.com 7 luni în urmă
părinte
comite
3ec7f12451

+ 12 - 3
src/views/produce/components/feeding/components/batchProductsBom.vue

@@ -40,10 +40,19 @@
       </template>
 
       <template v-slot:newWeight="{ row, $index }">
-        <span v-if="row.extInfo.newWeight">
+        <el-input
+          size="mini"
+          class="content_num"
+          v-model="row.extInfo.newWeight"
+          placeholder="重量"
+          :disabled="isEdit"
+        >
+          <template slot="append">{{ row.extInfo.weightUnit }}</template>
+        </el-input>
+        <!-- <span>
           {{ row.extInfo.newWeight || 0 }}
           {{ row.extInfo.weightUnit }}
-        </span>
+        </span> -->
       </template>
       <!--
       <template v-slot:feedQuantity="{ row, $index }">
@@ -242,7 +251,7 @@
           //   showOverflowTooltip: true
           // },
           {
-            minWidth: 120,
+            minWidth: 140,
             prop: 'newWeight',
             slot: 'newWeight',
             label: '重量',

+ 2 - 0
src/views/produce/components/outsourcing/outsourceList.vue

@@ -906,6 +906,8 @@
           }
         }
 
+        this.outObj.formedNumLast = this.outsourceData.formedNumLast;
+
         let param = {
           ...this.outObj,
           isRelease: isRelease,

+ 2 - 0
src/views/produce/components/workPlan/components/baseInfo.vue

@@ -772,6 +772,8 @@
         } else {
           this.form.qualityName = '';
         }
+
+        this.$forceUpdate();
         // this.$set(this.form, 'qualityIdList', val);
         // this.$forceUpdate();
         // if (val) {

+ 4 - 5
src/views/produceWord/index.vue

@@ -166,15 +166,14 @@ r++<template>
             showOverflowTooltip: true
           },
           {
-            prop: 'productionCodes',
-            label: '生产编号',
+            prop: 'productCode',
+            label: '编码',
             align: 'center',
-            minWidth: 150,
             showOverflowTooltip: true
           },
           {
-            prop: 'productCode',
-            label: '编码',
+            prop: 'productionCodes',
+            label: '生产编号',
             align: 'center',
             showOverflowTooltip: true
           },