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.

75 lines
1.9 KiB

/** 业务数据路由 */
2 years ago
//import Layout from '@/layout/firstLayout'
import Layout from '@/layout'
const businessdataRouter = {
path: '/bomdatabase',
component: Layout,
redirect: 'bomdatabase',
name: 'BomdataBase',
meta: {
//requiresAuth: true,
title: '数据输入',
index: 0,
type: 'crm',
icon: '输入',
keepAlive: false,
},
children: [
{
path: '/bomdatabase',
component: () => import('@/views/ux/basedata/bomdatabase/index'),
name: 'Bomdatabase',//命名路由
meta: {
title: '产品结构',
roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色)
icon: '产品'
}
2 years ago
},
{
path: '/inventoryDetail',
component: () => import('@/views/ux/basedata/inventoryDetail/index'),
name: 'inventoryDetail',
meta: {
title: '库存明细',
roles: ['SettleAccount.InventoryDetails'],
icon: '库存'
}
},
{
path: '/estimatedSum',
component: () => import('@/views/ux/basedata/estimatedSum/index'),
name: 'estimatedSum',
meta: {
title: '应付暂估汇总',
roles: ['SettleAccount.EstimatedSums'],
icon: '应付暂估汇总'
}
},
{
path: '/estimatedInventoryDetail',
component: () => import('@/views/ux/basedata/estimatedInventoryDetail/index'),
name: 'estimatedInventoryDetail',
meta: {
title: '应付暂估收货明细',
roles: ['SettleAccount.EstimatedInventoryDetails'],
icon: '应付暂估收货明细'
}
},
{
path: '/secondaryPriceRatio',
component: () => import('@/views/ux/basedata/secondaryPriceRatio/index'),
name: 'secondaryPriceRatio',
meta: {
title: '产品结算价格',
roles: ['SettleAccount.SecondaryPriceRatios'],
icon: '结算'
}
}
]
2 years ago
}
export default businessdataRouter