Browse Source

HL-5366 盘点任务,明盘,任务明细是相同包装、相同物料、相同库位、不同状态,盘点之后,产生记录变成相同物料、相同库位、相同状态,也都生成盘点调整

hella_online_20240829
zhang_li 3 months ago
parent
commit
91210e46a8
  1. 14
      src/mycomponents/scan/winScanPackAndLocation.vue

14
src/mycomponents/scan/winScanPackAndLocation.vue

@ -140,6 +140,7 @@
managementPrecision: '',
fromInventoryStatuses: "",
isCheck: false,
chooseWhich:'1'
}
},
created() {
@ -317,7 +318,10 @@
uni.hideLoading();
if (res.success) {
this.managementPrecision = res.managementPrecision
this.afterQueryBalance(res.data.list);
this.chooseWhich = '2'
this.showBalanceSelect(res.data.list);
// this.afterQueryBalance(res.data.list);
} else {
this.showErrorMessage(res.message, res => {
this.packGetFocus();
@ -386,6 +390,7 @@
// }
} else {
this.showBalanceSelect(datas);
this.chooseWhich='1'
}
},
@ -394,7 +399,12 @@
},
selectBalanceItem(balance) {
this.packCallBack(balance);
if(this.chooseWhich == 1){
this.packCallBack(balance);
}else{
this.countCallBack(balance);
}
// this.packCallBack(balance);
// 20231228
// if (balance.qty > 0) {
// this.packCallBack(balance);

Loading…
Cancel
Save