Browse Source

HL-5424 制品回收 导出问题

hella_online_20240823
TengXF 3 months ago
parent
commit
c2f4e2b125
  1. 7
      src/api/wms/productredressJobMain/index.ts

7
src/api/wms/productredressJobMain/index.ts

@ -90,7 +90,12 @@ 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 })
}
}
// 下载用户导入模板

Loading…
Cancel
Save