|
@ -47,8 +47,13 @@ export const deleteBom = async (id: number) => { |
|
|
|
|
|
|
|
|
// 导出物料清单 Excel
|
|
|
// 导出物料清单 Excel
|
|
|
export const exportBom = async (params) => { |
|
|
export const exportBom = async (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 }) |
|
|
return await request.download({ url: `/wms/bom/export-excel`, params }) |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
// 下载用户导入模板
|
|
|
export const importTemplate = () => { |
|
|
export const importTemplate = () => { |
|
|