Browse Source

库存事务修改

master_hella_20240701
zhaoxuebing 9 months ago
parent
commit
babf75eba9
  1. 8
      src/api/wms/transaction/index.ts

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

@ -62,7 +62,13 @@ export const deleteTransaction = async (id: number) => {
// 导出库存事务 Excel // 导出库存事务 Excel
export const exportTransaction = async (params) => { 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 })
}
} }
// 下载用户导入模板 // 下载用户导入模板

Loading…
Cancel
Save