diff --git a/src/pages/purchaseReceipt/job/receiptDetail.vue b/src/pages/purchaseReceipt/job/receiptDetail.vue index 686b3659..18f2b652 100644 --- a/src/pages/purchaseReceipt/job/receiptDetail.vue +++ b/src/pages/purchaseReceipt/job/receiptDetail.vue @@ -712,14 +712,12 @@ item.subList.forEach(cur=>{ if(cur.scaned){ if(parseFloat(cur.qty)>parseFloat(cur.handleQty)){ - str += `物料号【${item.itemCode}】批次【${cur.batch}】扫描数量【${cur.handleQty}】小于任务推荐数量【${cur.qty}】,\n请修改后再提交` + str += `物料号【${item.itemCode}】批次【${cur.batch}】扫描数量【${cur.handleQty}】小于任务推荐数量【${cur.qty}】,\n请修改后再提交` + str2 += `物料号【${item.itemCode}】批次【${cur.batch}】实际收货数量【${cur.handleQty}】小于收货任务的收货数量【${cur.qty}】,\n` } if(parseFloat(cur.qty) { + this.$refs.comMessage.showQuestionMessage1(str2+'对于未收货部分将创建一个新的收货任务', 'red', res => { if (res) { - if(str2){ - setTimeout(()=>{ - this.$refs.comMessage.showQuestionMessage1(str2 + "是否提交?", 'red', res => { - if (res) { - this.submitJob() - } - }); - },100) - }else{ - this.submitJob() - } - + this.submitJob() } }); } else {