This commit is contained in:
liushiwei
2024-07-18 14:48:44 +08:00
parent 6356004d74
commit 0808f42ce7
37 changed files with 2456 additions and 158 deletions

View File

@@ -432,6 +432,7 @@
this.isDlgLoading = true
this.getList(this.tableData, this.mallId, this.mallName, 1)
}).catch((err) => {
this.mallId = ''
console.log(err)
})
},
@@ -688,11 +689,19 @@
this.createDeliveryBill(sn, mallId)
}
} else {
this.choosedSnMallList.push(obj)
for (let j = 0; j < this.choosedList.length; j++) {
if (this.choosedList[j].subPurchaseOrderSn == sn) {
this.choosedList[j].robTotal ++;
break;
if (res.result?.errorInfoList[0] && res.result?.errorInfoList[0].errorCode == 60002) {
for (let j = 0; j < this.choosedList.length; j++) {
if (this.choosedList[j].subPurchaseOrderSn == sn) {
this.choosedList.splice(j, 1);
}
}
} else {
this.choosedSnMallList.push(obj)
for (let j = 0; j < this.choosedList.length; j++) {
if (this.choosedList[j].subPurchaseOrderSn == sn) {
this.choosedList[j].robTotal ++;
break;
}
}
}
}