Browse Source

Merge branch 'hella_online_20240803' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-uniapp into hella_online_20240803

ljc_0803
niexiting 1 month ago
parent
commit
895bf6c855
  1. 12
      src/mycomponents/scan/winScanPackAndLocation.vue
  2. 4
      src/pages/inventoryMove/coms/comMoveJob.vue
  3. 1
      src/pages/issue/job/issueDetail.vue

12
src/mycomponents/scan/winScanPackAndLocation.vue

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

4
src/pages/inventoryMove/coms/comMoveJob.vue

@ -212,14 +212,14 @@
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
} }
var list = res.data.list; let list = res.data.list;
this.totalCount = res.data.total this.totalCount = res.data.total
this.loadingType = "loadmore"; this.loadingType = "loadmore";
this.jobList = type === "refresh" ? list : this.jobList.concat(list);
if (list == null || list.length == 0) { if (list == null || list.length == 0) {
this.loadingType = "nomore"; this.loadingType = "nomore";
return; return;
} }
this.jobList = type === "refresh" ? list : this.jobList.concat(list);
this.pageNo++; this.pageNo++;
this.updateTitle(); this.updateTitle();
}).catch(error => { }).catch(error => {

1
src/pages/issue/job/issueDetail.vue

@ -453,6 +453,7 @@
}, },
autoCommit(){ autoCommit(){
let str=""
var totalQty =0; var totalQty =0;
var taskQty =0; var taskQty =0;
this.detailSource.forEach(detail => { this.detailSource.forEach(detail => {

Loading…
Cancel
Save