refactor(shipping-ui): 收口订单复核与库存流程前端投影

This commit is contained in:
hugo committed 2026-09-04 21:01:59 +08:00
1 parent 265a6e179a
commit 4e8b2f8db2
27 files changed
+618 -407

No files matched your search

+38 -60
View File
@@ -101,25 +101,6 @@
"shippingNoticeDuplicateResolved": "重复处理方式已保存。",
"shippingNoticeDuplicateResolveFailed": "保存重复处理方式失败。",
"shippingCandidateTitle": "订单候选审核",
"shippingCustomerMatch": {
"title": "客户匹配",
"role": "客户角色",
"rawName": "订单原文",
"standardName": "标准客户",
"shortCode": "客户简称",
"site": "送货站点",
"statusLabel": "匹配状态",
"roles": {
"bill_to": "账款客户",
"ship_to": "送货客户"
},
"status": {
"unmatched": "未匹配",
"unique_candidate": "唯一候选",
"ambiguous": "多个候选",
"confirmed": "已确认"
}
},
"shippingCandidateCount": "共 {count} 个订单",
"shippingCandidateReady": "可建单",
"shippingCandidateNeedsReview": "需要审核",
@@ -1593,10 +1574,11 @@
"completed": "已完成,可查看",
"blocked": "前置未完成",
"prerequisite": "请先完成当前阶段",
"autoAdvanced": "已自动推进到{stage}",
"identity": {"po": "PO:{value}", "case": "Case:{value}", "version": "订单版本:V{value}"},
"descriptions": {"intake_parse": "核对邮件正文和当前附件,处置接收解析异常。", "order_review": "核实字段和证据,处理冲突并冻结订单。", "fulfillment_prep": "完成库存匹配并生成通知 Excel。", "freight_upload": "下载通知文件、执行 RPA 或登记人工上传,并核对未知结果。", "upload_complete": "仅在上传成功证据完整时展示通知完成。"},
"intakeParse": {"title": "接收解析", "email": "邮件正文", "emailPreviewTitle": "邮件正文安全预览", "noEmail": "无邮件上下文", "attachment": "当前附件", "fileName": "文件名", "fileType": "文件类型", "preview": "附件预览", "previewLoading": "正在加载附件预览…", "loadPreview": "加载附件预览", "previewUnsupported": "当前附件不是 PDF,不能在此预览。", "loading": "正在加载接收解析上下文…", "loadFailed": "接收解析上下文加载失败。", "retry": "重试"},
"prepare": {"title": "通知准备", "subtitle": "库存候选、匹配异常和通知文件生成均在此阶段处理。", "frozenOrder": "冻结订单", "inventorySource": "库存源", "excel": "通知 Excel", "downloadInventory": "下载库存文件", "retryInventory": "重新获取库存", "releaseShortage": "库存缺口放行", "releaseShortageHint": "放行后可生成发货 Excel;请填写本次缺口放行原因。", "releaseReasonPlaceholder": "请输入放行原因(必填)", "releaseConfirm": "确认放行", "requiredQty": "需求数量", "matchWorkspace": "库存匹配", "lineCount": "{count} 行库存结果", "lineStatus": "匹配状态", "matched": "已匹配", "shortage": "库存不足", "matchStatus": {"not_found": "未匹配到库存", "preparing": "库存准备中", "mapping_failed": "库存映射失败", "unavailable": "库存不可用", "source_conflict": "库存源冲突", "invalid_key": "匹配键无效", "result_missing": "等待匹配结果", "unknown": "状态未知"}, "pending": "库存匹配或通知文件尚未生成。请查看右侧当前处理,按当前门禁继续。", "loadFailed": "通知准备任务详情加载失败,当前数据未能确认。", "detailUnavailable": "通知准备任务详情尚未返回,暂时无法展示冻结订单和库存匹配数据。", "retry": "重新加载"},
"prepare": {"customerPoLine": "客户PO行号", "title": "通知准备", "subtitle": "库存候选、匹配异常和通知文件生成均在此阶段处理。", "frozenOrder": "冻结订单", "inventorySource": "库存源", "excel": "通知 Excel", "downloadInventory": "下载库存文件", "retryInventory": "重新获取库存", "sourceAmbiguous": "该行在多个库存源命中,请选择实际发货仓库", "sourceLocked": "通知 Excel 已生成,库存源已锁定", "selectSource": "选择库存源", "releaseShortage": "库存缺口放行", "releaseShortageHint": "放行后可生成发货 Excel;请填写本次缺口放行原因。", "releaseReasonPlaceholder": "请输入放行原因(必填)", "releaseConfirm": "确认放行", "requiredQty": "需求数量", "matchWorkspace": "库存匹配", "lineCount": "{count} 行库存结果", "lineStatus": "匹配状态", "matched": "已匹配", "shortage": "库存不足", "matchStatus": {"not_found": "未匹配到库存", "preparing": "库存准备中", "mapping_failed": "库存映射失败", "unavailable": "库存不可用", "source_conflict": "库存源冲突", "invalid_key": "匹配键无效", "result_missing": "等待匹配结果", "unknown": "状态未知"}, "pending": "库存匹配或通知文件尚未生成。请查看右侧当前处理,按当前门禁继续。", "loadFailed": "通知准备任务详情加载失败,当前数据未能确认。", "detailUnavailable": "通知准备任务详情尚未返回,暂时无法展示冻结订单和库存匹配数据。", "retry": "重新加载", "capability": {"retry_inventory_preparation": "重新获取库存", "reload_inventory_result": "重读库存结果", "override_line_inventory_source": "修改库存源"}, "capabilityDisabled": {"excel_locked": "通知 Excel 已生成,库存源已锁定", "no_candidates": "暂无可用库存源候选", "no_prior_result": "暂无历史库存结果"}},
"freightUpload": {"title": "货代上传", "subtitle": "按发货通知单聚合展示;每张发货通知单对应一张 Excel。", "loading": "正在加载发货通知…", "loadFailed": "发货通知加载失败,请刷新后重试。", "poMissing": "当前任务尚未识别到 PO,暂时无法聚合发货通知。", "empty": "当前 PO 暂无可上传的发货通知。", "download": "下载 Excel", "lineNo": "项次", "lineNoSourceCustomerPo": "客户 PO 行号", "lineNoSourceSequence": "系统行序(未识别到内部项次)", "selected": "已选 {count} 个发货通知", "batchDownload": "批量下载", "batchRpa": "批量 RPA 上传", "batchConfirm": "批量确认已上传", "noticeCount": "共 {count} 张发货通知", "uploadError": "上传失败原因:{reason}", "uploadStatus": {"pending": "待上传", "uploading": "上传中", "failed": "上传失败", "uploaded": "已上传", "needsHuman": "需人工上传"}},
"uploadComplete": {"title": "通知完成", "subtitle": "上传成功证据已核验,以下内容仅供查看。", "batchCount": "本批已上传 {count} 张发货通知", "batchDownload": "下载本批 ZIP", "batchDownloading": "正在打包…", "uploaded": "已上传", "uploadedAt": "{time}", "exportFile": "文件:{file}", "expand": "展开明细", "collapse": "收起明细", "uploadMode": "上传方式:{mode}", "uploadModeManual": "人工确认", "uploadModeRpa": "RPA 上传", "empty": "本批暂无已上传的发货通知。"},
"upload": {"title": "货代上传", "subtitle": "下载已生成的通知 Excel,上传至货代平台后确认人工上传,或执行 RPA。", "manualUpload": "确认人工上传", "attempt": "最近上传尝试:{mode} · {status}"},
@@ -1810,15 +1792,11 @@
},
"machineSource": "来源:系统识别",
"manualSource": "来源:人工修改",
"derivedSource": "来源:规则派生",
"overrideSource": "来源:人工覆盖(已锁定)",
"skippedSource": "来源:派生跳过",
"valueSources": {
"machine": "系统识别",
"manual": "人工修改",
"manual_override": "人工覆盖",
"derived": "规则派生",
"skipped": "派生跳过",
"llm_suggested": "AI 建议(待确认)"
},
"llmSuggestion": {
@@ -1872,38 +1850,15 @@
"cancel": "取消",
"submit": "提交裁决"
},
"lineNoOverrideDialog": {
"title": "覆盖内部项次",
"impact": "内部项次覆盖将永久记入审计,并锁定该字段直至恢复机器值。请选择原因。",
"newValue": "新项次值:{value}",
"reasonCodeLabel": "覆盖原因",
"reasonCodeRequired": "请选择覆盖原因",
"reasonTextLabel": "补充说明",
"reasonTextPlaceholder": "选择「其他」时必须填写说明",
"reasonTextRequired": "选择「其他」时必须填写补充说明",
"confirm": "确认覆盖",
"reasons": {
"recognition_error": "识别错误",
"customer_line_exception": "客户行号例外",
"business_correction": "业务修正",
"other": "其他"
}
},
"restoreMachine": "恢复系统识别值",
"restorePriorProjection": "恢复识别/派生值",
"lineNoUnsavedHint": "未保存 · 失焦后填写覆盖原因",
"lineNoUnsavedHint": "未保存",
"lockedHint": "已锁定",
"derivedFrom": "来源字段 {field}",
"derivationRuleId": "规则 {ruleId}",
"derivationSkipReason": "跳过原因 {reason}",
"lineage": {
"source": "值来源",
"locked": "锁定状态",
"overrideReason": "覆盖原因",
"overrideNote": "补充说明",
"derivedFrom": "派生自",
"ruleId": "规则 ID",
"skipReason": "跳过原因"
"derivedFrom": "派生自"
},
"saved": "已保存",
"saving": "保存中",
@@ -2039,6 +1994,7 @@
"backToSession": "返回本次处理",
"workItemHeader": "工作项 {itemNo} · {version}",
"jumpToCurrentVersion": "跳转当前版本",
"autoJumpedToCurrentVersion": "已自动切换到当前版本",
"currentVersionUnavailable": "当前版本尚未生成或进度暂时无法刷新,请稍后重试。",
"showContext": "对话上下文",
"hideContext": "收起对话上下文",
@@ -2328,7 +2284,8 @@
},
"automation": {
"waitingPreOt": "等待系统启动自动建单",
"waitingPostOt": "等待系统启动"
"waitingPostOt": "等待系统启动",
"retryStp": "重试自动推进"
},
"currentProcessing": {
"title": "当前处理",
@@ -2651,14 +2608,26 @@
},
"shippingProcessing": {
"batchStatusTitle": "批处理状态",
"batchSummaryIncomplete": "本批次未完成 · 已识别 {recognized} 个文件 · 其中 {failed} 个异常",
"batchSummaryProcessing": "本批次处理中 · 已识别 {recognized} 个文件",
"batchSummaryCompleted": "本批次处理完成 · 已识别 {recognized} 个文件",
"recognizingAttachments": "正在识别附件…",
"recognizedOfTotal": "已识别 {recognized}/{submitted}",
"notRecognized": "待识别",
"notRecognizedHint": "尚未识别,系统仍在处理中,可稍后查看原因",
"ignoredNonOrderAttachment": "已忽略",
"ignoredNonOrderAttachmentHint": "非订单 PDF,不参与订单识别",
"batchWorkbench": {
"inGroupCount": "本组 {inGroup}/共 {total} 个文件",
"overview": {
"totalFiles": "总文件",
"processing": "处理中",
"completed": "已完成",
"needsAction": "需处理",
"ignored": "已忽略",
"completion": "{percent}% 完成",
"processedOfTotal": "{completed}/{total} 已处理"
"processedOfTotal": "{completed}/{total} 已处理",
"processedOfTotalWithIgnored": "{completed}/{total} 个订单文件已处理 · {ignored} 个文件已忽略"
},
"groups": {
"failed": "异常 · {count} 个文件",
@@ -2721,17 +2690,24 @@
"pendingMaterials": "待处理材料",
"orderTasks": "订单任务",
"groupNeedsAction": "需要你处理 · {count} 个任务",
"groupFailed": "异常 / 失败 · {count} 个任务",
"groupWaitingHuman": "待人工处理 / 中断 · {count} 个任务",
"groupProcessing": "系统处理中 · {count} 个任务",
"groupFailed": "异常 / 失败 · {count} 个文件",
"groupWaitingHuman": "待人工处理 / 中断 · {count} 个文件",
"groupProcessing": "系统处理中 · {count} 个文件",
"groupIgnored": "已忽略 · {count} 个文件",
"aggregate": {
"completed": "已上传完成 {count}",
"processing": "处理中 {count}",
"needsAction": "待人工 {count}",
"failed": "异常 {count}"
},
"groupCompleted": "已完成 · {count}",
"groupProcessingRecords": "处理记录 · {count}",
"statusBadge": {
"completed": "完成",
"processing": "处理中",
"needsAction": "待人工",
"failed": "异常"
},
"groupCompleted": "已完成 · {count} 个文件",
"groupProcessingRecords": "处理记录 · {count} 个文件",
"groupRecordCompleted": "已完成",
"groupRecordHistoryVersions": "历史版本",
"groupRecordCancelled": "已取消",
@@ -2912,13 +2888,15 @@
"panelPinnedHint": "仍有处理中或待处理任务,侧栏保持展开;可收起文件详情",
"panelPinnedLabel": "待处理",
"groupHistory": "处理记录 · {count}",
"groupHistoryRecords": "历史版本 · {count}",
"groupCancelled": "已取消 · {count}",
"groupHistoryRecords": "历史版本 · {count} 个文件",
"groupCancelled": "已取消 · {count} 个文件",
"expandHistory": "展开",
"collapseHistory": "收起",
"taskFiles": "{count} 个文件",
"taskPdfCount": "{count} 个 PDF",
"multiPdfTaskTitle": "订单识别任务",
"multiPdfTaskTitle": "本次订单文件处理",
"completedAndIgnoredFileSummary": "订单文件 {completed} 个已完成 · {ignored} 个已忽略",
"ignoredFileSummary": "{count} 个已忽略",
"multiPdfNameSeparator": "、",
"multiPdfNamesMore": "{names} 等 {count} 个 PDF",
"cancelEntireTask": "取消整个任务",
@@ -3597,4 +3575,4 @@
"selectedRetryableCount": "其中 {count} 个可重试",
"noRetryable": "所选来源均无需重试(已就绪或抓取中)"
}
}
}