|
|
@ -211,7 +211,7 @@ const handleSelectionPoint = async ()=>{ |
|
|
|
text: 'loading...', |
|
|
|
background: 'rgba(0, 0, 0, 0.7)' |
|
|
|
}) |
|
|
|
InventoryinitRecordDetailApi.printLabelBatchByIdSelection(rows.join(",")).then(res => { |
|
|
|
InventoryinitRecordDetailApi.printLabelBatchByIdSelectionForYT(rows.join(",")).then(res => { |
|
|
|
console.log('批量打印res',res); |
|
|
|
getLoading?.close() |
|
|
|
if(res.zzLabel){ |
|
|
@ -221,7 +221,7 @@ const handleSelectionPoint = async ()=>{ |
|
|
|
} |
|
|
|
if (res.cgLabel) { |
|
|
|
//采购标签 |
|
|
|
const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken()) |
|
|
|
const src = ref(BASE_URL + '/jmreport/view/1022349139354537984?token=' + getAccessToken()) |
|
|
|
window.open(src.value+'&asn_number='+res.cgLabel) |
|
|
|
} |
|
|
|
if(!res.cgLabel&&!res.zzLabel){ |
|
|
|