From 3c3a6da71b75db85f4d90fa1880d888f7109f818 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 15 Nov 2024 10:10:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89return?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/putaway/job/putawayDetail.vue | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/pages/putaway/job/putawayDetail.vue b/src/pages/putaway/job/putawayDetail.vue index 58b69b33..2ee771c1 100644 --- a/src/pages/putaway/job/putawayDetail.vue +++ b/src/pages/putaway/job/putawayDetail.vue @@ -683,7 +683,6 @@ this.$refs.comMessage.showErrorMessage(str2); return; } - return; if(this.scanCount < this.subList.length){ //扫描数量小于任务数量,判断是否允许部分提交 if (this.jobContent.allowPartialComplete == "TRUE") { @@ -726,27 +725,6 @@ this.showErrorMessage(res.message); } }) - //扫描数量和任务数量相等,直接提交 - // if (this.scanCount == this.subList.length) { - // this.submitJob(); - // } else if (this.scanCount < this.subList.length) { - // //扫描数量小于任务数量,判断是否允许部分提交 - // if (this.jobContent.allowPartialComplete == "TRUE") { - // //提交 - // this.$refs.comMessage.showQuestionMessage1("任务明细未全部完成,是否提交?", 'red', res => { - // if (res) { - // this.submitJob() - // } - // }); - // } else { - // //不允许部分提交,提示 - // this.$refs.comMessage.showErrorMessage("任务明细未全部完成,不允许部分提交!", res => { - // if (res) { - // this.openScanPopup(); - // } - // }); - // } - // } }, submitJob() { @@ -754,8 +732,6 @@ title: "提交中....", mask: true }); - - var params = this.setParams() console.log("提交参数", JSON.stringify(params)); putawayJobSubmit(params).then(res => {