Browse Source

盘点返回之前版本

ljc_0803
zhang_li 1 month ago
parent
commit
d656c643eb
  1. 10
      src/mycomponents/scan/winScanPackAndLocation.vue

10
src/mycomponents/scan/winScanPackAndLocation.vue

@ -140,7 +140,6 @@
managementPrecision: '', managementPrecision: '',
fromInventoryStatuses: "", fromInventoryStatuses: "",
isCheck: false, isCheck: false,
chooseWhich:'1'
} }
}, },
created() { created() {
@ -342,8 +341,7 @@
this.countCallBack(datas); this.countCallBack(datas);
} else { } else {
if (Array.isArray(datas)) { if (Array.isArray(datas)) {
this.chooseWhich = '2' this.countCallBack(datas[0]);
this.showBalanceSelect(datas);
} else { } else {
this.countCallBack(datas); this.countCallBack(datas);
} }
@ -388,7 +386,6 @@
// } // }
} else { } else {
this.showBalanceSelect(datas); this.showBalanceSelect(datas);
this.chooseWhich='1'
} }
}, },
@ -397,12 +394,7 @@
}, },
selectBalanceItem(balance) { selectBalanceItem(balance) {
if(this.chooseWhich == 1){
this.packCallBack(balance); this.packCallBack(balance);
}else{
this.countCallBack(balance);
}
// 20231228 // 20231228
// if (balance.qty > 0) { // if (balance.qty > 0) {
// this.packCallBack(balance); // this.packCallBack(balance);

Loading…
Cancel
Save