|
|
@ -57,7 +57,7 @@ export const exportCountadjustRecordMain = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return request.post({ url: '/wms/countadjust-record-main/export-excel-senior', data }) |
|
|
|
return request.downloadPost({ url: '/wms/countadjust-record-main/export-excel-senior', data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/countadjust-record-main/export-excel`, params }) |
|
|
|
} |
|
|
@ -66,4 +66,4 @@ export const exportCountadjustRecordMain = async (params) => { |
|
|
|
// 下载用户导入模板
|
|
|
|
export const importTemplate = () => { |
|
|
|
return request.download({ url: '/wms/countadjust-record-main/get-import-template' }) |
|
|
|
} |
|
|
|
} |
|
|
|