/*
 * 项目经理-采购计划
 * */
import layout from '@/components/layout/layout'
// 采购计划
export const procurementPlan = [
  // 采购计划寻源
  {
    path: 'procurementPlanList',
    meta: { path: 'procurementPlanList' },
    component: () =>
      import(
        '@/views/procurement/procurementPlan/procurementPlanList/procurementPlan-list.vue'
      )
  },
  // 采购计划寻源查看详情
  {
    path: 'procurementPlanDetail',
    meta: { path: 'procurementPlanList' },
    component: () =>
      import(
        '@/views/procurement/procurementPlan/procurementPlanDetail/procurementPlan-detail.vue'
      )
  },
  // 采购计划编制
  {
    path: 'procurementEntryList',
    meta: { path: 'procurementEntryList' },
    component: () =>
      import(
        '@/views/procurement/procurementEntry/procurementEntryList/procurementEntry-list.vue'
      )
  },
  // 录入采购计划（新增）
  {
    path: 'procurementEntryAdd',
    meta: { path: 'procurementEntryList' },
    component: () =>
      import(
        '@/views/procurement/procurementEntry/procurementEntryAdd/procurementEntry-add.vue'
      )
  },
  // 采购计划明细
  {
    path: 'procurementDetailsList',
    meta: { path: 'procurementDetailsList' },
    component: () =>
      import(
        '@/views/procurement/procurementDetails/procurementDetailsList/procurementDetails-List.vue'
      )
  },
  // 采购计划明细查看
  {
    path: 'procurementDetailsDetail',
    meta: { path: 'procurementDetailsList' },
    component: () =>
      import(
        '@/views/procurement/procurementDetails/procurementDetailsDetail/procurementDetails-detail.vue'
      )
  }
]
export default [
  {
    path: '/procurementPlan', // /procurementPlan/procurementEntryList
    component: layout,
    children: [
      ...procurementPlan // 采购计划
    ]
  }
]

