feat: add BOM API and routing

Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
This commit is contained in:
dxc
2026-02-12 09:43:51 +08:00
parent 04dd6fb3fa
commit 5245ee2da3
2 changed files with 52 additions and 1 deletions

View File

@ -120,6 +120,22 @@ const routes: Array<RouteRecordRaw> = [
]
},
// 5. BOM 管理
{
path: '/bom',
component: Layout,
meta: { title: 'BOM管理', icon: 'Document' },
redirect: '/bom/manage',
children: [
{
path: 'manage',
name: 'BomManage',
component: () => import('@/views/bom/BomManage.vue'),
meta: { title: '配方管理' }
}
]
},
// 6. 业务操作
{
path: '/operation',
@ -214,4 +230,4 @@ router.beforeEach((to, from, next) => {
}
})
export default router
export default router