
/*
 * 采购员-采购方式维护
 * */
// 采购方式维护
export const purPlanMateriel = [
  // 物料采购方式维护列表
  {
    path: 'procurementPlanMaterielList',
    name: 'procurementPlanMaterielList',
    meta: { path: 'procurementPlanMaterielList' },
    component: () => import('@/views/procurement/procurementPlan/purPlanMateriel/purPlanMateriel-list.vue')
  }
]
// 物料采购方式维护工作流
export const purPlanMaterielFlow = [
  // 新增编辑物资采购方式维护
  {
    path: 'purPlanPackMaterielFlowDetail',
    component: () => import('@/views/procurement/procurementPlan/purPlanMateriel/purPlanWorkMateriel/purPlanAddFlow-detail.vue')
  },
  // 变更物资采购方式维护
  {
    path: 'purPlanPackMaterielUpFlowDetail',
    component: () => import('@/views/procurement/procurementPlan/purPlanMateriel/purPlanWorkMateriel/purPlanUpdateFlow-detail.vue')
  },
  // 物料维护编辑/新增工作流驳回
  {
    path: 'purPlanMaterielRejectFlow',
    meta: {
      materielType: '01' // 01 编辑
    },
    component: () => import('@/views/procurement/procurementPlan/purPlanMateriel/addMateriel/materiel-add.vue')
  },
  // 物料维护/变更工作流驳回
  {
    path: 'purPlanMaterielChangeFlow',
    meta: {
      materielType: '02' // 02 变更
    },
    component: () => import('@/views/procurement/procurementPlan/purPlanMateriel/addMateriel/materiel-add.vue')
  }
]
// /*
//  *  采购计划-物料库查询-路由表
//  * */
// export const procPlanMaterielStore = [
//   {
//     path: 'procPlanMaterielStore-list',
//     component: () =>
//       import(
//         '@/views/procurement/procurementPlan/procurementPlanMateriel/procPlanMaterielStore/procPlanMaterielStore-list'
//       )
//   }
// ]
export default [
  ...purPlanMateriel, // 采购方式维护
  ...purPlanMaterielFlow // 物料采购方式维护工作流
]
