From 54791e2eb078bc72b43b9a9d83011e632c12ad56 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Mon, 29 Apr 2024 08:06:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/package/index.ts | 5 +++++ .../supplierdeliver/supplierdeliverRequestMain/index.vue | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/api/wms/package/index.ts b/src/api/wms/package/index.ts index 7a11fd47f..c8bb65119 100644 --- a/src/api/wms/package/index.ts +++ b/src/api/wms/package/index.ts @@ -106,6 +106,11 @@ export const getLabel = async (id: number) => { return await request.get({ url: `/wms/package/getLabel?id=` + id }) } +// 打印标签获取包装列表 +export const getLabelDetailPage = async (moduleType:string,number: string,) => { + return await request.get({ url: `/wms/package/getLabelDetailPage?moduleName=` + moduleType+ `&recordNumber=`+number}) +} + // 根据库存余额获取包装信息进行打印标签 export const getBalanceToPackage = async (packingNumber: String) => { return await request.get({ url: `/wms/package/getBalanceToPackage?packingNumber=` + packingNumber}) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index 64c7573dd..ddd5f8b86 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -792,7 +792,7 @@ const searchTableRef = ref() const labelPrint = async (row) => { console.log("------------",row); tableObject.loading = true - const subTableDFata = await PackageApi.getLabel(row.masterId) + const subTableDFata = await PackageApi.getLabelDetailPage('supplier',row.number) tableObject.loading = false const tableObject1 = { // 当前页