Browse Source

YT-2786pda盘点任务,也详情页一直加载 还有一个补料扫描不能为0

intex
张立 2 weeks ago
parent
commit
eb13502778
  1. 4
      src/mycomponents/recommend/recommendRepleinsh.vue
  2. 3
      src/pages/count/job/countLightDetail.vue

4
src/mycomponents/recommend/recommendRepleinsh.vue

@ -243,6 +243,10 @@
this.$refs.receiptEdit.openTaskEditPopup(item.qty, item.handleQty, item.labelQty); this.$refs.receiptEdit.openTaskEditPopup(item.qty, item.handleQty, item.labelQty);
}, },
confirm(val) { confirm(val) {
if(val ==0||!val){
this.$refs.message.showErrorMessage(`数量不能为0`);
return
}
this.editItem.handleQty = Number(val); this.editItem.handleQty = Number(val);
this.$emit('updateData', this.editItem) this.$emit('updateData', this.editItem)
} }

3
src/pages/count/job/countLightDetail.vue

@ -148,7 +148,7 @@
this.timer = setInterval(()=>{ this.timer = setInterval(()=>{
if (this.showDataList.length == this.dataList.length) { if (this.showDataList.length == this.dataList.length) {
this.loadingType='loadingType' this.loadingType='nomore'
return return
} }
console.log(22) console.log(22)
@ -199,6 +199,7 @@
return this.showDataList return this.showDataList
} else { } else {
clearInterval(this.timer) clearInterval(this.timer)
this.loadingType='nomore'
return this.dataList return this.dataList
} }
} }

Loading…
Cancel
Save