Browse Source

盘点扫描时去掉负库存提示

wms3.0_pda
niexiting 11 months ago
parent
commit
218870c178
  1. 19
      mycomponents/scan/winScanPackAndLocation.vue

19
mycomponents/scan/winScanPackAndLocation.vue

@ -41,7 +41,7 @@
<view class="">
<view class="">
<win-com-scan ref="comscan" :placeholder="title" @getResult="getScanResult"
:isShowHistory="isShowHistory" :clearResult="true" :headerType ="headerType"></win-com-scan>
:isShowHistory="isShowHistory" :clearResult="true" :headerType="headerType"></win-com-scan>
</view>
</view>
</view>
@ -264,14 +264,17 @@
})
} else if (datas.length == 1) {
let balance = datas[0];
if (balance.qty > 0) {
this.packCallBack(balance);
} else {
this.showErrorMessage(this.getQueryCondition() + '<br>查找到库存记录数量为[' + balance.qty + "],<br>不可以进行操作",
res => {
this.packGetFocus();
})
}
// 20231228
// if (balance.qty > 0) {
// this.packCallBack(balance);
// } else {
// this.showErrorMessage(this.getQueryCondition() + '<br>[' + balance.qty + "],<br>",
// res => {
// this.packGetFocus();
// })
// }
} else {
this.showBalanceSelect(datas);
}

Loading…
Cancel
Save