From 125e02fbb3eaf41834c0f67fa9f5f0ab56cfed9e Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Sat, 17 Aug 2024 14:28:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=BA=E9=99=B7:HL-5075=E9=80=80=E8=B4=A7?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/purchasereturnRequestMain/index.ts | 5 +++++ .../purchasereturn/purchasereturnRequestMainNew/index.vue | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/api/wms/purchasereturnRequestMain/index.ts b/src/api/wms/purchasereturnRequestMain/index.ts index 6ec472016..880ce56a3 100644 --- a/src/api/wms/purchasereturnRequestMain/index.ts +++ b/src/api/wms/purchasereturnRequestMain/index.ts @@ -101,6 +101,11 @@ export const importTemplateSpare = () => { return request.download({ url: '/wms/purchasereturn-request-main/get-import-template-spare' }) } +// 下载用户导入模板(新) +export const importTemplateNew = () => { + return request.download({ url: '/wms/purchasereturn-request-main/get-import-template-new' }) +} + // 关闭采购退货申请主 Excel export const closePurchasereturnRequestMain = async (id) => { return await request.put({ url: `/wms/purchasereturn-request-main/close?id=` + id }) diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue index d065fb8d6..749c144f9 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue @@ -1057,6 +1057,6 @@ const showLabelSuccess = async (formField, searchField, val, formRef, type, row) /** 初始化 **/ onMounted(async () => { getList() - importTemplateData.templateUrl = await PurchasereturnRequestMainApi.importTemplate() + importTemplateData.templateUrl = await PurchasereturnRequestMainApi.importTemplateNew() })