Browse Source

生产计划筛选导出api修改

master
陈薪名 1 year ago
parent
commit
048466d408
  1. 5
      src/api/wms/productionMain/index.ts

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

@ -55,8 +55,13 @@ export const deleteProductionMain = async (id: number) => {
// 导出生产计划主 Excel // 导出生产计划主 Excel
export const exportProductionMain = async (params) => { export const exportProductionMain = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/production-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/production-main/export-excel`, params }) return await request.download({ url: `/wms/production-main/export-excel`, params })
} }
}
// 下载用户导入模板 // 下载用户导入模板
export const importTemplate = () => { export const importTemplate = () => {

Loading…
Cancel
Save