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)() + } },