|
|
@ -62,7 +62,13 @@ export const deleteTransaction = async (id: number) => { |
|
|
|
|
|
|
|
// 导出库存事务 Excel
|
|
|
|
export const exportTransaction = async (params) => { |
|
|
|
return await request.download({ url: `/wms/transaction/export-excel`, params }) |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.post({ url: '/wms/transaction/export-excel-senior', data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/transaction/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|