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) { //防止重复点击