Merge branch 'dev' into order-delivery-reply

# Conflicts:
#	backend/app/__init__.py
#	backend/app/services/admin/permission_service.py
#	frontend/src/features/user/views/UserProfilePage.vue
#	frontend/src/locales/en/admin.json
#	frontend/src/locales/th/admin.json
#	frontend/src/locales/zh-CN/admin.json
#	frontend/src/locales/zh-TW/admin.json
This commit is contained in:
HTEWJ\26070045 committed 2026-09-29 15:08:04 +08:00
commit 42d8b70250
300 files changed
+32072 -6411

No files matched your search

+84 -167
View File
@@ -177,7 +177,7 @@
"identity_rule_set": "客户识别规则集",
"identity_rule": "客户识别规则"
}
},
, "syncConfirm": "将从 OA 同步合同与验收数据,只补全台账中的空字段,不会覆盖已有内容。是否继续?", "weeklySendConfirm": "将把本周待发送的付款预警汇总发给收件人。是否继续?", "scanAlertsConfirm": "将按当前付款计划扫描并生成待发送预警,不会立即发送。是否继续?"},
"shippingOrderExtractionRuns": {
"eyebrow": "只读运行诊断",
"title": "识别任务",
@@ -830,7 +830,7 @@
"movementStandardField": "标准异动字段",
"movementBindingLabel": "异动解析规则",
"movementBindingNone": "未绑定",
"movementBindingHint": "绑定已发布异动规则后,预检将复用已归档收料文件;未绑定时预检不会触发抓取(fail-closed)。",
"movementBindingHint": "绑定已发布异动规则后,匹配将复用已归档收料文件;未绑定时匹配不会触发抓取(fail-closed)。",
"movementFields": {
"doc_no": "单号", "line_no": "项次", "in_out_flag": "进出库别", "material_code": "料号",
"material_name": "品名", "warehouse_code": "仓库", "storage_code": "储位", "lot_no": "批号",
@@ -2709,7 +2709,7 @@
"platformJobAccountingVoucherPoPrint": "立账凭证 PO 订单生成",
"accountingVoucherPoPrintHint": "每周二 05:00 按上月发票从 ERP 取数,生成制式采购单 PDF 并上传到「PO订单」目录;早于 06:00 检核周批。同名跳过。",
"platformJobAccountingVoucherOaSalesRelease": "立账凭证销货放行单拉取",
"accountingVoucherOaSalesReleaseHint": "每周二 05:30 从 E10 筛上月已归档销货放行单,下载表单 PDF 并上传到「销货单」目录;早于 06:00 检核周批。同名跳过。",
"accountingVoucherOaSalesReleaseHint": "每周二 05:30 从 E10 筛上月已归档销货放行单,下载表单 PDF 并上传到「销货放行申请单」目录;早于 06:00 检核周批。同名跳过。",
"voucherCheckScope": "账套",
"voucherCheckProfile": "业务方 Profile",
"voucherCheckNotifyMissing": "缺资料通知",
@@ -5044,166 +5044,19 @@
"deliveryDate": "交货期限",
"timeline": "付款计划时间线",
"notAvailable": "—",
"stats": {
"contracts": "合同总数",
"pendingParse": "待处理合同",
"readyPlans": "计划已生成",
"alerts": "待预警节点"
},
"ledgerFocus": {
"due": "即将到期",
"dueHint": "7日内",
"overdue": "逾期未付",
"active": "进行中",
"dueThisMonth": "本月应付",
"dueThisMonthHint": "本自然月",
"needsCompletion": "待补充"
},
"status": {
"completed": "已完成",
"needs_review": "待复核",
"pending": "待解析"
},
"stateLabel": {
"parsed": "已解析",
"needs_review": "待复核",
"pending": "待解析",
"active": "已生效"
},
"nodeType": {
"prepayment": "预付款",
"shipment": "出货款",
"acceptance": "验收款",
"warranty": "质保款"
},
"stats": {"contracts": "合同总数", "pendingParse": "待处理合同", "readyPlans": "计划已生成", "alerts": "待预警节点"},
"ledgerFocus": {"due": "即将到期", "dueHint": "7日内", "overdue": "逾期未付", "active": "未到期", "activeHint": "7日外", "dueThisMonth": "本月应付", "dueThisMonthHint": "本自然月"},
"status": {"completed": "已完成", "needs_review": "待复核", "pending": "待解析"}, "stateLabel": {"parsed": "已解析", "needs_review": "待复核", "pending": "待解析", "active": "已生效"},
"nodeType": {"prepayment": "预付款", "shipment": "出货款", "acceptance": "验收款", "warranty": "质保款"},
"ruleConfirmed": "已确定",
"prepaymentRule": "合同归档后第 7/14/21 天预警;请款以 OA 厂商预付款请款作业为准。",
"shipmentRule": "交货期限前 7 天、到期日、到期后 14 天预警;请款以 OA 厂商预付款请款作业为准。",
"acceptanceRule": "验收归档后第 30/40/60 天预警;质保款在质保到期前 7 天、到期日、到期后 14 天预警。",
"pendingAlerts": "待处理预警",
"processing": "已发起付款",
"dataPending": "数据待确认",
"paid": "已付款",
"amountRatioDate": "金额 / 比例 · 日期",
"applicant": "申请人",
"statusLabel": "状态",
"contractPrefix": "合同",
"datePending": "待补充日期",
"statusNormal": "正常",
"statusNeedsCompletion": "待补充",
"statusOverdue": "已逾期",
"statusUpcoming": "即将到期",
"statusActive": "进行中",
"statusCompleted": "已完成",
"totalPrefix": "共",
"contractSupplier": "合同号 / 供应商",
"nextAlert": "下一预警",
"triggerBasis": "触发依据",
"alertDate": "预警日期",
"alertFirstRound": "首轮",
"payDate": "付款日期",
"processStatus": "处理状态",
"owner": "采购负责人",
"oaData": "OA 数据",
"contractRule": "合同规则",
"ownerDefault": "采购负责人",
"workflowNo": "流程编号",
"contractNoPending": "合同号待从附件解析",
"synced": "已同步",
"detailSubtitle": "OA 数据、付款节点与企业微信提醒记录",
"backToOverview": "返回总览",
"contractInfo": "OA 合同信息",
"alertHistory": "预警记录",
"alertRound": "第 {round} 次预警",
"alertAudit": "预警发送记录",
"alertAuditEmpty": "暂无预警记录",
"alertNode": "付款节点",
"alertScheduledAt": "计划日期",
"alertSentAt": "发送时间",
"alertStatus": {
"pending": "待发送",
"sent": "已发送",
"failed": "发送失败"
},
"roundValue": "第 {round} 次",
"weeklyBatchesTitle": "周汇总批次",
"weeklyBatchesSubtitle": "查看按收件人生成的付款预警周汇总、Excel 附件及发送记录。",
"weeklySend": "发送预警",
"weeklyBatchSubmitted": "发送预警任务已提交",
"weeklyBatchesLoadFailed": "加载周汇总批次失败",
"batchNo": "批次号",
"weekKey": "周次",
"batchStatusLabel": "发送状态",
"batchTotal": "汇总笔数",
"batchExcel": "Excel 附件",
"batchSentAt": "发送时间",
"weeklyBatchesEmpty": "暂无周汇总批次",
"weeklyPendingSummary": "本周待发送 {count} 笔 · 下次发送 {datetime}",
"weeklyPendingCountOnly": "本周待发送 {count} 笔",
"downloadExcel": "下载 Excel",
"excelDownloadFailed": "下载预警附件失败",
"batchStatus": {
"pending": "待发送",
"sent": "已发送",
"failed": "发送失败",
"processing": "处理中",
"resolved": "已停止提醒"
},
"backToLedger": "返回",
"detailLoadFailed": "加载合同详情失败",
"detailLoading": "正在加载合同详情…",
"detailOverview": "合同概览",
"detailAttachments": "原文附件",
"detailPaymentPlan": "付款计划",
"detailAlertHistory": "预警记录",
"archiveDate": "合同归档日期",
"archiveDateHint": "该日期为合同申请单的归档日期",
"parseStatus": "解析状态",
"parseIssueTitle": "解析提示",
"planStatus": "计划状态",
"attachmentsEmpty": "暂无已归档的合同原文附件",
"downloadAttachment": "下载附件",
"attachmentDownloadFailed": "下载合同附件失败",
"paymentPlanEmpty": "暂无可展示的付款计划",
"anchorDate": "日期依据",
"nodeStatus": {
"pending": "待处理",
"active": "进行中",
"paid": "已付",
"processing": "处理中",
"resolved": "已停止提醒",
"upcoming": "即将到期",
"notStarted": "待起算",
"overdue": "已逾期",
"review": "待复核"
},
"reparse": "重新解析合同原文",
"reparseSuccess": "已使用附件“{attachment}”重新解析",
"reparseFailed": "重新解析合同失败",
"reviewTitle": "待确认合同",
"reviewSubtitle": "未匹配设备采购合同同义标题组、付款比例校验失败或关键字段冲突的合同不会进入付款预警,请下载原文核对。",
"reviewSearchPlaceholder": "合同编号、采购编号或供应商",
"reviewLoadFailed": "待确认合同加载失败",
"reviewContractWorkflow": "合同号 / 流程编号",
"reviewReason": "待确认原因",
"reviewFallbackIssue": "解析结果待人工确认",
"reviewEmpty": "暂无待确认合同"
},
"contractPaymentReview": {
"title": "待确认合同",
"subtitle": "未匹配设备采购合同同义标题组、付款比例校验失败或关键字段冲突的合同不会进入付款预警,请下载原文核对。",
"searchPlaceholder": "合同编号、采购编号、供应商或申请人",
"loadFailed": "待确认合同加载失败",
"contractWorkflow": "合同号 / 流程编号",
"reason": "待确认原因",
"fallbackIssue": "解析结果待人工确认",
"empty": "暂无待确认合同"
},
"contractPaymentReparse": {
"action": "重新解析合同原文",
"success": "已使用附件“{attachment}”重新解析",
"failed": "重新解析合同失败"
},
"pendingAlerts": "待处理预警", "processing": "已发起付款", "dataPending": "数据待确认", "paid": "已付款", "stagePaid": "已付", "amountRatioDate": "金额 / 比例 · 日期", "applicant": "申请人", "company": "公司", "erpSchema": "付款账套", "statusLabel": "状态", "contractPrefix": "合同", "datePending": "待补充日期", "statusNormal": "正常", "statusNeedsCompletion": "待补充", "statusOverdue": "已逾期", "statusUpcoming": "即将到期", "statusActive": "未到期", "statusCompleted": "已完成",
"totalPrefix": "共", "contractSupplier": "合同号 / 供应商", "nextAlert": "下一预警", "triggerBasis": "触发依据", "alertDate": "预警日期", "alertRuleHint": "每阶段按自然日提醒三轮,到日后并入最近的周五 18:00 汇总发送。没有对应日期则不提醒。\n预付款:合同归档日后第 7、14、21 天(页面显示首轮)\n出货款:交货期限前 7 天、当天、后 14 天\n验收款:验收单归档后第 30、40、60 天\n质保款:质保到期前 7 天、当天、后 14 天", "alertFirstRound": "首轮", "payDate": "付款日期", "markPaid": "标为已付", "markPaidTitle": "标为已付", "markPaidHint": "{stage} · {amount} / {percent}%。只标记这一阶段。尚未发送的预警会关闭,已经发出的记录保留。", "markPaidDate": "付款日期", "markPaidRemark": "说明(可选)", "markPaidRemarkPlaceholder": "例如:财务已确认付款,ERP 单号未对上", "markPaidConfirm": "确认已付", "markPaidSource": "来源:手动标记", "markPaidSuccess": "已标为已付", "markPaidFailed": "标记失败", "processStatus": "处理状态", "owner": "采购负责人", "oaData": "OA 数据", "contractRule": "合同规则", "ownerDefault": "采购负责人", "workflowNo": "合同申请单流程编号", "contractNoPending": "合同号待从附件解析", "synced": "已同步", "detailSubtitle": "OA 数据、付款节点与企业微信提醒记录", "backToOverview": "返回总览", "contractInfo": "OA 合同信息", "alertHistory": "预警记录", "alertRound": "第 {round} 次预警", "alertAudit": "预警发送记录", "alertAuditEmpty": "暂无预警记录", "alertNode": "付款节点", "alertScheduledAt": "计划日期", "alertSentAt": "发送时间", "alertStatus": {"pending": "待发送", "sent": "已发送", "failed": "发送失败"}, "roundValue": "第 {round} 次", "weeklyBatchesTitle": "周汇总批次", "weeklyBatchesSubtitle": "查看按收件人生成的付款预警周汇总、Excel 附件及发送记录。", "weeklySend": "发送预警", "weeklyBatchSubmitted": "发送预警任务已提交", "weeklyJobSent": "已发送 {sent} 个批次", "weeklyJobFailed": "{failed} 个批次发送失败,列表已更新,可点击失败图标查看原因", "weeklyJobPartial": "已发送 {sent} 个批次,另有 {failed} 个失败", "weeklyJobEmpty": "没有待发送的预警,批次记录不会变化", "weeklyJobTimeout": "发送任务仍在后台执行,请稍后重新打开本页查看", "weeklyJobError": "发送任务执行失败", "weeklyBatchesLoadFailed": "加载周汇总批次失败", "batchNo": "批次号", "weekKey": "周次", "batchStatusLabel": "发送状态", "batchFailureReason": "失败原因", "batchFailureReasonEmpty": "未记录具体失败原因", "batchFailureReasonAria": "查看发送失败原因", "batchFailureReasonLine": "{reason}:{detail}", "batchFailureReasonCode": {"notify_disabled": "企业微信通知未启用", "event_disabled": "合同付款预警通知事件未启用", "user_unbound": "收件人未绑定企业微信账号", "textcard_failed": "企业微信卡片发送失败", "file_upload_failed": "企业微信附件上传失败", "file_failed": "企业微信附件发送失败", "unknown": "发送失败"}, "batchTotal": "汇总笔数", "batchExcel": "Excel 附件", "batchSentAt": "发送时间", "weeklyBatchesEmpty": "暂无周汇总批次", "weeklyPendingSummary": "本周待发送 {count} 笔 · 下次发送 {datetime}", "weeklyPendingCountOnly": "本周待发送 {count} 笔", "downloadExcel": "下载 Excel", "excelDownloadFailed": "下载预警附件失败", "batchStatus": {"pending": "待发送", "sent": "已发送", "failed": "发送失败", "processing": "处理中", "resolved": "已停止提醒"}, "backToLedger": "返回", "detailLoadFailed": "加载合同详情失败", "detailLoading": "正在加载合同详情…", "detailOverview": "合同概览", "detailAttachments": "原文附件", "detailPaymentPlan": "付款计划", "detailAlertHistory": "预警记录", "archiveDate": "合同归档日期", "archiveDateHint": "该日期为合同申请单的归档日期", "parseStatus": "解析状态", "parseIssueTitle": "解析提示", "planStatus": "计划状态", "attachmentsEmpty": "暂无已归档的合同原文附件", "downloadAttachment": "下载附件", "previewAttachment": "预览", "attachmentPreviewFailed": "附件预览失败", "attachmentPreviewUnsupported": "该格式暂不支持在线预览,请下载后查看", "attachmentDownloadFailed": "下载合同附件失败", "paymentPlanEmpty": "暂无可展示的付款计划", "anchorDate": "日期依据", "nodeStatus": {"pending": "待处理", "active": "进行中", "paid": "已付", "processing": "处理中", "resolved": "已停止提醒", "upcoming": "即将到期", "notStarted": "待起算", "overdue": "已逾期", "review": "待复核", "notApplicable": "无此阶段"}, "reparse": "重新解析合同原文", "reparseSuccess": "已Line truncated
, "syncConfirm": "将从 OA 同步合同与验收数据,只补全台账中的空字段,不会覆盖已有内容。是否继续?", "weeklySendConfirm": "将把本周待发送的付款预警汇总发给收件人。是否继续?", "scanAlertsConfirm": "将按当前付款计划扫描并生成待发送预警,不会立即发送。是否继续?"},
"contractPaymentReview": {"title": "待确认合同", "subtitle": "未匹配设备采购合同同义标题组、付款比例校验失败或关键字段冲突的合同不会进入付款预警,请下载原文核对。", "searchPlaceholder": "合同编号、采购编号、供应商或申请人", "loadFailed": "待确认合同加载失败", "contractWorkflow": "合同号 / 合同申请单流程编号", "reason": "待确认原因", "fallbackIssue": "解析结果待人工确认", "empty": "暂无待确认合同", "manualTitle": "复核付款阶段", "manualSubtitle": "{supplier} · 采购单号 {purchaseOrder}。已识别的阶段已填入,可改。", "backToReview": "返回待确认", "confirmLedger": "确认进入台账", "confirmSuccess": "已进入合同台账", "issueTitle": "解析提示", "contractNoOptional": "合同编号(可空)", "contractNoPlaceholder": "附件未识别出合同号", "percentage": "比例 %", "stageAmount": "金额", "basisDate": "日期依据", "noStage": "无此阶段", "ruleIdentity": "采购单号和合同金额有效", "rulePercent": "启用阶段的比例合计为 100%,空比例不算 0", "ruleAmount": "每个启用阶段的金额等于合同金额乘以比例", "ruleDate": "预付款、出货款须填写日期依据", "hintPrepayment": "日期依据是合同归档日。正文写了定金或预付款比例时填在这里。", "hintShipment": "日期依据是交货期限。正文只有“收到定金后 N 天”时,请填写具体日期。", "hintAcceptance": "日期依据是验收单归档日。还没归档可以留空。", "hintWarranty": "没有质保款比例时勾选无此阶段。质保期不是付款比例。", "formLoadFailed": "复核表单加载失败", "submitFailed": "复核提交失败", "manualAction": "人工复核", "fillHintTitle": "填写提示"},
"contractPaymentReparse": {"action": "重新解析合同原文", "success": "已使用附件“{attachment}”重新解析", "failed": "重新解析合同失败"},
"procurementContract": {
"title": "采购合同审查",
"subtitle": "维护标准合同模板、风险红线规则并查看审查历史",
@@ -5564,7 +5417,8 @@
"interface": "接口定义",
"binding": "绑定",
"credential": "凭据引用",
"capability": "能力清单"
"capability": "能力清单",
"calls": "调用日志"
},
"statusLabels": {
"draft": "草稿",
@@ -5615,7 +5469,7 @@
"environment": "环境",
"status": "状态",
"clientInstance": "客户端实例",
"interfaceDef": "接口定义",
"interfaceDef": "接口步骤(有序)",
"secretRef": "Secret 引用",
"secretProvider": "来源",
"account": "账号",
@@ -5630,6 +5484,7 @@
"code": "编码",
"name": "名称",
"connectorType": "连接器类型",
"dbKind": "数据库类型(db_kind)",
"environment": "环境",
"credentialRef": "凭据引用编码",
"configJson": "连接配置 JSON(接口地址/超时/默认 org 等)",
@@ -5651,9 +5506,6 @@
"effectiveTo": "生效结束",
"contextSelector": "高级路由条件 JSON",
"contextSelectorHint": "键值对须全部包含于调用上下文才会命中;当前版本调用方不传路由上下文,留空即为默认绑定。",
"paramMapping": "参数映射 JSON",
"paramMappingHint": "域参数到接口参数的翻译规则(如 erp_org→organization、condition 模板);留空=同名直通。",
"bindingClientHint": "随所选接口定义自动带出并锁定,不可单独修改。",
"secretRef": "Secret 引用键",
"secretProvider": "Secret 来源",
"credentialType": "凭据类型",
@@ -5681,7 +5533,8 @@
"msg": {
"fillClient": "请填写名称",
"fillInterface": "请选择客户端实例(编码可自动生成)",
"fillBinding": "请填写能力、客户端实例与接口定义",
"fillBinding": "请填写能力,并至少添加一个步骤(每步选择接口定义)",
"fillDbKind": "请选择数据库类型(MySQL / Oracle / SQL Server / PostgreSQL)",
"fillCredential": "请填写编码与 Secret 引用",
"fillCredentialDb": "请填写编码,以及必填凭据字段:{fields}",
"credentialTypeMissing": "凭据类型清单未加载,请刷新页面后重试",
@@ -5716,7 +5569,8 @@
"endpoint": "https://erp-api.example.com/ws",
"wsdl": "https://erp-api.example.com/wsdl",
"requestPath": "路径支持占位符,如 /transfer/xxx",
"passwordKeep": "留空则保持原密码不变"
"passwordKeep": "留空则保持原密码不变",
"database": "erp-host:1521/ORCL 或 127.0.0.1:3306/dbname"
},
"advancedConfig": "高级配置(JSON)",
"formatJson": "格式化",
@@ -5737,7 +5591,70 @@
},
"connectorTypes": {
"rest": "REST API",
"soap": "SOAP 服务"
"soap": "SOAP 服务",
"database": "数据库直连"
},
"connectorDbKind": {
"mysql": "MySQL",
"oracle": "Oracle",
"sqlserver": "SQL Server",
"postgresql": "PostgreSQL"
},
"endpointLabel": {
"database": "数据库连接串(host:port/service 或 /database)"
},
"bindingSteps": {
"label": "执行步骤(有序)",
"add": "添加步骤",
"remove": "删除步骤",
"moveUp": "上移",
"moveDown": "下移",
"interface": "接口定义",
"paramMapping": "步骤 {index} 参数映射 JSON",
"clientHint": "客户端实例由该步接口归属自动确定:{client}",
"hint": "步骤按数组顺序执行;每步可配置独立的参数映射,客户端实例由各步接口归属自带。"
},
"callLogs": {
"title": "调用记录",
"filterInterface": "接口编码",
"filterClient": "客户端编码",
"filterConnector": "连接类型",
"filterStatus": "状态",
"filterOperationId": "operation_id",
"filterTraceId": "trace_id",
"filterBusinessRef": "业务单号",
"filterKeyword": "参数关键字(模糊搜请求内容)",
"dateFrom": "执行时间起",
"dateTo": "执行时间止",
"query": "查询",
"reset": "重置",
"colTime": "时间",
"colCapability": "能力",
"colInterface": "接口",
"colRef": "单号",
"colStep": "步骤",
"colStatus": "状态",
"colElapsed": "耗时",
"detailTitle": "调用详情",
"timeline": "步骤时间线",
"request": "请求",
"response": "响应",
"wire": "线级请求(wire)",
"rawPayload": "原始报文",
"normalized": "业务参数(归一化)",
"normalizedJson": "归一化 JSON",
"copyBody": "复制 body",
"copyCurl": "复制 curl",
"copySql": "复制 SQL",
"copyRaw": "复制原始报文",
"copyJson": "复制 JSON",
"copyOperationId": "复制 operation_id",
"copyTraceId": "复制 trace_id",
"copied": "已复制",
"noWire": "无线级详情(历史记录)",
"sqlWriteWarning": "⚠ 写入语句:请确认目标环境后再执行",
"prevPage": "上一页",
"nextPage": "下一页"
}
}
}