Browse Source

盘点任务bug

hella_online_20240829
wangyufei 5 months ago
parent
commit
1591a96398
  1. 6
      src/mycomponents/balance/balanceSelect.vue
  2. 4
      src/pages/count/job/countJob.vue
  3. 4
      src/pages/count/record/countRecord.vue

6
src/mycomponents/balance/balanceSelect.vue

@ -37,7 +37,13 @@
},
methods: {
openPopup(items) {
if(Array.isArray(items)){
this.balanceItems = items;
}else{
this.balanceItems = [items];
}
this.$refs['popupItems'].open("center");
},

4
src/pages/count/job/countJob.vue

@ -184,7 +184,7 @@
openJobDetail(item) {
uni.navigateTo({
url: './countDetail?id=' + item.masterId + '&status=' + item.status
url: './countDetail?id=' + item.id + '&status=' + item.status
});
},
@ -203,7 +203,7 @@
this.$refs.comMessage.showQuestionMessage("确定要放弃当前任务?",
res => {
if (res) {
this.cancleJob(dataContent.masterId);
this.cancleJob(dataContent.id);
}
});
}

4
src/pages/count/record/countRecord.vue

@ -151,8 +151,8 @@
calcHandleQty() {
for (let item of this.detailSource) {
item.handleQty = new Decimal(0).toNumber();
item.qty = new Decimal(0).toNumber();
item.handleQty = 0;
item.qty = 0;
for (let detail of item.subList) {
if(detail!=undefined){
if(detail.scaned){

Loading…
Cancel
Save