|
|
@ -45,7 +45,12 @@ export const deleteItemwarehouse = async (id: number) => { |
|
|
|
|
|
|
|
// 导出物料仓库默认配置 Excel
|
|
|
|
export const exportItemwarehouse = async (params) => { |
|
|
|
return await request.download({ url: `/wms/itemwarehouse/export-excel`, params }) |
|
|
|
if (params.isSearch) { |
|
|
|
const data = {...params} |
|
|
|
return await request.downloadPost({ url: `/wms/itemwarehouse/export-excel-senior`, data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/itemwarehouse/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|