|
@ -55,7 +55,12 @@ export const deleteProductionMain = async (id: number) => { |
|
|
|
|
|
|
|
|
// 导出生产计划主 Excel
|
|
|
// 导出生产计划主 Excel
|
|
|
export const exportProductionMain = async (params) => { |
|
|
export const exportProductionMain = async (params) => { |
|
|
return await request.download({ url: `/wms/production-main/export-excel`, params }) |
|
|
if (params.isSearch) { |
|
|
|
|
|
const data = {...params} |
|
|
|
|
|
return await request.downloadPost({ url: `/wms/production-main/export-excel-senior`, data }) |
|
|
|
|
|
} else { |
|
|
|
|
|
return await request.download({ url: `/wms/production-main/export-excel`, params }) |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
// 下载用户导入模板
|
|
|