|
@ -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 = () => { |
|
|