|
|
@ -46,7 +46,13 @@ export const deleteTransactiontype = async (id: number) => { |
|
|
|
|
|
|
|
// 导出事务类型 Excel
|
|
|
|
export const exportTransactiontype = async (params) => { |
|
|
|
return await request.download({ url: `/wms/transactiontype/export-excel`, params }) |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return request.downloadPost({ url: '/wms/transactiontype/export-excel-senior', data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/transactiontype/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|