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.

77 lines
2.0 KiB

3 years ago
/** 车轮数据比对路由 */
import Layout from '@/layout'
const basedataRouter = {
path: '/cpat/base',
3 years ago
component: Layout,
redirect: 'basedata',
name: '基础数据维护',
//hidden: true,
meta: {
//requiresAuth: true,
title: '基础数据维护',
index: 0,
type: 'crm',
icon: '基础数据',
keepAlive: false,
},
children: [
{
path: 'date-control',
3 years ago
component: () => import('@/views/ux/basedata/centralizedControl/index'),
name: 'CentralizedControl',//命名路由
meta: {
title: '期间设置',
roles: ['SettleAccount.CentralizedControls'],
icon: '期间'
}
},
{
path: 'material',
3 years ago
component: () => import('@/views/ux/basedata/material/index'),
name: 'material',//命名路由
meta: { title: '物料主数据', roles: ['SettleAccount.Materials'], icon: '物料' }
},
{
path: 'code-setting',
3 years ago
component: () => import('@/views/ux/basedata/codeSetting/index'),
name: 'codeSetting',//命名路由
meta: { title: '通用代码设置', roles: ['SettleAccount.CodeSettings'], icon: '通用' }
},
3 years ago
3 years ago
{
path: 'priceList',
component: () => import('@/views/ux/basedata/priceList/index'),
name: 'PriceList',//命名路由
meta: {
title: '标准价格单',
roles: ['SettleAccount.PriceLists'],
icon: '结算'
}
},
3 years ago
// {
// 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: '客户零件'
// }
// }
3 years ago
]
}
export default basedataRouter