|
|
@ -72,7 +72,12 @@ export const witPurchaseMain = async (id: number) => { |
|
|
|
} |
|
|
|
// 导出采购订单主 Excel
|
|
|
|
export const exportPurchaseMain = async (params) => { |
|
|
|
return await request.download({ url: `/wms/purchase-main/export-excel`, params }) |
|
|
|
if (params.isSearch) { |
|
|
|
const data = {...params} |
|
|
|
return await request.downloadPost({ url: `/wms/purchase-main/export-excel-senior`, data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/purchase-main/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|