/*
 * 项目经理-采购计划 - 采购计划编制
 * */
export const purPlanning = [
  // 采购计划编制
  {
    path: 'procurementPlanEntryList',
    name: 'procurementPlanEntryList',
    meta: { path: 'procurementPlanEntryList' },
    component: () =>
      import(
        '@/views/procurement/procurementPlan/purPlanning/purPlanning-list.vue'
      )
  },
  // 录入采购计划（新增）
  {
    path: 'purPlanningAdd',
    name: 'purPlanningAdd',
    meta: { path: 'procurementPlanEntryList' },
    component: () =>
      import(
        '@/views/procurement/procurementPlan/purPlanning/addLineItem/purPlanning-add.vue'
      )
  },
  // 采购计划编辑-查看
  {
    path: 'purPlanningDetail',
    name: 'purPlanningDetail',
    meta: { path: 'procurementPlanEntryList' },
    component: () =>
      import(
        '@/views/procurement/procurementPlan/purPlanning/purPlanning-detail.vue'
      )
  },
  // 采购需求编制
  {
    path: 'procurementDemandList',
    name: 'procurementDemandList',
    meta: { path: 'procurementDemandList' },
    component: () => import('@/views/procurement/procurementPlan/purPlanning/procurementDemand-list.vue')
  }
]
export const purPlanEntryFlow = [
  // 采购计划编制驳回编辑工作流
  {
    path: 'purPlanEntryAddFlow',
    meta: {
      backType: '01'
    },
    component: () =>
      import(
        '@/views/procurement/procurementPlan/purPlanning/addLineItem/purPlanning-add.vue'
      )
  },
  // 代办查看
  {
    path: 'purPlanRepordetDetail',
    component: () =>
      import(
        '@/views/procurement/procurementPlan/purPlanning/purPlanning-detail.vue'
      )
  }
]
export default [
  ...purPlanning, // 采购计划-采购编制
  ...purPlanEntryFlow // 采购计划编制驳回编辑工作流
]

