Compare commits

...

2 Commits

  1. 8
      src/api/wms/productionreturnRecordMain/index.ts

8
src/api/wms/productionreturnRecordMain/index.ts

@ -71,18 +71,18 @@ export const exportProductionreturnRecordMain = async (params) => {
export const exportProductionreturnRecordMainStore = async (params) => {
if (params.isSearch){
const data = {...params}
return await request.downloadPost({ url: `/wms/productionreturn-job-detail-store/export-excel-senior`, data })
return await request.downloadPost({ url: `/wms/productionreturn-record-detail-store/export-excel-senior`, data })
}else {
return await request.download({ url: `/wms/productionreturn-job-detail-store/export-excel`, params })
return await request.download({ url: `/wms/productionreturn-record-detail-store/export-excel`, params })
}
}
// 导出隔离退料记录主 Excel -hold
export const exportProductionreturnRecordMainHold = async (params) => {
if (params.isSearch){
const data = {...params}
return await request.downloadPost({ url: `/wms/productionreturn-job-detail-hold/export-excel-senior`, data })
return await request.downloadPost({ url: `/wms/productionreturn-record-detail-hold/export-excel-senior`, data })
}else {
return await request.download({ url: `/wms/productionreturn-job-detail-hold/export-excel`, params })
return await request.download({ url: `/wms/productionreturn-record-detail-hold/export-excel`, params })
}
}

Loading…
Cancel
Save