You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
2.3 KiB

2 years ago
/** 车轮数据比对路由 */
import Layout from '@/layout'
const basedataRouter = {
path: '/cpat/base',
component: Layout,
redirect: 'basedata',
name: '基础数据维护',
//hidden: true,
meta: {
//requiresAuth: true,
title: '基础数据维护',
index: 0,
type: 'crm',
icon: '基础数据',
keepAlive: false,
},
children: [
{
path: 'date-control',
component: () => import('@/views/ux/basedata/centralizedControl/index'),
name: 'CentralizedControl',//命名路由
meta: {
title: '期间设置',
roles: ['SettleAccount.CentralizedControls'],
icon: '期间'
}
},
{
path: 'material',
component: () => import('@/views/ux/basedata/material/index'),
name: 'material',//命名路由
meta: { title: '物料主数据', roles: ['SettleAccount.Materials'], icon: '物料' }
},
{
path: 'code-setting',
component: () => import('@/views/ux/basedata/codeSetting/index'),
name: 'codeSetting',//命名路由
meta: { title: '通用代码设置', roles: ['SettleAccount.CodeSettings'], icon: '通用' }
},
{
path: 'part-settlement',
component: () => import('@/views/ux/basedata/partsSettlement/index'),
name: 'partsSettlement',//命名路由
meta: {
title: '总成与结算件关系',
roles: ['SettleAccount.MaterialRelationships'],
icon: '零件'
}
},
{
path: 'priceList',
component: () => import('@/views/ux/basedata/priceList/index'),
name: 'PriceList',//命名路由
meta: {
title: '标准价格单',
roles: ['SettleAccount.PriceLists'],
icon: '结算'
}
},
{
path: 'wms-kanban',
component: () => import('@/views/ux/vw/dataInput/wmsKanban'),
name: 'WMSVWKanBan',
meta: {
title: '大众看板发货明细',
roles: ['SettleAccount.Reports'],
icon: '供货'
}
},
{
path: 'wms-sparepart',
component: () => import('@/views/ux/vw/dataInput/wmsSparePart'),
name: 'WMSSparePart',//命名路由
meta: {
title: '大众备件发货明细',
roles: ['SettleAccount.Reports'],
icon: '客户零件'
}
}
]
}
export default basedataRouter