From 9c915533aa28e67cc07a1247669743c4fad7f89d Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Wed, 19 Jun 2024 19:03:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E7=A7=BB=E5=8A=A8=E5=AF=BC?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/inventorymoveRecordMain/index.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/api/wms/inventorymoveRecordMain/index.ts b/src/api/wms/inventorymoveRecordMain/index.ts index 59d1e8d38..885baae74 100644 --- a/src/api/wms/inventorymoveRecordMain/index.ts +++ b/src/api/wms/inventorymoveRecordMain/index.ts @@ -60,7 +60,14 @@ export const deleteInventorymoveRecordMain = async (id: number) => { // 导出库存转移记录主 Excel export const exportInventorymoveRecordMain = async (params) => { - return await request.download({ url: `/wms/inventorymove-record-main/export-excel`, params }) + params.businessType = 'Move' + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.downloadPost({ url: '/wms/inventorymove-record-main/export-excel-senior', data }) + } else { + return await request.download({ url: `/wms/inventorymove-record-main/export-excel`, params }) + } } // 导出合格转隔离记录主 Excel