diff --git a/src/api/wms/finishedShipmentMain/index.ts b/src/api/wms/finishedShipmentMain/index.ts index b3b1666e9..33869e8c2 100644 --- a/src/api/wms/finishedShipmentMain/index.ts +++ b/src/api/wms/finishedShipmentMain/index.ts @@ -47,7 +47,12 @@ export const deleteFinishedShipmentMain = async (id: number) => { // 导出已发未结发货记录主 Excel export const exportFinishedShipmentMain = async (params) => { - return await request.download({ url: `/wms/finished-shipment-record-main/export-excel`, params }) + if (params.isSearch) { + const data = {...params} + return await request.downloadPost({ url: `/wms/finished-shipment-record-main/export-excel-senior`, data }) + }else{ + return await request.download({ url: `/wms/finished-shipment-record-main/export-excel`, params }) + } } // 下载用户导入模板