|
|
@ -90,10 +90,15 @@ export const abandonProductredressJobMain = async (id: number) => { |
|
|
|
|
|
|
|
// 导出制品回收任务主 Excel
|
|
|
|
export const exportProductredressJobMain = async (params) => { |
|
|
|
return await request.download({ url: `/wms/productredress-job-main/export-excel`, params }) |
|
|
|
if (params.isSearch){ |
|
|
|
const data = {...params} |
|
|
|
return await request.downloadPost({ url: `/wms/productredress-job-main/export-excel-senior`, data }) |
|
|
|
}else { |
|
|
|
return await request.download({ url: `/wms/productredress-job-main/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|
export const importTemplate = () => { |
|
|
|
return request.download({ url: '/wms/productredress-job-main/get-import-template' }) |
|
|
|
} |
|
|
|
} |
|
|
|