From eb135027785165abc60eca7a1014d82649a601d9 Mon Sep 17 00:00:00 2001 From: zhang_li Date: Thu, 19 Jun 2025 17:58:52 +0800 Subject: [PATCH] =?UTF-8?q?YT-2786pda=E7=9B=98=E7=82=B9=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=EF=BC=8C=E4=B9=9F=E8=AF=A6=E6=83=85=E9=A1=B5=E4=B8=80=E7=9B=B4?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=20=E8=BF=98=E6=9C=89=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E8=A1=A5=E6=96=99=E6=89=AB=E6=8F=8F=E4=B8=8D=E8=83=BD=E4=B8=BA?= =?UTF-8?q?0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mycomponents/recommend/recommendRepleinsh.vue | 4 ++++ src/pages/count/job/countLightDetail.vue | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 } }