Browse Source

库存移动导出

master_hella_20240701
zhaoyiran 5 months ago
parent
commit
9c915533aa
  1. 7
      src/api/wms/inventorymoveRecordMain/index.ts

7
src/api/wms/inventorymoveRecordMain/index.ts

@ -60,8 +60,15 @@ export const deleteInventorymoveRecordMain = async (id: number) => {
// 导出库存转移记录主 Excel
export const exportInventorymoveRecordMain = async (params) => {
params.businessType = 'Move'
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.downloadPost({ url: '/wms/inventorymove-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/inventorymove-record-main/export-excel`, params })
}
}
// 导出合格转隔离记录主 Excel
export const exportOkToHoldRecordMain = async (params) => {

Loading…
Cancel
Save