|
@ -73,10 +73,10 @@ export const witPurchaseMain = async (id: number) => { |
|
|
// 导出采购订单主 Excel
|
|
|
// 导出采购订单主 Excel
|
|
|
export const exportPurchaseMain = async (params) => { |
|
|
export const exportPurchaseMain = async (params) => { |
|
|
if (params.isSearch) { |
|
|
if (params.isSearch) { |
|
|
const data = {...params} |
|
|
const data = { ...params } |
|
|
return await request.downloadPost({ url: `/wms/purchase-main/export-excel-senior`, data }) |
|
|
return await request.downloadPost({ url: `/wms/purchase-main/export-excel-seniorWMS`, data }) |
|
|
} else { |
|
|
} else { |
|
|
return await request.download({ url: `/wms/purchase-main/export-excel`, params }) |
|
|
return await request.download({ url: `/wms/purchase-main/excelWMS`, params }) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|