From 2fb8148b9f27badc27ad7cd6822e5a082bbd7dd2 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Thu, 15 Aug 2024 20:39:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E6=96=99=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/issue/job/issueDetail.vue | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/pages/issue/job/issueDetail.vue b/src/pages/issue/job/issueDetail.vue index ba6a0030..374ef22a 100644 --- a/src/pages/issue/job/issueDetail.vue +++ b/src/pages/issue/job/issueDetail.vue @@ -284,7 +284,6 @@ getManagementPrecisions(itemCodes, locationCode, res => { if (res.success) { this.managementList = res.list; - console.log("自动提交submitJob") this.submitJob(); } else { uni.hideLoading(); @@ -463,8 +462,11 @@ } else { tempHandleQty = 0 } - str += - `包装号【${record.packingNumber}】提交数量【${tempHandleQty}】与任务物料数量【${batch.qty}】不一致\n` + if (batch.qty != 0) { + str += + `包装号【${record.packingNumber}】提交数量【${tempHandleQty}】与任务物料数量【${batch.qty}】不一致\n` + } + } }) }) @@ -477,15 +479,15 @@ this.$refs.comMessage.showQuestionMessage1(str, 'red', res => { if (res) { //防止重复点击 - this.$throttle(this.submit,2000,this)() + this.$throttle(this.submit, 2000, this)() } else { this.scanPopupGetFocus() } }); } else { //防止重复点击 - this.$throttle(this.submit,2000,this)() - + this.$throttle(this.submit, 2000, this)() + } },