|
|
@ -239,6 +239,7 @@ const handleExport = async () => { |
|
|
|
|
|
|
|
const BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL |
|
|
|
const src = ref(BASE_URL + '/jmreport/view/924811818898698240?token=' + getAccessToken()) |
|
|
|
const srcPoint = ref(BASE_URL + '/jmreport/view/940818992169918464?token=' + getAccessToken()) |
|
|
|
// 标签打印 |
|
|
|
const handlePoint = async (row) => { |
|
|
|
window.open(src.value+'&relateNumber='+row.id) |
|
|
@ -252,7 +253,7 @@ const handleSelectionPoint = async ()=>{ |
|
|
|
console.log('批量打印',rows.join(',')) |
|
|
|
await PackageApi.batchPrintingLable(rows.join(',')).then(res => { |
|
|
|
console.log(res) |
|
|
|
window.open(src.value+'&relateNumber='+res) |
|
|
|
window.open(srcPoint.value+'&relateNumber='+res) |
|
|
|
message.success('创建标签成功') |
|
|
|
}).catch(err => { |
|
|
|
console.log(err) |
|
|
|