Browse Source

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

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

23
mycomponents/scan/winScanPackAndLocation.vue

@ -21,7 +21,7 @@
<view class="uni-center" style="width: 25%; ">
来源库位
</view>
<!-- style="width: 75%;padding: 8rpx" -->
<!-- style="width: 75%;padding: 8rpx" -->
<view class="">
<!-- <input v-model="fromLocationCode" placeholder="请扫描来源库位" :focus="locationOnFocus"
placeholder-style="font-size:12px" style="padding: 5px;" @confirm="scanLocation" /> -->
@ -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();
})
}
this.packCallBack(balance);
// 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