|
|
@ -56,7 +56,13 @@ export const deleteUnplannedreceiptRecordMain = async (id: number) => { |
|
|
|
|
|
|
|
// 导出计划外入库记录主 Excel
|
|
|
|
export const exportUnplannedreceiptRecordMain = async (params) => { |
|
|
|
return await request.download({ url: `/wms/unplannedreceipt-record-main/export-excel`, params }) |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.downloadPost({ url: '/wms/unplannedreceipt-record-main/export-excel-senior', data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/unplannedreceipt-record-main/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|