|
|
@@ -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);
|