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