Преглед изворни кода

采购订单 规格开放修改

yusheng пре 11 месеци
родитељ
комит
4e6bb3a69a

+ 2 - 2
src/views/purchasingManage/purchaseOrder/components/inventoryTable.vue

@@ -170,7 +170,7 @@
           style="margin-bottom: 20px"
           :prop="'datasource.' + scope.$index + '.specification'"
         >
-          <el-input v-model="scope.row.specification" disabled></el-input>
+          <el-input v-model="scope.row.specification" ></el-input>
         </el-form-item>
       </template>
       <template v-slot:deliveryDays="scope">
@@ -731,7 +731,7 @@
             align: 'center'
           },
           {
-            width: 120,
+            width: 160,
             prop: 'specification',
             label: '规格',
             slot: 'specification',

+ 9 - 2
src/views/purchasingManage/purchaseOrder/invoice/components/inventoryTable.vue

@@ -166,7 +166,14 @@
           </el-input>
         </el-form-item>
       </template>
-
+      <template v-slot:specification="scope">
+        <el-form-item
+          style="margin-bottom: 20px"
+          :prop="'datasource.' + scope.$index + '.specification'"
+        >
+          <el-input v-model="scope.row.specification" ></el-input>
+        </el-form-item>
+      </template>
       <template v-slot:warehouseNum="scope">
         <el-form-item style="margin-bottom: 20px">
           {{ scope.row.warehouseNum }}
@@ -469,7 +476,7 @@
             align: 'center'
           },
           {
-            width: 120,
+            width: 160,
             prop: 'specification',
             label: '规格',
             slot: 'specification',