Browse Source

HL-5424 制品回收 导出问题

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

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

@ -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' })
}
}

Loading…
Cancel
Save