diff --git a/inventory-web/src/router/index.ts b/inventory-web/src/router/index.ts index 43a9f16..c234bf1 100644 --- a/inventory-web/src/router/index.ts +++ b/inventory-web/src/router/index.ts @@ -92,20 +92,28 @@ const routes: Array = [ name: 'InventorySummary', component: () => import('@/views/stock/inbound/inbound_summary.vue'), meta: { title: '入库记录' } - }, - // ★ [新增] 库存盘点页面 (查库/消除) + } + ] + }, + + // 4.1 盘点管理 (独立顶级菜单) + { + path: '/stocktake', + component: Layout, + redirect: '/stocktake/operation', + meta: { title: '盘点管理', icon: 'DataBoard' }, + children: [ { - path: 'stocktake', + path: 'operation', name: 'InventoryStocktake', component: () => import('@/views/stock/stocktake/index.vue'), - meta: { title: '库存盘点' } + meta: { title: '盲盘作业' } }, - // ★ [新增] 盘盈盘亏管理页面 { path: 'adjustment', name: 'StockAdjustment', component: () => import('@/views/stock/adjustment/index.vue'), - meta: { title: '盘盈盘亏管理' } + meta: { title: '盈亏调整' } } ] },