yijing 1 год назад
Родитель
Сommit
f3bd308ce7
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      src/views/warehouseManagement/stockManagement/add.vue

+ 4 - 4
src/views/warehouseManagement/stockManagement/add.vue

@@ -119,7 +119,7 @@
                 </template>
               </el-table-column> -->
 
-              <el-table-column label="数量" align="center" width="100" prop="packingQuantity">
+              <el-table-column label="数量" align="center" width="180" prop="packingQuantity">
                 <template slot-scope="{ row, $index }">
                   <template v-if="row.isSave">
                     {{ row.packingQuantity }}
@@ -801,8 +801,8 @@ export default {
       if (isClear) {
         if (row.packingQuantity < 0) {
           this.$set(this.productList[index], 'packingQuantity', 1);
-        } else if (row.packingQuantity > 9999) {
-          this.$set(this.productList[index], 'packingQuantity', 9999);
+        } else if (row.packingQuantity > 999999) {
+          this.$set(this.productList[index], 'packingQuantity', 999999);
         }
       }
       //如果有包装数量和包装单位
@@ -2682,7 +2682,7 @@ export default {
         }
 
       }
-
+      console.log(productIndex, 'productIndex')
       // 单独点击保存并插入对应位置(包装)
       if (productIndex == 0) {
         this.packingList.splice(productIndex, 0, ...packingList);