|
|
@ -56,7 +56,7 @@ export const exportInventorychangeRecordMain = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.post({ url: '/wms/inventorychange-record-main/export-excel-senior', data }) |
|
|
|
return await request.downloadPost({ url: '/wms/inventorychange-record-main/export-excel-senior', data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/inventorychange-record-main/export-excel`, params }) |
|
|
|
} |
|
|
@ -65,4 +65,4 @@ export const exportInventorychangeRecordMain = async (params) => { |
|
|
|
// 下载用户导入模板
|
|
|
|
export const importTemplate = () => { |
|
|
|
return request.download({ url: '/wms/inventorychange-record-main/get-import-template' }) |
|
|
|
} |
|
|
|
} |
|
|
|