25 lines
688 B
TypeScript
25 lines
688 B
TypeScript
import type { RouteRecordRaw } from 'vue-router'
|
|
|
|
export const warehouseResourceRoutes = [
|
|
{
|
|
path: 'master-data/locations',
|
|
name: 'locations',
|
|
component: () => import('./locations/pages/LocationsView.vue'),
|
|
meta: {
|
|
title: '库位管理',
|
|
description: '维护平台仓库库位和可用状态',
|
|
permission: 'platform:location:list',
|
|
},
|
|
},
|
|
{
|
|
path: 'master-data/pallets',
|
|
name: 'pallets',
|
|
component: () => import('./pallets/pages/PalletsView.vue'),
|
|
meta: {
|
|
title: '托盘管理',
|
|
description: '维护平台仓库托盘和可用容积',
|
|
permission: 'platform:pallet:list',
|
|
},
|
|
},
|
|
] satisfies RouteRecordRaw[]
|