Browse Source

容错 2024/8/6

hella_vue3
王志国 1 month ago
parent
commit
64b42e0e71
  1. 6
      src/pages/fg/receiptByPlan.vue

6
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 => {

Loading…
Cancel
Save