From 13740c1cd259b627051d1500582ea463eda8bcd1 Mon Sep 17 00:00:00 2001 From: "YEJIAXING-PC\\lenovo" <591141169@qq.com> Date: Fri, 6 Dec 2024 10:48:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E6=89=93=E5=8D=B0=E6=A0=87=E7=AD=BE=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E7=9A=84=E9=83=BD=E6=98=AF=E5=88=B6=E9=80=A0=E4=BB=B6?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=EF=BC=88=E9=87=87=E8=B4=AD=E4=BB=B6=E5=BA=94?= =?UTF-8?q?=E6=89=93=E5=8D=B0=E9=87=87=E8=B4=AD=E4=BB=B6=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E4=B8=94=E5=A6=82=E6=9E=9C=E5=90=8C=E6=97=B6=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E4=BA=86=E5=88=B6=E9=80=A0=E4=BB=B6=E5=92=8C=E9=87=87=E8=B4=AD?= =?UTF-8?q?=E4=BB=B6=E8=A6=81=E5=88=86=E5=88=AB=E6=89=93=E5=8D=B0=EF=BC=89?= =?UTF-8?q?YT-1448?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/inventoryinitRecordDetail/index.ts | 5 +++++ .../inventoryinitial/inventoryinitRecordMain/index.vue | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/api/wms/inventoryinitRecordDetail/index.ts b/src/api/wms/inventoryinitRecordDetail/index.ts index fe2d27f22..ad5e93142 100644 --- a/src/api/wms/inventoryinitRecordDetail/index.ts +++ b/src/api/wms/inventoryinitRecordDetail/index.ts @@ -77,4 +77,9 @@ export const importTemplate = () => { // 批量打印 export const printLabelBatchByIdSelection = async (data: any) => { return await request.post({ url: `/wms/inventoryinit-record-main/printLabelBatchById` ,data}) +} + +// 批量打印 +export const printLabelBatchByIdSelectionForYT = async (data: any) => { + return await request.post({ url: `/wms/inventoryinit-record-main/printLabelBatchByIdForYT` ,data}) } \ No newline at end of file diff --git a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/index.vue b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/index.vue index 21de35179..c7bc2a687 100644 --- a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/index.vue +++ b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/index.vue @@ -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){