diff --git a/pages/deliver/coms/comScanDeliverPack.vue b/pages/deliver/coms/comScanDeliverPack.vue index fb013ada..885ac385 100644 --- a/pages/deliver/coms/comScanDeliverPack.vue +++ b/pages/deliver/coms/comScanDeliverPack.vue @@ -152,6 +152,7 @@ defaultValueList: [], label:{}, fromInventoryStatuses :"", + packageInfo:{} } }, created() { @@ -191,7 +192,8 @@ } }, - showBalanceSelect(items) { + showBalanceSelect(items,packageInfo) { + this.packageInfo = packageInfo; this.$refs.balanceSelect.openPopup(items); }, @@ -260,7 +262,7 @@ this.afterGetBalance(result.label, balance,packageInfo); } else { this.label =result.label; - this.showBalanceSelect(balanceRes.data.list); + this.showBalanceSelect(balanceRes.data.list,packageInfo); } } else { this.showErrorMessage(balanceRes.message.message); @@ -275,7 +277,7 @@ }, selectBalanceItem(balance) { - this.afterGetBalance(this.label, balance); + this.afterGetBalance(this.label, balance,this.packageInfo); },