Browse Source

要货计划 导出

master
陈薪名 10 months ago
parent
commit
34de625c2d
  1. 5
      src/api/wms/purchasePlanMain/index.ts

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

@ -78,8 +78,13 @@ export const rejPurchasePlanMain = async (id: number) => {
// 导出要货计划主 Excel // 导出要货计划主 Excel
export const exportPurchasePlanMain = async (params) => { export const exportPurchasePlanMain = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/purchase-plan-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/purchase-plan-main/export-excel`, params }) return await request.download({ url: `/wms/purchase-plan-main/export-excel`, params })
} }
}
// 下载用户导入模板 // 下载用户导入模板
export const importTemplate = () => { export const importTemplate = () => {

Loading…
Cancel
Save