diff --git a/src/pages/fg/receiptByPlan.vue b/src/pages/fg/receiptByPlan.vue index fff28f5b..abb35529 100644 --- a/src/pages/fg/receiptByPlan.vue +++ b/src/pages/fg/receiptByPlan.vue @@ -469,6 +469,8 @@ uni.navigateTo({ url: `/pages/pointProductReceipt/webview?url=${webUrl}&webData=${JSON.stringify(webData)}` }); + }).catch(error => { + _this.showErrorMessage(error) }) }, print(pointData){ @@ -486,6 +488,10 @@ pointData.forEach(item=>{ packingNumber.push(item.packageCode) }) + if(packingNumber.length==0){ + _this.showErrorMessage('包装号不能为空!') + return + } getBalanceToPackage({ packingNumber: packingNumber.join(',') }).then(res => {