Browse Source

事务类型导入导出修改

master_hella_20240701
zhaoxuebing 9 months ago
parent
commit
7857b2e298
  1. 8
      src/api/wms/transactiontype/index.ts

8
src/api/wms/transactiontype/index.ts

@ -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 })
}
}
// 下载用户导入模板

Loading…
Cancel
Save