From 64b42e0e71dacf60b383b90dcfc22c783fb3ffe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BF=97=E5=9B=BD?= <854933521@qq.com> Date: Mon, 28 Oct 2024 08:59:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=B9=E9=94=99=202024/8/6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/fg/receiptByPlan.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pages/fg/receiptByPlan.vue b/src/pages/fg/receiptByPlan.vue index 80572ae8..577823ae 100644 --- a/src/pages/fg/receiptByPlan.vue +++ b/src/pages/fg/receiptByPlan.vue @@ -405,6 +405,8 @@ const getH5BatchPrintingLable = (number)=> { uni.navigateTo({ url: `/pages/pointProductReceipt/webview?url=${webUrl}&webData=${JSON.stringify(webData)}` }); + }).catch(error => { + showErrorMessage(error) }) } const print = (pointData)=> { @@ -420,6 +422,10 @@ const print = (pointData)=> { pointData.forEach(item=>{ packingNumber.push(item.packageCode) }) + if(packingNumber.length==0){ + showErrorMessage('包装号不能为空!') + return + } getBalanceToPackage({ packingNumber: packingNumber.join(',') }).then(res => {