Compare commits

...

2 Commits

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

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

@ -71,18 +71,18 @@ export const exportProductionreturnRecordMain = async (params) => {
export const exportProductionreturnRecordMainStore = async (params) => { export const exportProductionreturnRecordMainStore = async (params) => {
if (params.isSearch){ if (params.isSearch){
const data = {...params} 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 { }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 // 导出隔离退料记录主 Excel -hold
export const exportProductionreturnRecordMainHold = async (params) => { export const exportProductionreturnRecordMainHold = async (params) => {
if (params.isSearch){ if (params.isSearch){
const data = {...params} 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 { }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 })
} }
} }
@ -100,4 +100,4 @@ export const receive = (id) => {
// 拒收隔离收货 // 拒收隔离收货
export const refuse = (id) => { export const refuse = (id) => {
return request.put({ url: '/wms/productionreturn-record-main/refuse?id=' + id }) return request.put({ url: '/wms/productionreturn-record-main/refuse?id=' + id })
} }

Loading…
Cancel
Save