From 42aa779165da5d247bc5e7a4d24e42caab3cfebd Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Tue, 24 Dec 2024 18:20:41 +0800 Subject: [PATCH] =?UTF-8?q?YT-1799ASN=E6=94=B6=E8=B4=A7=E6=89=AB=E6=8F=8F?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E4=B8=BA0=EF=BC=8C=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E6=97=B6=E6=8F=90=E7=A4=BA=E8=AF=AD=E4=B8=8D=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/purchaseReceipt/job/purchaseReceiptAsn.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/pages/purchaseReceipt/job/purchaseReceiptAsn.vue b/src/pages/purchaseReceipt/job/purchaseReceiptAsn.vue index e0d5606c..e435fb11 100644 --- a/src/pages/purchaseReceipt/job/purchaseReceiptAsn.vue +++ b/src/pages/purchaseReceipt/job/purchaseReceiptAsn.vue @@ -464,10 +464,10 @@ } } if(item.handleQty>0 && item.handleQty < item.qty){ - str += `ASN单号${item.asnNumber}】物料代码【${item.itemCode}】实际收货数量【${item.handleQty}】小于任务数量【${item.qty}】,\n` + str += `ASN单号【${item.asnNumber}】物料代码【${item.itemCode}】实际收货数量【${item.handleQty}】小于任务数量【${item.qty}】,\n` } if(!item.handleQty){ - str1 += `ASN单号${item.asnNumber}】物料代码【${item.itemCode}】实际收货数量为0,\n` + str1 += `ASN单号【${item.asnNumber}】物料代码【${item.itemCode}】实际收货数量为0,\n` } }) this.params.forEach(item=>{ @@ -479,7 +479,13 @@ }) //提交 if(str || str1){ - this.$refs.comMessage.showQuestionMessage1(str + '对于未收货部分将创建一个新的收货任务\n'+ str1 +'是否确认提交', 'red', res => { + if(str){ + str = str + '对于未收货部分将创建一个新的收货任务。\n' + } + if(str1){ + str1 = str1 +'是否确认提交?' + } + this.$refs.comMessage.showQuestionMessage1(str + str1, 'red', res => { if (res) { this.submitJob() }