feat(web-admin): 补齐出入库单页面入口与公共路由

登记库存管理入库/出库菜单路由,以及免登录现场链接静态路由与薄包装页。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-07-19 16:47:32 +08:00
1 parent 3f23feba59
commit 2474449448
6 files changed
+62

No files matched your search

+22
View File
@@ -33,6 +33,28 @@ export const plRoutes: AppRouteRecord[] = [
}
]
},
{
id: 'PL_GROUP_STOCK',
name: 'PlStockModule',
path: 'stock-module',
meta: { title: '库存管理', keepAlive: false },
children: [
{
id: 'PL_INBOUND',
name: 'PlInbound',
path: 'inbound',
component: '/pl/inbound/index',
meta: { title: '入库单', keepAlive: true, menuCode: 'pl:inbound:list' }
},
{
id: 'PL_OUTBOUND',
name: 'PlOutbound',
path: 'outbound',
component: '/pl/outbound/index',
meta: { title: '出库单', keepAlive: true, menuCode: 'pl:outbound:list' }
}
]
},
{
id: 'PL_GROUP_CERT',
name: 'PlCertUpload',
@@ -69,6 +69,18 @@ export const staticRoutes: AppRouteRecordRaw[] = [
component: () => import('@views/public/pl/site/index.vue'),
meta: { title: '运输现场', isHideTab: true, isPublicMobile: true }
},
{
path: '/public/pl/inbound/:token',
name: 'PublicPlInboundOrder',
component: () => import('@views/public/pl/inbound/index.vue'),
meta: { title: '入库单', isHideTab: true, isPublicMobile: true }
},
{
path: '/public/pl/outbound/:token',
name: 'PublicPlOutboundOrder',
component: () => import('@views/public/pl/outbound/index.vue'),
meta: { title: '出库单', isHideTab: true, isPublicMobile: true }
},
{
path: '/public/db/inventory/:token',
name: 'PublicDbInventorySite',
+7
View File
@@ -0,0 +1,7 @@
<template>
<IoOrderListPage kind="inbound" title="入库单列表" />
</template>
<script setup lang="ts">
import IoOrderListPage from '../_shared/IoOrderListPage.vue'
</script>
@@ -0,0 +1,7 @@
<template>
<IoOrderListPage kind="outbound" title="出库单列表" />
</template>
<script setup lang="ts">
import IoOrderListPage from '../_shared/IoOrderListPage.vue'
</script>
@@ -0,0 +1,7 @@
<template>
<PublicIoOrderPage kind="inbound" />
</template>
<script setup lang="ts">
import PublicIoOrderPage from '../_shared/PublicIoOrderPage.vue'
</script>
@@ -0,0 +1,7 @@
<template>
<PublicIoOrderPage kind="outbound" />
</template>
<script setup lang="ts">
import PublicIoOrderPage from '../_shared/PublicIoOrderPage.vue'
</script>