|
@@ -1180,10 +1180,12 @@
|
|
|
handleDeleteClick(row, index) {
|
|
handleDeleteClick(row, index) {
|
|
|
console.log('删除', row.id);
|
|
console.log('删除', row.id);
|
|
|
this.productList.splice(index, 1);
|
|
this.productList.splice(index, 1);
|
|
|
- console.log('删除后', this.packingList);
|
|
|
|
|
|
|
+ this.formData.outInDetailList.splice(index, 1);
|
|
|
this.packingList = this.packingList.filter(
|
|
this.packingList = this.packingList.filter(
|
|
|
(item) => item.outInDetailId !== row.id
|
|
(item) => item.outInDetailId !== row.id
|
|
|
);
|
|
);
|
|
|
|
|
+ console.log('删除后', this.packingList);
|
|
|
|
|
+ console.log('删除后~~~', this.formData.outInDetailList);
|
|
|
},
|
|
},
|
|
|
handleBizSceneChange() {
|
|
handleBizSceneChange() {
|
|
|
if (this.formData.extInfo.assetType == 7) {
|
|
if (this.formData.extInfo.assetType == 7) {
|