import Layout from '@/layout' const codemenu = [ { path: '/scminbound', component: Layout, redirect: '/scminbound/index', meta: { title: '销售入库单' }, children: [{ path: '/scminbound/index', component: () => import('@/views/anruiscm/scminbound/scminbound.vue'), name: 'ScmInboundIndex', meta: { title: '销售入库单' } }] }, { path: '/scmmaterial', component: Layout, redirect: '/scmmaterial/index', meta: { title: '物料信息' }, children: [{ path: '/scmmaterial/index', component: () => import('@/views/anruiscm/scmmaterial/scmmaterial.vue'), name: 'ScmMaterialIndex', meta: { title: '物料信息' } }] }, { path: '/shangzhuang', component: Layout, redirect: '/shangzhuang', meta: { title: '上装信息管理' }, children: [{ path: '/shangzhuang/shangzhuangguanli', component: () => import('@/views/shangzhuang/shangzhuangguanli/shangzhuangguanli.vue'), name: 'ShangZhuangGuanLi', meta: { title: '上装管理' } }, { path: '/shangzhuang/shangzhuangjiansuo', component: () => import('@/views/shangzhuang/shangzhuangjiansuo/shangzhuangjiansuoguanli.vue'), name: 'ShangZhuangJianSuoGuanLi', meta: { title: '上装管理' } }] }, { path: '/guache', component: Layout, redirect: '/guache', meta: { title: '挂车信息管理' }, children: [{ path: '/guache/guacheguanli', component: () => import('@/views/guache/guacheguanli/guacheguanli.vue'), name: 'ShangZhuangGuanLi', meta: { title: '挂车管理' } }, { path: '/guache/guachejiansuo', component: () => import('@/views/guache/guachejiansuo/guachejiansuoguanli.vue'), name: 'GuaCheJianSuoGuanLi', meta: { title: '挂车管理' } } ] }, { path: '/scmotherinbound', component: Layout, redirect: '/scmotherinbound/index', meta: { title: '其他入库单' }, children: [{ path: '/scmotherinbound/index', component: () => import('@/views/anruiscm/scmotherinbound/scmotherinbound.vue'), name: 'ScmOtherInboundIndex', meta: { title: '其他入库单' } }] }, { path: '/scmotheroutbound', component: Layout, redirect: '/scmotheroutbound/index', meta: { title: '其他出库单' }, children: [{ path: '/scmotheroutbound/index', component: () => import('@/views/anruiscm/scmotheroutbound/scmotheroutbound.vue'), name: 'ScmOtherOutboundIndex', meta: { title: '其他出库单' } }] }, { path: '/scmoutbound', component: Layout, redirect: '/scmoutbound/index', meta: { title: '销售出库单' }, children: [{ path: '/scmoutbound/index', component: () => import('@/views/anruiscm/scmoutbound/scmoutbound.vue'), name: 'ScmOutboundIndex', meta: { title: '销售出库单' } }] }, { path: '/scmrealtimeinventory', component: Layout, redirect: '/scmrealtimeinventory/index', meta: { title: '即时库存表' }, children: [{ path: '/scmrealtimeinventory/index', component: () => import('@/views/anruiscm/scmrealtimeinventory/scmrealtimeinventory.vue'), name: 'ScmRealTimeInventoryIndex', meta: { title: '即时库存表' } }] }, { path: '/scmrejected', component: Layout, redirect: '/scmrejected/index', meta: { title: '采购退料单' }, children: [{ path: '/scmrejected/index', component: () => import('@/views/anruiscm/scmrejected/scmrejected.vue'), name: 'ScmRejectedIndex', meta: { title: '采购退料单' } }] }, { path: '/scmreturn', component: Layout, redirect: '/scmreturn/index', meta: { title: '销售退货单' }, children: [{ path: '/scmreturn/index', component: () => import('@/views/anruiscm/scmreturn/scmreturn.vue'), name: 'ScmReturnIndex', meta: { title: '销售退货单' } }] }, // 车辆管理 { path: '/cheliang', component: Layout, redirect: '/cheliang', meta: { title: '车辆管理' }, children: [ { path: '/cheliang/chexing', component: () => import('@/views/cheliang/chexing/chexing.vue'), name: 'chexing', meta: { title: '车型管理' } }, { path: '/cheliang/jianshupeizhi', component: () => import('@/views/cheliang/chexingpeizhi/jianshupeizhi.vue'), name: 'chexingpeizhi', meta: { title: '简述配置管理' } }, // 车辆台账 { path: '/cheliang/cheliangtaizhang', component: () => import('@/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue'), name: 'cheliangtaizhang', meta: { title: '车辆台账' } }, { path: '/cheliang/hegezhengtaizhang', component: () => import('@/views/cheliang/hegezhengtaizhang/hegezhengtaizhang.vue'), name: 'hegezhengtaizhang', meta: { title: '合格证台账' } }, // 车辆信息 { path: '/cheliang/cheliangtaizhangInfo', component: () => import('@/views/cheliang/cheliangtaizhang/cheliangtaizhangInfo.vue'), name: 'CheliangtaizhangInfo', meta: { title: '车辆信息' } } ] }, // 仓库 { path: '/scmwarehouse', component: Layout, redirect: '/scmwarehouse/index', meta: { title: '仓库' }, children: [{ path: '/scmwarehouse/index', component: () => import('@/views/anruiscm/scmwarehouse/scmwarehouse.vue'), name: 'ScmWarehouseIndex', meta: { title: '仓库' } }] }, { path: '/vehicle', component: Layout, redirect: '/vehicle/xianche', meta: { title: '车辆采购' }, children: [ { path: '/vehicle/cheliangpaichan', component: () => import('@/views/supplychain/vehicle/cheliangpaichan/cheliangpaichan.vue'), name: 'cheliangpaichan', meta: { title: '车辆排产管理' } } ] } ] export default codemenu