feat(admin): 新增在途调拨类型管理页
调拨类型四块配置的维护入口:基本信息(编码/多语言名称/排序/启停)、范围规则 (受控字段下拉+匹配方式+多值标签,规则间且/值间或)、仓库定义(拨出/拨入角色 映射档或固定仓)、字段转换(批号前缀替换)。列表含规则数与启用状态检索, 类型被调拨链路引用时编码与用途不可改(两段式校验),重复编码返回 422。 管理控制台注册导航与路由;新增 8 个 TRANSFER.* 错误码四语言文案。
This commit is contained in:
1 parent
52c71ee46a
commit
3a19f9c27d
14 files changed
+2103
-2
No files matched your search
@@ -82,6 +82,9 @@ const TrainingConfigPage = () =>
|
||||
const IntegrationConnectorPage = () =>
|
||||
import("@/features/admin/modules/integration-connector/IntegrationConnectorPage.vue");
|
||||
|
||||
const TransferTypesPage = () =>
|
||||
import("@/features/admin/modules/transfer-types/TransferTypesPage.vue");
|
||||
|
||||
export const adminRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/admin",
|
||||
@@ -341,6 +344,16 @@ export const adminRoutes: RouteRecordRaw[] = [
|
||||
title: "admin.nav.integrationConnector",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "transfer-types",
|
||||
name: "AdminTransferTypes",
|
||||
component: TransferTypesPage,
|
||||
meta: {
|
||||
requiresAdmin: true,
|
||||
adminModule: "transfer_types",
|
||||
title: "admin.nav.transferTypes",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "reports/:table?",
|
||||
name: "AdminReports",
|
||||
|
||||
Reference in new issue
Block a user