refactor: extract stocktake and adjustment routes into a standalone top-level menu category
This commit is contained in:
@ -92,20 +92,28 @@ const routes: Array<RouteRecordRaw> = [
|
||||
name: 'InventorySummary',
|
||||
component: () => import('@/views/stock/inbound/inbound_summary.vue'),
|
||||
meta: { title: '入库记录' }
|
||||
}
|
||||
]
|
||||
},
|
||||
// ★ [新增] 库存盘点页面 (查库/消除)
|
||||
|
||||
// 4.1 盘点管理 (独立顶级菜单)
|
||||
{
|
||||
path: 'stocktake',
|
||||
path: '/stocktake',
|
||||
component: Layout,
|
||||
redirect: '/stocktake/operation',
|
||||
meta: { title: '盘点管理', icon: 'DataBoard' },
|
||||
children: [
|
||||
{
|
||||
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: '盈亏调整' }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user