Browse Source

修改查询库存为0的库存

wms3.0_pda
lijuncheng 11 months ago
parent
commit
940c4b247f
  1. 17
      mycomponents/scan/winScanPackAndLocation.vue

17
mycomponents/scan/winScanPackAndLocation.vue

@ -247,9 +247,14 @@
})
} else if (datas.length == 1) {
let balance = datas[0];
this.packCallBack(balance);
if(balance.qty>0){
this.packCallBack(balance);
}else {
this.showErrorMessage(this.getQueryCondition() + '<br>查找到库存记录数量为['+balance.qty+"],<br>不可以进行操作", res => {
this.packGetFocus();
})
}
} else {
this.showBalanceSelect(datas);
}
},
@ -259,7 +264,13 @@
},
selectBalanceItem(balance) {
this.packCallBack(balance);
if(balance.qty>0){
this.packCallBack(balance);
}else {
this.showErrorMessage(this.getQueryCondition() + '<br>查找到库存记录数量为['+balance.qty+"],不可以进行操作", res => {
this.packGetFocus();
})
}
},
packCallBack(item) {

Loading…
Cancel
Save