|
|
@ -64,12 +64,12 @@ export const deleteItembasic = async (id: number) => { |
|
|
|
} |
|
|
|
|
|
|
|
// 导出物料基本信息 Excel
|
|
|
|
export const exportItembasic = async (params) => { |
|
|
|
export const exportItembasic = async (params,headers) => { |
|
|
|
if (params.isSearch) { |
|
|
|
const data = {...params} |
|
|
|
return await request.downloadPost({ url: `/wms/itembasic/export-excel-senior`, data }) |
|
|
|
return await request.downloadPostHeaders({ url: `/wms/itembasic/export-excel-senior`, data,headers }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/itembasic/export-excel`, params }) |
|
|
|
return await request.downloadHeaders({ url: `/wms/itembasic/export-excel`, params,headers }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|