From ca77e73f862b0abcc7757513425b34b681809772 Mon Sep 17 00:00:00 2001 From: chenfang Date: Sun, 18 Feb 2024 10:23:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=93=E5=BA=93=E9=BB=98=E8=AE=A4=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=89=8D=E7=AB=AF=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/itemwarehouse/index.ts | 7 ++++++- .../wms/basicDataManage/itemManage/packageunit/index.vue | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/api/wms/itemwarehouse/index.ts b/src/api/wms/itemwarehouse/index.ts index b1f3e17d1..85ea4ba9c 100644 --- a/src/api/wms/itemwarehouse/index.ts +++ b/src/api/wms/itemwarehouse/index.ts @@ -45,7 +45,12 @@ export const deleteItemwarehouse = async (id: number) => { // 导出物料仓库默认配置 Excel export const exportItemwarehouse = async (params) => { - return await request.download({ url: `/wms/itemwarehouse/export-excel`, params }) + if (params.isSearch) { + const data = {...params} + return await request.downloadPost({ url: `/wms/itemwarehouse/export-excel-senior`, data }) + } else { + return await request.download({ url: `/wms/itemwarehouse/export-excel`, params }) + } } // 下载用户导入模板 diff --git a/src/views/wms/basicDataManage/itemManage/packageunit/index.vue b/src/views/wms/basicDataManage/itemManage/packageunit/index.vue index 1a6fde523..ff1fc3745 100644 --- a/src/views/wms/basicDataManage/itemManage/packageunit/index.vue +++ b/src/views/wms/basicDataManage/itemManage/packageunit/index.vue @@ -219,7 +219,7 @@ const handleImport = () => { // 导入附件弹窗所需的参数 const importTemplateData = reactive({ templateUrl: '', - templateTitle: '物品包装规格信息 导入模版.xlsx' + templateTitle: '物品包装规格信息导入模版.xlsx' }) // 导入成功之后 const importSuccess = () => {