Browse Source

采购订单筛选导出

hella_online_20240829
wangyufei 3 months ago
parent
commit
5fb95836e4
  1. 5
      src/api/wms/purchaseMain/index.ts

5
src/api/wms/purchaseMain/index.ts

@ -72,8 +72,13 @@ export const witPurchaseMain = async (id: number) => {
} }
// 导出采购订单主 Excel // 导出采购订单主 Excel
export const exportPurchaseMain = async (params) => { export const exportPurchaseMain = async (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 }) return await request.download({ url: `/wms/purchase-main/export-excel`, params })
} }
}
// 下载用户导入模板 // 下载用户导入模板
export const importTemplate = () => { export const importTemplate = () => {

Loading…
Cancel
Save