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