Browse Source

修改发料、补料查询到多个数据,选择报错

hella_online_20240821
lijuncheng 3 months ago
parent
commit
c68abb0b96
  1. 2
      src/pages/issue/coms/comScanIssuePack.vue
  2. 7
      src/pages/repleinsh/coms/comScanReplishPack.vue

2
src/pages/issue/coms/comScanIssuePack.vue

@ -489,7 +489,7 @@
}, },
selectBalanceItem(balance) { selectBalanceItem(balance) {
this.afterGetBalance(this.label, balance, this.packageInfo); this.afterGetBalance(balance, balance, this.packageInfo);
}, },
afterGetBalance(label, balance, packageInfo) { afterGetBalance(label, balance, packageInfo) {

7
src/pages/repleinsh/coms/comScanReplishPack.vue

@ -26,8 +26,7 @@
<view class=""> <view class="">
<view class=""> <view class="">
<win-com-scan ref="comscan" placeholder="箱标签" @getResult="onScan" :clearResult="true" <win-com-scan ref="comscan" placeholder="箱标签" @getResult="onScan" :clearResult="true"
headerType="HPQ,HMQ" headerType="HPQ,HMQ" :isShowHistory="false">
:isShowHistory="false">
</win-com-scan> </win-com-scan>
<view style="width: 100%;"> <view style="width: 100%;">
@ -418,9 +417,7 @@
}, },
selectBalanceItem(balance) { selectBalanceItem(balance) {
if(balance){ this.afterGetBalance(balance, balance, this.packageInfo);
this.afterGetBalance(this.label, balance, this.packageInfo);
}
}, },
afterGetBalance(label, balance, packageInfo) { afterGetBalance(label, balance, packageInfo) {

Loading…
Cancel
Save