Merge branch 'dev' into order-delivery-reply
# Conflicts: #backend/app/core/config/settings.py
This commit is contained in:
commit
298fadf1c8
217 files changed
+12177
-2906
No files matched your search
@@ -764,7 +764,9 @@
|
||||
"pathSectionConfigured": "已配置",
|
||||
"pathSectionNotConfigured": "未配置",
|
||||
"parsingProfiles": "库存解析",
|
||||
"parsingProfilesHelp": "维护可由多个库存站点共享的库存文件结构、字段对应关系和订单字段匹配键。",
|
||||
"parsingProfilesHelp": "维护可跨站点复用的文件解析规则:库存解析面向库存字段目录与订单匹配键,收料异动面向标准异动字段(只读契约)。",
|
||||
"inventoryParsing": { "code": "库存解析编号", "name": "库存解析名称", "sampleFile": "库存样本文件", "sampleFileHint": "上传 .xls、.xlsx 或 .csv 后,系统会读取工作表、表头和少量样例,供确认库存解析。", "sampleRequired": "请先上传库存样本文件并完成结构识别。", "sourceHeader": "库存文件表头名称", "fieldMappings": "库存标准字段映射", "analysisPreview": "库存分析预览" },
|
||||
"movementParsing": { "code": "异动解析编号", "name": "异动解析名称", "sampleFile": "收料样本文件", "sampleFileHint": "上传 .xls、.xlsx 或 .csv 后,系统会读取工作表、表头和少量样例,供确认收料异动解析。", "sampleRequired": "请先上传收料异动样本文件并完成结构识别。", "sourceHeader": "异动文件表头名称", "fieldMappings": "标准异动字段映射", "analysisPreview": "异动分析预览" },
|
||||
"inventoryMapping": "库存解析",
|
||||
"inventoryMappingPlans": "解析规则",
|
||||
"inventoryFields": "库存字段目录",
|
||||
@@ -819,6 +821,21 @@
|
||||
"inventorySampleAnalysing": "正在分析库存文件结构...",
|
||||
"inventorySampleRequired": "请先上传库存样本文件并完成结构识别。",
|
||||
"parsingProfileName": "库存解析名称",
|
||||
"parsingPurposeLabel": "规则用途",
|
||||
"parsingPurposeHint": "用途创建后不可变更:库存解析面向库存字段目录,收料异动面向标准异动字段(只读契约)。",
|
||||
"parsingPurpose": { "inventory": "库存解析", "movement": "收料异动" },
|
||||
"movementMappingHint": "标准异动字段为只读业务契约(✱ 必填、🔑 匹配身份),只需为每个字段选择报表表头别名。",
|
||||
"movementRequiredMark": "必填",
|
||||
"movementIdentityMark": "匹配身份",
|
||||
"movementStandardField": "标准异动字段",
|
||||
"movementBindingLabel": "异动解析规则",
|
||||
"movementBindingNone": "未绑定",
|
||||
"movementBindingHint": "绑定已发布异动规则后,预检将复用已归档收料文件;未绑定时预检不会触发抓取(fail-closed)。",
|
||||
"movementFields": {
|
||||
"doc_no": "单号", "line_no": "项次", "in_out_flag": "进出库别", "material_code": "料号",
|
||||
"material_name": "品名", "warehouse_code": "仓库", "storage_code": "储位", "lot_no": "批号",
|
||||
"quantity": "数量", "movement_date": "异动日期"
|
||||
},
|
||||
"inventoryAnalysisFailed": "库存文件结构识别失败。",
|
||||
"inventoryAnalysisPreview": "识别结果预览",
|
||||
"inventoryAnalysisSummary": "识别到 {candidate_count} 个可选表头,当前样例行数 {sample_row_count};已建议 {valid_inventory_field_suggestions} 个库存字段。",
|
||||
@@ -955,8 +972,7 @@
|
||||
"exports": "导出记录",
|
||||
"exportsHelp": "只读查看库存导出的执行结果;不在此处重试或触发导出。",
|
||||
"externalMappings": "仓库映射",
|
||||
"mappingsHelp": "将货代仓库或库存源默认仓库映射到外部系统仓库编码。",
|
||||
"defaultMapping": "库存源默认映射",
|
||||
"mappingsHelp": "将库存源映射到外部系统仓库编码与在途仓编码;货代仓库可空,作为按收料仓库匹配映射行的键。",
|
||||
"loadFailed": "加载货代库存配置失败",
|
||||
"createNew": "新建",
|
||||
"saving": "保存中...",
|
||||
@@ -1165,12 +1181,13 @@
|
||||
"publishedImmutable": "已发布规则作为审计定义保留,不能修改。请新建规则后重新发布。",
|
||||
"source": "库存源",
|
||||
"chooseSource": "请选择库存源",
|
||||
"freightWarehouse": "货代仓库(可选)",
|
||||
"freightWarehouse": "货代仓库",
|
||||
"externalSystem": "目标系统",
|
||||
"externalOrganization": "目标组织(可选)",
|
||||
"externalSite": "目标地点(可选)",
|
||||
"externalWarehouseCode": "目标仓库编码",
|
||||
"externalWarehouseName": "目标仓库名称",
|
||||
"inTransitWarehouseCode": "在途仓编码",
|
||||
"snapshotStatus": "快照状态",
|
||||
"snapshotFile": "快照文件",
|
||||
"expiresAt": "有效至",
|
||||
@@ -5539,7 +5556,6 @@
|
||||
"title": "集成连接器",
|
||||
"subtitle": "配置外部系统客户端、接口模板与回传映射,并绑定到能力;它是自动调拨跑起来的集成配置。",
|
||||
"add": "新增",
|
||||
"formHint": "JSON 字段请在编辑框中维护;发布状态决定该配置是否被 Worker 使用。",
|
||||
"call": "调用",
|
||||
"test": "连接测试",
|
||||
"empty": "暂无数据",
|
||||
@@ -5550,6 +5566,48 @@
|
||||
"credential": "凭据引用",
|
||||
"capability": "能力清单"
|
||||
},
|
||||
"statusLabels": {
|
||||
"draft": "草稿",
|
||||
"published": "已发布",
|
||||
"retired": "已退役",
|
||||
"active": "启用中",
|
||||
"rotating": "轮换中",
|
||||
"db": "界面维护(加密保存)",
|
||||
"env": "环境变量"
|
||||
},
|
||||
"envLabels": {
|
||||
"dev": "开发",
|
||||
"test": "测试",
|
||||
"prod": "生产"
|
||||
},
|
||||
"capabilityLabels": {
|
||||
"in_transit_transfer": {
|
||||
"create_transfer": "创建调拨单",
|
||||
"query_inventory": "在途库存查询",
|
||||
"verify_duplicate": "防重校验"
|
||||
}
|
||||
},
|
||||
"writeLabels": { "yes": "是", "no": "否" },
|
||||
"idempotencyLabels": { "none": "无", "invoice": "按单据号幂等" },
|
||||
"credentialTypeLabels": {
|
||||
"password": "账密",
|
||||
"token": "令牌",
|
||||
"api_key": "API 密钥"
|
||||
},
|
||||
"lifecycle": {
|
||||
"publish": "发布",
|
||||
"unpublish": "撤回发布",
|
||||
"retire": "退役",
|
||||
"reopen": "恢复草稿"
|
||||
},
|
||||
"formHints": {
|
||||
"client": "编码是接口定义与绑定引用本实例的唯一标识,保存后不可修改。",
|
||||
"interface": "编码可自动生成;JSON 契约即接口本体,请在编辑框中维护;发布后才会被绑定解析自动调用。",
|
||||
"binding": "绑定决定能力在指定环境/来源下路由到哪个客户端与接口;仅「已发布」的绑定会被自动调用。",
|
||||
"credential": "db 模式在界面维护账号密码并由服务端加密落库;env 模式仅登记环境变量键名,真实值由环境注入。",
|
||||
"credentialImmutable": "以上信息创建后不可更改;如需变更请新建凭据引用,并将客户端实例指向新引用。",
|
||||
"capability": "平台已注册的业务能力清单(只读),可在此手动试调。"
|
||||
},
|
||||
"headers": {
|
||||
"code": "编码",
|
||||
"name": "名称",
|
||||
@@ -5560,10 +5618,13 @@
|
||||
"interfaceDef": "接口定义",
|
||||
"secretRef": "Secret 引用",
|
||||
"secretProvider": "来源",
|
||||
"account": "账号",
|
||||
"capability": "能力",
|
||||
"write": "写入",
|
||||
"idempotency": "幂等",
|
||||
"actions": "操作"
|
||||
"actions": "操作",
|
||||
"endpoint": "连接地址",
|
||||
"testStatus": "连接测试"
|
||||
},
|
||||
"fields": {
|
||||
"code": "编码",
|
||||
@@ -5579,13 +5640,20 @@
|
||||
"outputSchema": "出参 Schema JSON",
|
||||
"status": "状态",
|
||||
"enabled": "启用",
|
||||
"enabledHint": "关闭后该实例的能力调用会被拒绝(视同无可用绑定),连接测试不受影响。",
|
||||
"enabledFooterHint": "随保存操作生效",
|
||||
"credentialEnabledHint": "关闭后引用该凭据的调用将立即失败(视同凭据缺失);连接测试不受影响。",
|
||||
"capability": "能力",
|
||||
"interfaceDef": "接口定义",
|
||||
"mappingVersion": "映射版本",
|
||||
"priority": "优先级",
|
||||
"effectiveFrom": "生效开始",
|
||||
"effectiveTo": "生效结束",
|
||||
"contextSelector": "上下文选择器 JSON(键值对,如 source_code=DBS-AWSBI)",
|
||||
"contextSelector": "高级路由条件 JSON",
|
||||
"contextSelectorHint": "键值对须全部包含于调用上下文才会命中;当前版本调用方不传路由上下文,留空即为默认绑定。",
|
||||
"paramMapping": "参数映射 JSON",
|
||||
"paramMappingHint": "域参数到接口参数的翻译规则(如 erp_org→organization、condition 模板);留空=同名直通。",
|
||||
"bindingClientHint": "随所选接口定义自动带出并锁定,不可单独修改。",
|
||||
"secretRef": "Secret 引用键",
|
||||
"secretProvider": "Secret 来源",
|
||||
"credentialType": "凭据类型",
|
||||
@@ -5594,17 +5662,44 @@
|
||||
"wsdl": "WSDL 地址",
|
||||
"httpMethod": "HTTP 方法",
|
||||
"requestPath": "请求路径",
|
||||
"contextSourceCode": "来源实例编码"
|
||||
"username": "用户名",
|
||||
"password": "密码",
|
||||
"visibleField": "非密文",
|
||||
"codeHint": "留空时按名称自动生成;仅小写字母、数字、连字符,保存后不可修改。",
|
||||
"codeHintInterface": "留空时按「客户端实例编码-名称」自动生成,保存后不可修改。",
|
||||
"connectorTypeHint": "随客户端实例自动确定,不可单独修改。",
|
||||
"statusHint": "新建保存为草稿;通过列表「发布 / 撤回 / 退役 / 恢复」按钮更新。",
|
||||
"credentialNone": "无(匿名访问)",
|
||||
"credentialRefHint": "引用统一保管的凭据(密码加密存放);换密码只需更新凭据引用,无需改客户端。"
|
||||
},
|
||||
"credentialFields": {
|
||||
"username": "用户名",
|
||||
"password": "密码",
|
||||
"token": "令牌",
|
||||
"api_key": "API 密钥"
|
||||
},
|
||||
"msg": {
|
||||
"fillClient": "请填写编码与名称",
|
||||
"fillInterface": "请填写编码并选择客户端实例",
|
||||
"fillClient": "请填写名称",
|
||||
"fillInterface": "请选择客户端实例(编码可自动生成)",
|
||||
"fillBinding": "请填写能力、客户端实例与接口定义",
|
||||
"fillCredential": "请填写编码与 Secret 引用",
|
||||
"fillCredentialDb": "请填写编码,以及必填凭据字段:{fields}",
|
||||
"credentialTypeMissing": "凭据类型清单未加载,请刷新页面后重试",
|
||||
"credentialPlaceholdersHint": "该凭据提供的模板占位符:",
|
||||
"invalidJson": "{field} JSON 格式无效",
|
||||
"unsavedConfirm": "当前有未保存的更改,确定关闭吗?",
|
||||
"saved": "已保存",
|
||||
"deleted": "已删除",
|
||||
"testOk": "连接测试通过"
|
||||
"testOk": "连接测试通过",
|
||||
"codeInvalid": "编码仅允许小写字母、数字和连字符,且以字母或数字开头",
|
||||
"deleteConfirm": "确定删除客户端实例「{name}」({code})吗?引用它的接口定义与绑定将失效。",
|
||||
"toggleFailed": "启停切换失败",
|
||||
"testFailed": "连接失败({code})",
|
||||
"testing": "测试中…",
|
||||
"statusUpdated": "状态已更新",
|
||||
"statusUpdateFailed": "状态更新失败",
|
||||
"retireInterfaceConfirm": "退役后,引用该接口的绑定将同时失效;可「恢复草稿」后重新发布。确定退役吗?",
|
||||
"retireBindingConfirm": "退役后,该绑定将退出自动调用;可「恢复草稿」后重新发布。确定退役吗?"
|
||||
},
|
||||
"callModal": {
|
||||
"title": "调用能力:{capability}",
|
||||
@@ -5621,8 +5716,28 @@
|
||||
"endpoint": "https://erp-api.example.com/ws",
|
||||
"wsdl": "https://erp-api.example.com/wsdl",
|
||||
"requestPath": "路径支持占位符,如 /transfer/xxx",
|
||||
"contextSourceCode": "例如 DBS-AWSBI"
|
||||
"passwordKeep": "留空则保持原密码不变"
|
||||
},
|
||||
"advancedConfig": "高级配置(JSON)"
|
||||
"advancedConfig": "高级配置(JSON)",
|
||||
"formatJson": "格式化",
|
||||
"invalidJsonHint": "JSON 格式无效,请修正后再保存",
|
||||
"testOkBadge": "连接正常",
|
||||
"testFailBadge": "连接失败",
|
||||
"testDetailToggle": "点击展开/收起详情",
|
||||
"advancedHints": {
|
||||
"withKeys": "当前生效的配置键:{keys};其余键仅保存透传、暂不生效。",
|
||||
"none": "当前连接器类型暂无额外生效的配置键;此处内容会原样保存,供后续扩展使用。"
|
||||
},
|
||||
"sections": {
|
||||
"basic": "基本信息",
|
||||
"connection": "连接配置",
|
||||
"advanced": "高级",
|
||||
"contract": "接口契约(JSON)",
|
||||
"credentialValues": "凭据值"
|
||||
},
|
||||
"connectorTypes": {
|
||||
"rest": "REST API",
|
||||
"soap": "SOAP 服务"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user