cl
2026-04-13 b3fb3db3341ea98dac914f62dc94e59fe37e6b3f
rsf-admin/src/i18n/zh.js
@@ -3,9 +3,18 @@
const customChineseMessages = {
    ...chineseMessages,
    hello: '你好世界',
    'menu.httpAuditLog': 'HTTP接口审计',
    'menu.httpAuditRule': 'HTTP审计规则',
    resources: {
        config: { name: '配置参数' },
        httpAuditLog: { name: 'HTTP接口审计' },
        httpAuditRule: { name: 'HTTP审计规则', createTitle: '新增审计规则' },
        asnOrderItem: { name: '收货明细' },
        outStockItem: { name: '出库单明细' },
    },
    // 扁平 key,供部分 i18n 按字符串查找资源标题,避免显示 Asnorder/Outstock
    'resources.asnOrderItem.name': '收货明细',
    'resources.outStockItem.name': '出库单明细',
    common: {
        response: {
            success: "操作成功",
@@ -152,6 +161,8 @@
        department: '部门管理',
        token: '登录日志',
        operation: '操作日志',
        httpAuditLog: 'HTTP接口审计',
        httpAuditRule: 'HTTP审计规则',
        config: '配置参数',
        tenant: '租户管理',
        userLogin: '登录日志',
@@ -219,6 +230,7 @@
        outBound: '出库作业',
        checkOutBound: '盘点出库',
        stockTransfer: '库位转移',
        emptyOutbound: '空板出库',
        waveRule: '波次策略',
        checkOrder: '盘点单',
        checkDiff: '盘点差异单',
@@ -362,6 +374,51 @@
                    unknown: '未知',
                }
            },
            httpAuditLog: {
                serviceName: "应用",
                scopeType: "内外部",
                uri: "接口路径",
                method: "方法",
                functionDesc: "功能描述",
                queryString: "查询串",
                requestBody: "请求内容(JSON)",
                responseBody: "响应内容(JSON)",
                responseTruncated: "响应已截断",
                httpStatus: "HTTP状态",
                okFlag: "正常/异常",
                spendMs: "耗时(ms)",
                clientIp: "请求IP",
                errorMessage: "异常信息",
                ioDirection: "方向",
            },
            httpAuditRule: {
                directionLabel: "作用方向",
                direction: { IN: "入站", OUT: "出站", BOTH: "双向" },
                requestMaxChars: "请求体最多字符(-1全量)",
                responseMaxChars: "响应体最多字符(-1全量)",
                recordAll: "全量记录(无视白名单)",
                recordAllOn: "是",
                recordAllOff: "否",
                ruleTypeLabel: "规则类型",
                ruleType: {
                    URI: "接口路径",
                    IP: "请求IP",
                    REQUEST_BODY: "请求体",
                },
                matchModeLabel: "匹配方式",
                matchMode: {
                    EQUAL: "相等",
                    PREFIX: "前缀",
                    CONTAINS: "包含",
                    REGEX: "正则",
                },
                pattern: "匹配内容",
                enabled: "启用",
                enabledOn: "启用",
                enabledOff: "停用",
                sortOrder: "排序",
                remark: "备注",
            },
            operationRecord: {
                namespace: "命名空间",
                url: "url",
@@ -472,7 +529,7 @@
                name: "名称",
                flagLogic: "虚拟库位",
                fucAtrrs: "功能属性",
                barcode: "容器码",
                barcode: "料箱码",
                startChannel: "起始巷道",
                unit: "单位",
                size: "长/宽/高",
@@ -652,12 +709,13 @@
            },
            asnOrder: {
                code: "WMS单号",
                poCode: "PO编码",
                poCode: "单据内码",
                poId: "PO标识",
                type: "单据类型",
                wkType: "业务类型",
                anfme: "计划数量",
                qty: "完成数量",
                palletQty: "组托数量",
                logisNo: "物流单号",
                arrTime: "预计到达时间",
                rleStatus: "释放状态",
@@ -666,7 +724,7 @@
            },
            outStock: {
                code: "出库单号",
                poCode: "DO单号",
                poCode: "单据内码",
                poId: "DO标识",
                type: "类型",
                wkType: "业务类型",
@@ -681,7 +739,7 @@
            },
            checkOrder: {
                code: "盘点单号",
                poCode: "DO单号",
                poCode: "单据内码",
                poId: "DO标识",
                type: "单据类型",
                checkType: '盘点类型',
@@ -765,7 +823,7 @@
            transferOrder: {
                code: '单号',
                poCode: '调拔单',
                poCode: '单据内码',
                type: '单据类型',
                wkType: '调拔类型',
                anfme: '调拔数量',
@@ -809,6 +867,7 @@
                purUnit: "采购单位",
                unit: '单位',
                qty: "完成数",
                palletQty: "组托数量",
                safeQty: '合格数',
                disQty: '不合格数',
                splrBatch: "批次",
@@ -824,7 +883,7 @@
            outStockItem: {
                orderId: "主单标识",
                orderCode: "单号",
                poCode: 'DO单号',
                poCode: '单据内码',
                poDetlId: "平台明细ID",
                poDetlCode: "DO单",
                matnrId: "物料标识",
@@ -849,7 +908,7 @@
            },
            asnOrderLog: {
                code: "编码",
                poCode: "PO编码",
                poCode: "单据内码",
                poId: "PO标识",
                type: "单据类型",
                wkType: "业务类型",
@@ -863,6 +922,7 @@
            asnOrderItemLog: {
                orderId: "主单标识",
                orderCode: "主单编码",
                poCode: "单据内码",
                platItemId: "erp标识",
                poDetlId: "PO单标识",
                poDetlCode: "PO单编码",
@@ -972,9 +1032,10 @@
            },
            waitPakin: {
                code: "编码",
                asnCodes: "入库通知单号",
                ansId: "收货通知单号",
                asnCode: "收货通知单编码",
                barcode: "容器码",
                barcode: "料箱码",
                flagDefect: "不良品",
                anfme: "数量",
                ioStatus: "状态",
@@ -999,7 +1060,7 @@
                matnrId: "物料id",
                matnrCode: "物料编码",
                asnId: "收货通知单号",
                asnCode: "收货通知单编码",
                asnCode: "入库通知单号",
                asnItemId: "收货通知单明细id",
                trackCode: "条形码",
                isptResult: '质检状态',
@@ -1013,7 +1074,7 @@
            waitPakinLog: {
                pakinId: "组托Id",
                code: "编码",
                barcode: "容器码",
                barcode: "料箱码",
                anfme: "数量",
                ioStatus: "状态",
            },
@@ -1397,9 +1458,13 @@
            true: '正常',
            false: '禁用',
        },
        notification: {
            deleted: '删除成功 |||| %{smart_count} 项 删除成功',
        },
        message: {
            delete_title: '删除 %{name} #%{id}',
            delete_content: '您确定要删除此项吗?',
            loading: '请稍候',
        },
        action: {
            search: '搜索',
@@ -1431,7 +1496,9 @@
            bulk_actions: '%{smart_count} 条被选中 |||| %{smart_count} 条被选中',
        },
        page: {
            edit: '%{name}',
            empty_with_filters: '使用当前过滤条件未找到结果。',
            loading: '加载中',
        },
        navigation: {
            no_results: '没有找到数据',