|
|
@ -58,7 +58,7 @@ export const exportCountRequestMain = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return request.post({ url: '/wms/count-request-main/export-excel-senior', data }) |
|
|
|
return request.downloadPost({ url: '/wms/count-request-main/export-excel-senior', data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/count-request-main/export-excel`, params }) |
|
|
|
} |
|
|
|