盘库操作初设计

This commit is contained in:
dxc
2026-02-06 10:16:37 +08:00
parent c1ddb8093f
commit e027ebd4a9
15 changed files with 1227 additions and 30 deletions

View File

@ -46,7 +46,7 @@ const routes: Array<RouteRecordRaw> = [
{
path: '/inventory',
component: Layout,
meta: { title: '入库管理', icon: 'Shop' }, // 修改标题以区分出库
meta: { title: '入库管理', icon: 'Shop' },
redirect: '/inventory/buy',
children: [
{
@ -67,7 +67,7 @@ const routes: Array<RouteRecordRaw> = [
component: () => import('@/views/stock/inbound/product.vue'),
meta: { title: '成品' }
},
// ★ [新增] 入库记录整合
// [原有] 入库记录整合
{
path: 'summary',
name: 'InventorySummary',
@ -79,17 +79,31 @@ const routes: Array<RouteRecordRaw> = [
name: 'InventoryService',
component: () => import('@/views/stock/inbound/service.vue'),
meta: { title: '服务权益' }
},
// ★ [新增] 库存盘点页面 (查库/消除)
{
path: 'stocktake',
name: 'InventoryStocktake',
component: () => import('@/views/stock/stocktake/index.vue'),
meta: { title: '库存盘点' }
}
]
},
// 5. ★ [新增] 出库管理
// 5. 出库管理
{
path: '/outbound', // 注意:这里使用了和你提供的文件路径一致的顶级路径
path: '/outbound',
component: Layout,
meta: { title: '出库管理', icon: 'Van' }, // 推荐使用 Van 图标
meta: { title: '出库管理', icon: 'Van' },
redirect: '/outbound/index',
children: [
// ★ [新增] 出库选单打印页面
{
path: 'selection',
name: 'OutboundSelection',
component: () => import('@/views/outbound/Selection.vue'),
meta: { title: '出库选单' }
},
{
path: 'create',
name: 'OutboundCreate',