完成中转仓管理

This commit is contained in:
xuqiuyun
2025-12-08 15:24:43 +08:00
parent e968fcf52a
commit 620975c04d
981 changed files with 154245 additions and 83 deletions

View File

@@ -263,6 +263,80 @@ export const constantRoutes: Array<RouteRecordRaw> = [
],
},
// 销售概览路由
{
path: '/salesOverview',
component: LayoutIndex,
meta: {
title: '销售概览',
keepAlive: true,
requireAuth: true,
},
children: [
{
path: 'list', // ✅ 修复:使用相对路径
name: 'SalesOverviewList',
meta: {
title: '销售概览',
keepAlive: true,
requireAuth: true,
},
component: () => import('~/views/salesOverview/list.vue'),
},
],
},
// 中转仓管理路由
{
path: '/warehouse',
component: LayoutIndex,
meta: {
title: '中转仓管理',
keepAlive: true,
requireAuth: true,
},
children: [
{
path: 'warehouseList', // ✅ 修复:使用相对路径
name: 'WarehouseList',
meta: {
title: '中转仓管理',
keepAlive: true,
requireAuth: true,
},
component: () => import('~/views/warehouse/warehouse.vue'),
},
{
path: 'warehouseIn', // ✅ 修复:使用相对路径
name: 'WarehouseIn',
meta: {
title: '进仓管理',
keepAlive: true,
requireAuth: true,
},
component: () => import('~/views/warehouse/warehouseIn.vue'),
},
{
path: 'warehouseOut', // ✅ 修复:使用相对路径
name: 'WarehouseOut',
meta: {
title: '出仓管理',
keepAlive: true,
requireAuth: true,
},
component: () => import('~/views/warehouse/warehouseOut.vue'),
},
],
},
{
path: '/datav',
name: 'DataV',
meta: {
title: '数据大屏',
keepAlive: true,
requireAuth: false,
},
component: () => import('~/views/datav/ChinaMapParticle.vue'),
},
];
export const dynamicRoutes = [