diff --git a/src/api/wms/transferlog/index.ts b/src/api/wms/transferlog/index.ts index 43d8cbe43..f24fc1e3b 100644 --- a/src/api/wms/transferlog/index.ts +++ b/src/api/wms/transferlog/index.ts @@ -71,7 +71,13 @@ export const deleteTransferlog = async (id: number) => { // 导出库存转移日志 Excel export const exportTransferlog = async (params) => { - return await request.download({ url: `/wms/transferlog/export-excel`, params }) + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/transferlog/export-excel-senior', data }) + } else { + return await request.download({ url: `/wms/transferlog/export-excel`, params }) + } } // 下载用户导入模板