|
@@ -1749,7 +1749,7 @@
|
|
|
});
|
|
});
|
|
|
console.log(this.productList, 'this.productListtttttttttttt');
|
|
console.log(this.productList, 'this.productListtttttttttttt');
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- this.batchSave();
|
|
|
|
|
|
|
+ // this.batchSave();
|
|
|
// this.listSaveArrs()
|
|
// this.listSaveArrs()
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
@@ -3072,6 +3072,13 @@
|
|
|
`productList.${index}.packingUnit`,
|
|
`productList.${index}.packingUnit`,
|
|
|
`productList.${index}.warehouseId`
|
|
`productList.${index}.warehouseId`
|
|
|
];
|
|
];
|
|
|
|
|
+
|
|
|
|
|
+ if(this.isShowPackage) {
|
|
|
|
|
+ fileds.push(
|
|
|
|
|
+ `productList.${index}.unpackUserName`,
|
|
|
|
|
+ `productList.${index}.ifPackageOk`,
|
|
|
|
|
+ )
|
|
|
|
|
+ }
|
|
|
Promise.all(
|
|
Promise.all(
|
|
|
fileds.map(
|
|
fileds.map(
|
|
|
(item) =>
|
|
(item) =>
|
|
@@ -3160,7 +3167,7 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
} catch (error) {
|
|
} catch (error) {
|
|
|
- this.$message.error('批量保存失败,请检查必填项');
|
|
|
|
|
|
|
+ // this.$message.error('批量保存失败,请检查必填项');
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
listSave(row, index) {
|
|
listSave(row, index) {
|