|
|
@ -84,7 +84,7 @@ export const exportStockupMainJob = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.post({ url: '/wms/stockup-main-job/export-excel-senior', data }) |
|
|
|
return await request.downloadPost({ url: '/wms/stockup-main-job/export-excel-senior', data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/stockup-main-job/export-excel`, params }) |
|
|
|
} |
|
|
@ -113,4 +113,4 @@ export const closeStockupMainJob = async (id) => { |
|
|
|
// 执行发货任务主
|
|
|
|
export const executeStockupMainJob = async (data: StockupMainJobVO) => { |
|
|
|
return await request.put({ url: `/wms/stockup-main-job/execute`, data }) |
|
|
|
} |
|
|
|
} |
|
|
|