|
|
@ -47,7 +47,12 @@ export const deleteBom = async (id: number) => { |
|
|
|
|
|
|
|
// 导出物料清单 Excel
|
|
|
|
export const exportBom = async (params) => { |
|
|
|
return await request.download({ url: `/wms/bom/export-excel`, params }) |
|
|
|
if (params.isSearch) { |
|
|
|
const data = {...params} |
|
|
|
return await request.downloadPost({ url: `/wms/bom/export-excel-senior`, data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/bom/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|