|
@ -60,7 +60,14 @@ export const deleteInventorymoveRecordMain = async (id: number) => { |
|
|
|
|
|
|
|
|
// 导出库存转移记录主 Excel
|
|
|
// 导出库存转移记录主 Excel
|
|
|
export const exportInventorymoveRecordMain = async (params) => { |
|
|
export const exportInventorymoveRecordMain = async (params) => { |
|
|
return await request.download({ url: `/wms/inventorymove-record-main/export-excel`, 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
|
|
|
// 导出合格转隔离记录主 Excel
|
|
|