|
@ -46,8 +46,14 @@ export const deleteTransactiontype = async (id: number) => { |
|
|
|
|
|
|
|
|
// 导出事务类型 Excel
|
|
|
// 导出事务类型 Excel
|
|
|
export const exportTransactiontype = async (params) => { |
|
|
export const exportTransactiontype = async (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 }) |
|
|
return await request.download({ url: `/wms/transactiontype/export-excel`, params }) |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
// 下载用户导入模板
|
|
|
export const importTemplate = () => { |
|
|
export const importTemplate = () => { |
|
|