|
|
@ -61,9 +61,15 @@ export const deleteLocation = async (id: number) => { |
|
|
|
|
|
|
|
// 导出库位 Excel
|
|
|
|
export const exportLocation = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
const data = {...params} |
|
|
|
return await request.downloadPost({ url: `/wms/location/export-excel-senior`, data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/location/export-excel`, params }) |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|
export const importTemplate = () => { |
|
|
|
return request.download({ url: '/wms/location/get-import-template' }) |
|
|
|