|
@ -43,8 +43,13 @@ export const deleteProductionlineitem = async (id: number) => { |
|
|
|
|
|
|
|
|
// 导出生产线物料关系 Excel
|
|
|
// 导出生产线物料关系 Excel
|
|
|
export const exportProductionlineitem = async (params) => { |
|
|
export const exportProductionlineitem = async (params) => { |
|
|
|
|
|
if (params.isSearch) { |
|
|
|
|
|
const data = {...params} |
|
|
|
|
|
return await request.downloadPost({ url: `/wms/productionlineitem/export-excel-senior`, data }) |
|
|
|
|
|
} else { |
|
|
return await request.download({ url: `/wms/productionlineitem/export-excel`, params }) |
|
|
return await request.download({ url: `/wms/productionlineitem/export-excel`, params }) |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
// 下载用户导入模板
|
|
|
export const importTemplate = () => { |
|
|
export const importTemplate = () => { |
|
|