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