|
|
@ -60,6 +60,17 @@ export const deleteTransaction = async (id: number) => { |
|
|
|
return await request.delete({ url: `/wms/transaction/delete?id=` + id }) |
|
|
|
} |
|
|
|
|
|
|
|
// 导出库存事务 Excel
|
|
|
|
export const checkExportTransaction = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.post({ url: '/wms/transaction/export-excel-senior-checkCnt', data }) |
|
|
|
} else { |
|
|
|
return await request.get({ url: `/wms/transaction/export-excel-checkCnt`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 导出库存事务 Excel
|
|
|
|
export const exportTransaction = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|