diff --git a/src/api/wms/purchaseMainWms/index.ts b/src/api/wms/purchaseMainWms/index.ts index 31812e5e7..97ca9ed2d 100644 --- a/src/api/wms/purchaseMainWms/index.ts +++ b/src/api/wms/purchaseMainWms/index.ts @@ -76,7 +76,7 @@ export const exportPurchaseMain = async (params) => { const data = { ...params } return await request.downloadPost({ url: `/wms/purchase-main/export-excel-seniorWMS`, data }) } else { - return await request.download({ url: `/wms/purchase-main/excelWMS`, params }) + return await request.download({ url: `/wms/purchase-main/export-excelWMS`, params }) } }