diff --git a/src/mycomponents/recommend/recommendRepleinsh.vue b/src/mycomponents/recommend/recommendRepleinsh.vue index dc175396..282be9c6 100644 --- a/src/mycomponents/recommend/recommendRepleinsh.vue +++ b/src/mycomponents/recommend/recommendRepleinsh.vue @@ -243,6 +243,10 @@ this.$refs.receiptEdit.openTaskEditPopup(item.qty, item.handleQty, item.labelQty); }, confirm(val) { + if(val ==0||!val){ + this.$refs.message.showErrorMessage(`数量不能为0`); + return + } this.editItem.handleQty = Number(val); this.$emit('updateData', this.editItem) } diff --git a/src/pages/count/job/countLightDetail.vue b/src/pages/count/job/countLightDetail.vue index 24468616..30a1b89d 100644 --- a/src/pages/count/job/countLightDetail.vue +++ b/src/pages/count/job/countLightDetail.vue @@ -148,7 +148,7 @@ this.timer = setInterval(()=>{ if (this.showDataList.length == this.dataList.length) { - this.loadingType='loadingType' + this.loadingType='nomore' return } console.log(22) @@ -199,6 +199,7 @@ return this.showDataList } else { clearInterval(this.timer) + this.loadingType='nomore' return this.dataList } }