feat(shipping-notice): 落地 XFA 拆分、版面签名、统一进度与处理域履约

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
hugoandCursor committed 2026-08-06 10:18:37 +08:00
1 parent 3a9fbac2fc
commit d2b3d74def
571 files changed
+78064 -24681

No files matched your search

+394 -15
View File
@@ -277,6 +277,9 @@
"shippingOrderExtractionQueuePosition": "队列第 {position} 位",
"shippingOrderExtractionRefreshing": "正在刷新...",
"shippingOrderExtractionRefreshFailed": "暂时无法刷新状态,系统仍会继续处理。",
"shippingOrderExtractionHistory": {
"superseded": "该识别结果已被新版替代,仅供查看"
},
"shippingOrderExtractionUserStage": {
"pending": "等待处理",
"document_queued": "已入队,等待处理",
@@ -652,6 +655,8 @@
"queryShortageDetails": "查询缺口明细",
"retryRpa": "重新获取库存",
"actionBusyHint": "当前正在处理中,请等待当前任务完成后再试。",
"batchSwitchRemoved": "批次切换功能已下线,请通过右侧「本次处理」工作台切换任务焦点。",
"batchRetryRemoved": "批次批量重试功能已下线,请在「本次处理」工作台或聊天动作中重试单个任务。",
"retrySingleTask": "单独重试",
"retrySingleTaskMessage": "重试当前任务 {taskId}",
"continueTask": "继续处理",
@@ -1544,12 +1549,15 @@
"evidence": "证据核对",
"inventory": "库存处理",
"reparse": "重新识别",
"confirm_progress": "建单进度"
"confirm_progress": "建单进度",
"formal_task": "正式任务"
},
"formalEditTarget": "当前编辑对象:正式任务",
"enterInventory": "查看库存问题",
"returnStandard": "返回标准复核",
"openPdf": "打开 PDF",
"closePdf": "关闭 PDF",
"close": "关闭",
"pinPdf": "退出后保留",
"unpinPdf": "退出后关闭",
"pinPdfHint": "退出证据模式后仍保留 PDF 打开(不是固定侧栏)",
@@ -1569,13 +1577,31 @@
"openVersionHistory": "版本历史",
"auditFailed": "审计记录失败,敏感面板未打开,请重试",
"summaryRail": "摘要",
"moreStatus": "更多状态",
"aiForFocusedField": "针对当前字段请求 AI 建议",
"primaryBlock": "优先处理",
"blockCount": "共 {count} 项待处理",
"viewFullChecks": "查看完整检查",
"fullChecksTitle": "完整订单检查",
"explanationTitle": "检查说明",
"explanation": "必填字段是订单模板标记为必填、创建订单必须有值的字段;字段冲突是同一字段存在多个来源且取值不一致。下方明细与复核工作台中的门禁状态使用同一份校验结果。",
"requiredFields": "缺失的必填字段",
"requiredField": "必填字段",
"missingValue": "未解析到值",
"issueDetails": "问题明细",
"conflictFields": "字段冲突(来源值不一致)",
"conflictDetailsPending": "检测到字段冲突,但具体字段和值尚未同步。请刷新后查看;系统不会在明细缺失时自动建单。",
"missingRequiredFields": "缺失必填字段",
"noLineChecks": "暂无明细检查结果",
"inventoryIssues": "库存处理问题"
"inventoryIssues": "库存处理问题",
"lowConfidenceFields": "低置信度字段",
"confidenceThreshold": "阈值 {threshold}%",
"manualReview": {
"customer": "请确认客户识别结果",
"field": "请确认字段:{field}",
"lineInventory": "第 {line} 行:请确认库存来源(候选:{candidates})",
"noCandidates": "暂无可用候选"
}
},
"viewEvidence": "查看证据",
"dblclickLocateHint": "双击定位 PDF 证据(Alt+[ / Alt+] 切换异常字段)",
@@ -1656,6 +1682,8 @@
"sourceEvidence": "原文证据",
"verbatimOk": "逐字验证通过",
"verbatimFailed": "未在证据中找到逐字匹配",
"unavailableDisabled": "当前环境未启用 AI 建议,Dify 尚未被调用。请联系管理员开启后重试。",
"unavailableProvider": "AI 建议服务暂时不可用,本次未生成建议。请稍后重试或继续人工复核。",
"evidenceAtCell": "PDF 第 {page} 页 · {cell}",
"noEvidenceCoords": "无可靠坐标,仅显示引文",
"status": {
@@ -1665,6 +1693,7 @@
"accepted": "已接受",
"modified": "已修改",
"rejected": "已拒绝",
"provider_unavailable": "服务不可用",
"failed": "不可用",
"unknown": "状态待确认"
},
@@ -1735,6 +1764,8 @@
"line": "第 {index} 行",
"noLines": "未识别到订单明细。",
"moreFields": "更多订单信息({count})",
"moreLineFields": "更多明细列({count})",
"collapseFields": "收起次要字段",
"emptyValue": "未提供",
"unknownField": "订单字段",
"createManualDraft": "手工创建订单草稿",
@@ -1762,27 +1793,77 @@
},
"workflowProgress": {
"title": "自动进度",
"subtitle": "确认后持续推进至待人工上传登记;请在任务处理工作台登记凭据。",
"subtitle": "确认后持续推进至货代平台上传;进度以统一 ShippingProcessing 为准。",
"polling": "正在刷新进度…",
"taskNo": "任务 {taskNo}",
"openTaskWorkbench": "进入任务处理台登记",
"noUploadHint": "Excel 已生成,请下载后在货代平台上传,并在本系统登记凭据。",
"nextStepsManualUpload": "下一步:在任务处理台下载 Excel → 到货代平台上传 → 回填截图/PDF 凭据与货代回执号后完成。",
"progressUnavailable": "进度暂不可用,请刷新页面或稍后再试。",
"nextStepsGeneric": "当前步骤需要人工处理,请按系统提示继续操作。",
"nodes": {
"building_order": "创建任务",
"inventory_matching": "库存匹配",
"generating_excel": "生成 Excel",
"manual_upload_pending": "待人工上传登记"
"manual_upload_pending": "待人工上传登记",
"freight_uploading": "货代平台上传"
}
},
"reparseFailedVersion": {
"notice": "V{failedVersion} 重新识别失败,失败阶段:{stage}。当前展示并可继续复核:V{displayedVersion}。",
"unknownStage": "未知阶段",
"stages": {
"layout_parsing": "解析 PDF 页面与表格",
"extracting": "提取订单字段",
"failed": "订单识别"
}
},
"reparseProgress": {
"title": "PDF 重新识别进度",
"subtitle": "进度来自当前工作项,完成后将自动打开新版复核草稿。",
"title": "订单任务进度",
"subtitle": "展示订单任务从识别、校验、建单到发货文件处理的完整进度;进度会跟随任务持久化保存。",
"polling": "正在刷新真实进度…",
"currentStage": "当前阶段:{stage}",
"runStatus": "任务状态:{status}",
"lastActivity": "最近活动:{time}",
"lastRefreshed": "最近刷新:{time}",
"refreshNow": "立即刷新",
"stalled": "进度长时间没有变化,系统仍在后台处理。请稍候;如果持续无变化,请刷新页面或重新识别。",
"monitoringPaused": "暂未收到新的进度活动,系统已暂停本页监测;后台任务状态尚未确认。您可以刷新页面继续查看,或重新识别。",
"refreshFailed": "暂时无法刷新进度,正在保留当前阶段并自动重试。",
"failed": "重新识别未完成,已保留上一版本。您可以直接再次识别。",
"interrupted": "处理已中断",
"interruptedMessage": "处理已中断,系统没有继续执行。上一版本已保留,您可以重新识别。",
"interruptedAt": "中断位置:{stage}",
"interruptionReasons": {
"refreshFailed": "无法连续获取后台进度,轮询已停止。",
"cancelled": "后台任务被取消。",
"runFailed": "后台识别任务返回失败。",
"noProgress": "连续多次没有收到新的进度活动,系统已停止等待。"
},
"retry": "重新识别",
"stages": { "submitted": "已提交", "layout_parsing": "读取页面内容", "extracting": "提取订单信息", "draft_ready": "准备复核内容" }
"status": {
"queued": "等待开始",
"processing": "正在识别",
"completed": "识别完成",
"partially_completed": "部分文件已完成,仍有文件需要人工处理",
"review_required": "识别完成,等待人工复核",
"failed": "识别失败",
"cancelled": "已取消"
},
"stages": {
"submitted": "已提交",
"layout_parsing": "解析 PDF 页面与表格",
"routing": "识别订单模板",
"extracting": "提取订单字段",
"validating": "校验客户与订单完整性",
"draft_ready": "生成复核草稿",
"auto_confirming": "自动确认识别结果",
"building_order": "生成订单",
"inventory_matching": "匹配库存来源",
"generating_excel": "生成发货文件",
"awaiting_manual_action": "等待人工处理",
"completed": "处理完成"
}
},
"backToSession": "返回本次处理",
"workItemHeader": "工作项 {itemNo} · {version}",
@@ -1799,8 +1880,8 @@
"work_item_closed": "该工作项已关闭,仅可只读追溯;处置与编辑已禁用。",
"reparse_in_progress": "此 PDF 正在重新识别,请等待完成后继续复核。",
"restored": "重识别失败已恢复上一版本,可继续编辑。",
"draft_version_conflict": "草稿版本冲突:本地编辑已过期,请重新加载最新版本后再继续。"
,"unknown": "订单状态已更新,请刷新后继续处理。"
"draft_version_conflict": "草稿版本冲突:本地编辑已过期,请重新加载最新版本后再继续。",
"unknown": "订单状态已更新,请刷新后继续处理。"
},
"versionHistory": {
"title": "版本历史",
@@ -1815,6 +1896,18 @@
"title": "客户识别",
"subtitle": "建单前必须确认标准客户;与「重新识别此 PDF」相互独立。",
"recognizedAs": "识别结果",
"standardCustomer": "标准客户",
"customerCode": "客户编码",
"matchedInputs": "命中输入",
"candidates": "候选客户",
"inputLabels": {
"customerCode": "客户编码",
"customerName": "客户名称",
"address": "地址",
"email": "邮箱",
"domain": "域名",
"other": "识别依据"
},
"rawName": "原文客户名",
"selectCustomer": "选择标准客户",
"retryCustomer": "重新识别客户",
@@ -1832,6 +1925,131 @@
"unresolved": "未确认"
}
},
"resume": {
"autoCreated": "已自动建单并推进:{taskNo}",
"waitingManualConfirm": "建单资格已就绪,请点击「确认建单」",
"autoProgressing": "系统正在自动建单并推进…",
"blocked": "仍有建单前问题,请继续处理"
},
"reservation": {
"title": "预约单号校验",
"subtitle": "检查各行有效预约单号是否满足建单前要求。",
"reservationId": "预约单号",
"action": "操作",
"editLine": "编辑此行",
"revalidate": "重新校验",
"revalidating": "校验中…",
"revalidateDone": "预约单号已重新校验",
"revalidateFailed": "预约单号校验失败,请刷新后重试",
"unknownIssue": "预约单号问题",
"status": {
"ok": "已通过",
"needs_attention": "待处理",
"empty": "无明细",
"unknown": "待确认"
},
"issues": {
"effective_reservation_missing": "缺少有效预约单号",
"reservation_duplicated_in_order": "订单内预约单号重复",
"reservation_missing": "缺少预约单号",
"reservation_invalid": "预约单号无效",
"reservation_duplicate": "预约单号重复"
}
},
"fulfillmentDecision": {
"title": "行级履约决定",
"subtitle": "对库存不足或待决明细选择等待补货、完整行先行或关闭。",
"railHint": "侧栏仅显示摘要;完整行级处置请进入库存处理模式。",
"enterInventory": "进入库存/履约处理",
"openCount": "开放行 {count}",
"readyCount": "可完整履约 {count}",
"shortageCount": "缺口行 {count}",
"waveSelect": "波次",
"partNumber": "料号",
"qty": "需求/可用",
"shortage": "缺口",
"status": "状态",
"actions": "操作",
"waitInventory": "等待补货",
"fulfillNow": "完整行先行",
"closeLine": "关闭",
"confirmWave": "确认波次({count} 行)",
"waving": "创建波次中…",
"waveSuccess": "履约波次已创建",
"waveFailed": "创建履约波次失败",
"decideSuccess": "履约决定已保存",
"decideFailed": "保存履约决定失败",
"closeRemaining": "关闭剩余开放行",
"lineStatus": {
"pending_decision": "待决定",
"waiting_inventory": "等待补货",
"ready_to_fulfill": "可完整履约",
"closed_unfulfillable": "已关闭",
"task_created": "已建单",
"fulfilled": "已履约",
"reopened": "已重开"
}
},
"closeFulfillment": {
"titleSelected": "关闭所选行({count})",
"titleAll": "关闭剩余开放行",
"subtitle": "关闭后该行将不再参与自动建单或履约波次。",
"reasonLabel": "关闭原因(必填)",
"reasonPlaceholder": "请说明关闭原因…",
"confirm": "确认关闭",
"closing": "关闭中…",
"success": "行已关闭",
"failed": "关闭失败,请重试"
},
"auditTrail": {
"open": "审计记录",
"title": "操作审计",
"subtitle": "本 Case 的业务操作记录;点击条目可查看变更前后快照与字段差异。",
"loading": "加载中…",
"empty": "暂无审计记录",
"loadFailed": "加载审计记录失败",
"loadMore": "加载更多",
"unknownEvent": "未知事件",
"unknownField": "未命名字段",
"actor": "操作者:{actor}",
"taskNo": "任务:{taskNo}",
"result": "结果:{result}",
"before": "变更前快照",
"after": "变更后快照",
"beforeValue": "变更前",
"afterValue": "变更后",
"reason": "操作原因",
"technicalDetails": "技术详情(原始 JSON)",
"copyJson": "复制",
"copyDone": "已复制到剪贴板",
"copyFailed": "复制失败",
"boolTrue": "是",
"boolFalse": "否",
"diff": "字段差异",
"sensitiveRedacted": "该事件含敏感快照,业务端已脱敏;请联系管理员在审计中心查看。",
"events": {
"review_line_fulfillment_decided": "行级履约决定",
"review_line_fulfillment_reopened": "行级履约重开",
"view_order_review_audit_trail": "查看审计记录"
}
},
"automationStatus": {
"title": "自动处理状态",
"subtitle": "系统步骤只读展示;技术失败由系统重试,业务用户无需操作。",
"technicalHint": "当前无需人工操作。系统将在技术重试完成后自动继续。",
"statuses": {
"pending": "未开始",
"queued": "排队中",
"running": "执行中",
"passed": "已通过",
"blocked_retryable": "可重试阻断",
"blocked_manual": "待人工",
"waiting_external": "等待外部",
"failed_terminal": "失败",
"invalidated": "已失效",
"skipped": "已跳过"
}
},
"fieldConflict": {
"title": "字段冲突待裁决({count})",
"subtitle": "多来源取值不一致时不会自动写入。请选用一方或填写手工值后再建单。",
@@ -1844,10 +2062,18 @@
"resolveSuccess": "冲突已裁决,建单资格已刷新",
"resolveFailed": "裁决失败,请刷新后重试",
"resolveReason": "复核工作台人工裁决字段冲突",
"evidenceRole": {
"primary_pdf": "主 PDF",
"auxiliary": "辅助证据",
"context": "邮件正文"
},
"reasons": {
"cross_source_conflict": "多来源取值冲突",
"insufficient_score_margin": "候选分差不足",
"field_conflict": "字段冲突"
"field_conflict": "字段冲突",
"pdf_preferred": "PDF 优先采纳",
"pdf_preferred_with_conflict": "PDF 优先但存在冲突",
"auxiliary_supplement": "辅助证据补充"
},
"fields": {
"reservation_id": "预约单号",
@@ -1909,10 +2135,20 @@
"subtitle": "检查订单信息和库存来源是否满足创建条件。",
"canBuildYes": "可建单",
"canBuildNo": "暂不可建单",
"overallResult": "整单建单结果",
"manualConfirmOnly": "整单检查通过,但系统自动建单资格未通过,需要人工确认后建单。",
"autoCreateFailureTitle": "自动建单未通过的原因",
"lowConfidenceGate": "关键字段置信度不足",
"autoCreateDisabled": "自动建单开关未启用",
"autoCreateUnknown": "自动建单资格检查未通过",
"unexplainedBlocked": "系统判定暂不可建单,但当前未返回具体阻断原因,请重新校验以刷新检查结果。",
"overallPass": "整单可建单",
"overallBlocked": "整单暂不可建单",
"statusLabel": "资格状态",
"blockingSummary": "需要处理",
"lineProjections": "明细检查结果",
"lineCanBuild": "可建单",
"linePassesOrderBlocked": "本行通过,整单暂不可建单",
"lineBlocked": "需要处理",
"reservation": "预约单号",
"routingStatusLabel": "库存来源状态",
@@ -1921,6 +2157,16 @@
"blockReason": "需要处理的原因",
"manualReason": "人工说明",
"confirmBlocked": "当前草稿未满足建单资格,请先处理库存源或校验问题后再确认。",
"autoCreateBlocked": "人工建单资格已通过,但自动建单资格未通过;确认后将由人工推进。",
"autoGateProgressHint": "已满足自动建单条件,系统将自动建单并推进,无需手动确认。",
"layers": {
"gate": "流程门禁",
"gatePass": "无阻断门禁",
"gateBlocked": "阻断门禁:{gates}",
"qualification": "建单资格(can_build)",
"autoGate": "自动建单(can_auto_create)",
"autoGatePass": "满足自动建单条件"
},
"gates": {
"customer_confirmed": "客户已确认",
"required_fields_complete": "必填字段完整",
@@ -2016,18 +2262,136 @@
}
}
},
"shippingWorkflow": {
"shippingProcessing": {
"panelTitle": "当前货代处理",
"pendingMaterials": "待处理材料",
"orderTasks": "订单任务",
"groupNeedsAction": "需要你处理 · {count}",
"groupProcessing": "处理中 · {count}",
"groupCompleted": "已完成 · {count}",
"taskTitle": "{label}",
"justAppended": "刚刚新增 {count} 个附件",
"justCreated": "刚刚创建 · 由本次发送产生",
"focusTaskBanner": "已聚焦任务 {taskNo},进度见下方处理对象",
"networkRecoverable": "网络暂时不可用,正在自动重试…",
"pdfPreferred": "规则:PDF优先",
"evidenceConflict": "存在跨证据冲突",
"retryFromFailure": "从失败节点重试",
"failureReason": "失败原因:{code}",
"parseAttempt": "第 {count} 次尝试",
"gateCode": "门禁:{code}",
"assetStatusLabel": "资产:{status}",
"assetStatus": {
"ready": "资产可用",
"deleted": "资产已删除",
"expired": "资产已过期",
"purged": "资产已清理",
"unavailable": "资产不可用"
},
"unifiedProgress": "统一处理进度",
"workItemType": {
"order_intake": "待处理材料",
"order_task": "订单任务"
},
"sourceType": {
"eml": "邮件 EML",
"direct_pdf": "直接上传 PDF"
},
"status": {
"processing": "处理中",
"waiting_review": "待复核",
"blocked": "已阻断",
"automating": "自动推进中",
"completed": "已完成",
"failed": "失败",
"cancelled": "已取消"
},
"stage": {
"upload_received": "已接收上传",
"email_parsing": "邮件解析中",
"document_parsing": "文档解析中",
"email_adjudicating": "邮件内裁决中",
"candidate_creating": "生成订单候选",
"customer_resolving": "客户识别中",
"duplicate_checking": "查重中",
"inventory_source_resolving": "库存源解析中",
"waiting_review": "待人工复核",
"order_creating": "创建正式订单",
"inventory_fetching": "获取库存中",
"inventory_matching": "库存匹配中",
"excel_generating": "生成发货 Excel",
"freight_uploading": "货代上传中",
"completed": "已完成"
},
"stageNode": {
"skipped": "已跳过",
"pending": "未开始",
"running": "进行中",
"passed": "已通过",
"blocked": "已阻断",
"failed": "失败"
},
"action": {
"none": "无操作",
"open_order_review": "进入复核",
"edit_formal_task": "编辑正式任务",
"open_inventory_source_review": "进入库存源复核",
"open_inventory_match_review": "进入库存匹配复核",
"open_shortage_review": "处理库存异常",
"upload_inventory_file": "上传库存文件",
"retry": "重试",
"refresh": "刷新进度",
"regenerate_excel": "重新生成 Excel",
"download_excel": "下载 Excel",
"open_manual_upload": "人工上传登记",
"view_result": "查看结果",
"view_record": "查看记录",
"more": "更多"
},
"title": "本次处理中",
"summaryLine": "{total} 个文件 · {processing} 个处理中 · {needsAction} 个待处理 · {completed} 个已完成",
"panelPinnedHint": "仍有处理中或待处理任务,侧栏保持展开;可收起文件详情",
"panelPinnedLabel": "处理中",
"groupHistory": "处理记录 · {count}",
"expandHistory": "展开",
"collapseHistory": "收起",
"taskFiles": "{count} 个文件",
"taskPdfCount": "{count} 个 PDF",
"multiPdfTaskTitle": "订单识别任务",
"multiPdfNameSeparator": "、",
"multiPdfNamesMore": "{names} 等 {count} 个 PDF",
"cancelEntireTask": "取消整个任务",
"cancelEntireTaskSingle": "取消本次识别",
"expandFileDetails": "展开文件详情",
"collapseFileDetails": "收起文件详情",
"viewTaskDetails": "查看详情",
"cancelTaskMissingRun": "无法取消:缺少当前识别任务编号",
"retryTaskMissingRun": "无法重试:缺少当前识别任务编号",
"unnamedPdf": "未命名 PDF",
"updatedAt": "更新于 {time}",
"updatedYesterday": "昨天 {time}",
"updatedOnDate": "{date} {time}",
"taskStatus": {
"queued": "排队中",
"processing": "识别中",
"pending_review": "待人工复核",
"failed": "识别失败",
"completed": "识别完成",
"cancelling": "正在取消",
"cancelled": "已取消",
"unknown": "状态待确认"
},
"runNoSecondary": "Run 编号:{runNo}",
"showDetails": "在弹层中查看完整列表",
"detailsDrawerTitle": "批次与文件列表",
"detailsDrawerHint": "弹层展示,不压缩对话区",
"focusTaskBanner": "已聚焦任务 {taskNo},进度见下方处理对象(非独立 Task 工作台)",
"compactSummary": "{active} 个处理中 · 共 {total} 个文件",
"compactSummary": "{active} 个文件 · 共 {total} 个文件",
"emptyCompact": "暂无进行中的对象;可打开弹层查看全部文件。",
"hideDetails": "关闭",
"processingObjectsTitle": "处理对象({count})",
"objectKind": {
"run": "识别运行",
"document": "PDF 文件",
"candidate": "订单候选",
"task": "履约任务",
"process_gate": "需人工处理"
@@ -2036,7 +2400,6 @@
"pendingOnlyFilter": "仅看待处理",
"loading": "加载中…",
"empty": "上传后将在此显示本次任务进度。",
"networkRecoverable": "网络暂时不可用,正在自动重试…",
"cancelReasonPrompt": "请填写取消此文件的原因",
"reasonRequired": "必须填写原因后才能继续",
"versionLabel": "V{version}",
@@ -2079,6 +2442,17 @@
"upload_rpa_failed": "货代上传 RPA 失败",
"unknown": "状态待确认"
},
"activity": {
"queued": "等待开始处理",
"layout_parsing": "正在解析 PDF 页面与表格",
"extracting": "正在提取订单字段",
"building_order": "正在生成订单草稿",
"inventory_matching": "正在匹配库存来源",
"generating_excel": "正在生成结果文件",
"currentStageTitle": "当前阶段",
"fileListTitle": "处理文件",
"currentAction": "当前处理:{action}"
},
"closedReason": {
"confirmed": "已确认建单",
"non_order": "已标记非订单",
@@ -2132,5 +2506,10 @@
"unknown": "处理状态已更新"
},
"versionHistoryNote": "完整版本历史待后端接口补齐;当前仅展示工作项最新版本。"
}
},
"shippingSubmission": {
"appended": "已追加到当前订单识别任务({count} 个附件)",
"created": "已创建新的订单识别任务({count} 个附件)"
},
"shippingOrderExtractionErrorRequestId": "处理编号:{id}"
}