|
|
|
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: '/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: '/scmmaterial',
|
|
|
|
component: Layout,
|
|
|
|
redirect: '/scmmaterial/index',
|
|
|
|
meta: {
|
|
|
|
title: '物料管理'
|
|
|
|
},
|
|
|
|
children: [{
|
|
|
|
path: '/scmmaterial/index',
|
|
|
|
component: () => import('@/views/anruiscm/scmmaterial/scmmaterial.vue'),
|
|
|
|
name: 'ScmMaterialIndex',
|
|
|
|
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: '/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: '/hegezhengtaizhang',
|
|
|
|
component: Layout,
|
|
|
|
redirect: '/hegezheng/hegezhengtaizhang',
|
|
|
|
meta: {
|
|
|
|
title: '合格证台账'
|
|
|
|
},
|
|
|
|
children: [{
|
|
|
|
path: '/hegezheng/hegezhengtaizhang',
|
|
|
|
component: () => import('@/views/cheliang/hegezhengtaizhang/hegezhengtaizhang.vue'),
|
|
|
|
name: 'hegezhengtaizhang',
|
|
|
|
meta: { title: '合格证台账' }
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
|
|
|
|
// 采购订单管理
|
|
|
|
{
|
|
|
|
path: '/caigoudingdan',
|
|
|
|
component: Layout,
|
|
|
|
redirect: '/caigoudingdan/index',
|
|
|
|
meta: {
|
|
|
|
title: '采购订单管理'
|
|
|
|
},
|
|
|
|
children: [{
|
|
|
|
path: '/caigoudingdan/index',
|
|
|
|
component: () => import('@/views/cheliang/cheliangcaigou/cheliangcaigou.vue'),
|
|
|
|
name: 'cheliangcaigou',
|
|
|
|
meta: { title: '采购订单管理' }
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
path: '/guache',
|
|
|
|
component: Layout,
|
|
|
|
redirect: '/guache',
|
|
|
|
meta: {
|
|
|
|
title: '挂车信息管理'
|
|
|
|
},
|
|
|
|
children: [{
|
|
|
|
path: '/guache/guacheguanli',
|
|
|
|
component: () => import('@/views/guache/guacheguanli/guacheguanli.vue'),
|
|
|
|
name: 'GuaCheJianSuoGuanLi',
|
|
|
|
meta: { title: '挂车管理' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/guache/guachejiansuo',
|
|
|
|
component: () => import('@/views/guache/guachejiansuo/guachejiansuoguanli.vue'),
|
|
|
|
name: 'guachejiansuoguanli',
|
|
|
|
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/changyongpeizhi',
|
|
|
|
component: () =>
|
|
|
|
import('@/views/cheliang/chexingpeizhi/changyongpeizhi.vue'),
|
|
|
|
name: 'chexingpeizhi',
|
|
|
|
meta: {
|
|
|
|
title: '常用配置管理'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// 车辆台账
|
|
|
|
{
|
|
|
|
path: '/cheliang/cheliangtaizhang',
|
|
|
|
component: () =>
|
|
|
|
import('@/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue'),
|
|
|
|
name: 'cheliangtaizhang',
|
|
|
|
meta: {
|
|
|
|
title: '车辆台账'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
// 车辆信息
|
|
|
|
{
|
|
|
|
path: '/cheliang/cheliangtaizhangInfo',
|
|
|
|
component: () =>
|
|
|
|
import('@/views/cheliang/cheliangtaizhang/cheliangtaizhangInfo.vue'),
|
|
|
|
name: 'CheliangtaizhangInfo',
|
|
|
|
meta: {
|
|
|
|
title: '车辆信息'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
// 采购退库
|
|
|
|
{
|
|
|
|
path: '/caigoutuiku',
|
|
|
|
component: Layout,
|
|
|
|
redirect: '/caigoutuiku/index',
|
|
|
|
meta: {
|
|
|
|
title: '采购退库'
|
|
|
|
},
|
|
|
|
children: [{
|
|
|
|
path: '/caigoutuiku/index',
|
|
|
|
component: () => import('@/views/supplychain/caigoutuiku/caigoutuiku.vue'),
|
|
|
|
name: 'caigoutuiku',
|
|
|
|
meta: { title: '采购退库' }
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/vehicle',
|
|
|
|
component: Layout,
|
|
|
|
redirect: '/vehicle/xianche',
|
|
|
|
meta: {
|
|
|
|
title: '车辆采购'
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: '/vehicle/cheliangpaichan',
|
|
|
|
component: () => import('@/views/supplychain/cheliangpaichan/cheliangpaichan.vue'),
|
|
|
|
name: 'cheliangpaichan',
|
|
|
|
meta: { title: '车辆排产管理' }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/supplychain',
|
|
|
|
component: Layout,
|
|
|
|
redirect: '/supplychain/changjiaxitong',
|
|
|
|
meta: {
|
|
|
|
title: '车辆采购'
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: '/supplychain/changjiaxitong',
|
|
|
|
component: () => import('@/views/supplychain/changjiaxitong/manufacturers.vue'),
|
|
|
|
name: 'changjiaxitongrenkuan',
|
|
|
|
meta: { title: '厂家系统认款' }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/baseoutsourcingapplication',
|
|
|
|
component: Layout,
|
|
|
|
// redirect: '/baseoutsourcingapplication/index',
|
|
|
|
meta: {
|
|
|
|
title: '车辆外采'
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: '/baseoutsourcingapplication/index',
|
|
|
|
component: () => import('@/views/baseoutsourcingapplication/baseoutsourcingapplication.vue'),
|
|
|
|
name: 'baseoutsourcingapplication',
|
|
|
|
meta: { title: '车辆外采' }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/examine',
|
|
|
|
component: Layout,
|
|
|
|
redirect: '/examine/chukushenhe',
|
|
|
|
meta: {
|
|
|
|
title: '出库审核'
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: '/examine/chukushenhe',
|
|
|
|
component: () => import('@/views/examinePage/chukushenhe/chukushenhe.vue'),
|
|
|
|
name: 'chukushenhe',
|
|
|
|
meta: { title: '出库审核' }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/kucunguanli',
|
|
|
|
component: Layout,
|
|
|
|
redirect: '/kucunguanli/tiaojiaguanli',
|
|
|
|
meta: {
|
|
|
|
title: '库存管理'
|
|
|
|
},
|
|
|
|
children: [{
|
|
|
|
path: '/kucunguanli/tiaojiaguanli',
|
|
|
|
component: () => import('@/views/kucunguanli/tiaojiaguanli/tiaojiashenqingguanli/priceguanli.vue'),
|
|
|
|
name: 'priceguanli',
|
|
|
|
meta: { title: '调价申请管理' }
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
// 入账管理
|
|
|
|
{
|
|
|
|
path: '/ruzhang',
|
|
|
|
component: Layout,
|
|
|
|
redirect: '/ruzhang/ruzhangguanli',
|
|
|
|
meta: {
|
|
|
|
title: '入账管理'
|
|
|
|
},
|
|
|
|
children: [{
|
|
|
|
path: '/ruzhang/ruzhangguanli',
|
|
|
|
component: () => import('@/views/ruzhang/ruzhangguanli/ruzhangguanli.vue'),
|
|
|
|
name: 'ruzhangguanli',
|
|
|
|
meta: { title: '入账管理' }
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
// 流程审批
|
|
|
|
// 入账管理编辑
|
|
|
|
{
|
|
|
|
path: '/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit',
|
|
|
|
component: () =>
|
|
|
|
import('@/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit.vue'),
|
|
|
|
name: 'ruzhangAdd'
|
|
|
|
},
|
|
|
|
// 入账管理详情
|
|
|
|
{
|
|
|
|
path: '/ruzhangguanliFlow/ruzhangguanli/ruzhangInfo',
|
|
|
|
component: () =>
|
|
|
|
import('@/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangInfo.vue'),
|
|
|
|
name: 'ruzhangInfo'
|
|
|
|
},
|
|
|
|
// 采购退库驳回到发起人办理编辑页面
|
|
|
|
{
|
|
|
|
path: '/caigoutuikuFlow/caigoutuikuEdit',
|
|
|
|
component: () =>
|
|
|
|
import('@/views/workFlow/caigoutuikuFlow/caigoutuikuEdit'),
|
|
|
|
name: 'caigoutuikuEdit'
|
|
|
|
},
|
|
|
|
// 采购退库详情页面
|
|
|
|
{
|
|
|
|
path: '/caigoutuikuFlow/caigoutuikuInfo',
|
|
|
|
component: () =>
|
|
|
|
import('@/views/workFlow/caigoutuikuFlow/caigoutuikuInfo'),
|
|
|
|
name: 'caigoutuikuInfo'
|
|
|
|
},
|
|
|
|
// 采购退库审批环节办理页面
|
|
|
|
{
|
|
|
|
path: '/caigoutuikuFlow/caigoutuiku',
|
|
|
|
component: () =>
|
|
|
|
import('@/views/workFlow/caigoutuikuFlow/caigoutuiku'),
|
|
|
|
name: 'caigoutuikuMain'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/chexingchaxun/modelinquire/modellibrary',
|
|
|
|
component: () => import('@/views/chexingchaxun/modelinquire/modellibrary'),
|
|
|
|
name: 'modellibrary'
|
|
|
|
},
|
|
|
|
// 流程审批
|
|
|
|
// 外采申请表驳回到发起人办理编辑页面
|
|
|
|
{
|
|
|
|
path: '/baseoutsouapplFlow/edit',
|
|
|
|
component: () =>
|
|
|
|
import('@/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationAdd'),
|
|
|
|
name: 'baseoutsouapplFlowEdit'
|
|
|
|
},
|
|
|
|
// 外采申请表详情页面
|
|
|
|
{
|
|
|
|
path: '/baseoutsouapplFlow/info',
|
|
|
|
component: () =>
|
|
|
|
import('@/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationInfo'),
|
|
|
|
name: 'baseoutsouapplFlowInfo'
|
|
|
|
},
|
|
|
|
// 外采申请表审批环节办理页面
|
|
|
|
{
|
|
|
|
path: '/baseoutsouapplFlow/handle',
|
|
|
|
component: () =>
|
|
|
|
import('@/views/baseoutsourcingapplication/workflow/baseoutsourcingapplication'),
|
|
|
|
name: 'baseoutsouapplFlowInfoHandle'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
export default codemenu
|