From 47a2c4547572498c9cba2e57bf7dec365442e388 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 22 Nov 2024 17:24:24 +0800 Subject: [PATCH] =?UTF-8?q?YT-1208=E5=8F=91=E6=96=99=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=EF=BC=8C=E6=8F=90=E7=A4=BA=E5=A4=9A=E4=B8=AA=E7=89=A9=E6=96=99?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=BA=94=E6=8D=A2=E8=A1=8C=E6=88=96=E5=8A=A0?= =?UTF-8?q?=E4=B8=AA=E5=88=86=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/issue/job/issueDetailBatch.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/pages/issue/job/issueDetailBatch.vue b/src/pages/issue/job/issueDetailBatch.vue index 34093675..f99df8af 100644 --- a/src/pages/issue/job/issueDetailBatch.vue +++ b/src/pages/issue/job/issueDetailBatch.vue @@ -523,6 +523,7 @@ } console.log("提交参数", params); + return issueJobSubmit(params).then(res => { uni.hideLoading() if (res.data) { @@ -642,17 +643,17 @@ const isScaned = detail.subList.some(cur=>cur.scaned) if(isScaned){ if(parseFloat(detail.handleQty)parseFloat(detail.qty)){ - str1 += `物料号【${detail.itemCode}】提交数量【${detail.handleQty}】不允许大于任务数量【${detail.qty}】` + str1 += `物料号【${detail.itemCode}】提交数量【${detail.handleQty}】不允许大于任务数量【${detail.qty}\n】` } } detail.subList.forEach(item => { if(item.scaned){ if(parseFloat(item.handleQty)>parseFloat(item.balance.qty)){ - str2 += `物料号【${detail.itemCode}】批次【${item.batch}】提交数量【${parseFloat(item.handleQty)}】不可以大于库存数量【${item.balance.qty}】` + str2 += `物料号【${detail.itemCode}】批次【${item.batch}】提交数量【${parseFloat(item.handleQty)}】不可以大于库存数量【${item.balance.qty}】\n` } } if(item.isRecommTaskItem){//扫描推荐任务中的任务时候才有这个提示 @@ -662,7 +663,7 @@ str3 = '推荐的箱码没扫,' } if(parseFloat(item.handleQty)!=parseFloat(item.qty)){ - str3 += `物料号【${detail.itemCode}】批次【${item.batch}】扫描数量【${parseFloat(item.handleQty)}】和任务数量【${item.qty}】不一致` + str3 += `物料号【${detail.itemCode}】批次【${item.batch}】扫描数量【${parseFloat(item.handleQty)}】和任务数量【${item.qty}】不一致\n` } } @@ -690,7 +691,7 @@ } console.log(str3) if(str3){ - str3 = str3+",是否提交" + str3 = str3+"是否提交" this.$refs.comMessage.showQuestionMessage1(str3, 'red', res => { if (res) { //防止重复点击