feat(shipping-notice,receipt-report): 新增收料报表功能并优化发货通知流程

清理废弃的shipping xfa ocr automark相关代码和job配置
新增收料报表管理的前端页面、路由和侧边栏入口
新增后端收料报表配置接口、数据库模型和RPA脚本
优化发货通知流程的重试策略,将shipping相关job默认不自动重试
移除废弃的库存源确认相关逻辑,更新流程门禁规则
重构订单模板的值适配器模块,新增坐标OCR值适配器
清理前端shipping菜单和action的废弃选项
更新相关文档和测试用例,调整.gitignore忽略规则
This commit is contained in:
hugo committed 2026-08-20 20:23:10 +08:00
1 parent 260465b72d
commit 1b6483a4ea
466 files changed
+32115 -33796

No files matched your search

+12 -75
View File
@@ -660,43 +660,8 @@
"diagnosisReservationRequiredAdvice": "Add the Reservation ID, or confirm this customer can proceed without one.",
"diagnosisInventoryWaitingTitle": "Waiting for inventory file or inventory entry confirmation.",
"diagnosisInventoryWaitingAdvice": "Upload the batch inventory snapshot or confirm the automatic capture entry.",
"diagnosisInventorySourceTitle": "Inventory query source is not confirmed yet.",
"diagnosisInventorySourceAdvice": "Pick a candidate source or type a destination/warehouse hint (e.g. AWSDU, Dublin), then confirm.",
"diagnosisInventorySourceAmbiguousTitle": "Multiple inventory sources matched; auto-selection is not possible.",
"diagnosisInventorySourceAmbiguousAdvice": "Choose the official source code explicitly; site and warehouse will be generated from config after confirmation.",
"diagnosisIssuesTitle": "{count} issues found during notice parsing",
"diagnosisIssuesAdvice": "Resolve each item below. If parsing looks wrong, confirm or re-parse first, then handle inventory source.",
"blockedInventorySource": "Inventory source pending confirmation",
"suggestConfirmInventorySource": "Select or enter inventory source, then confirm",
"inventorySource": {
"title": "Inventory query source",
"waitingConfirm": "Waiting for inventory source confirmation",
"autoMatched": "Inventory source auto-matched",
"unresolved": "Inventory source could not be determined",
"ambiguous": "Multiple candidate inventory sources matched",
"invalid": "Inventory source configuration is invalid",
"conflicted": "Inventory source adjudication conflict",
"changed": "Routing changed; re-confirmation required",
"confirmAction": "Confirm inventory source",
"retryResolveAction": "Re-evaluate",
"confirmDisplay": "Confirm inventory source: {label}",
"confirmWithTask": "Confirm inventory source\nTask: {taskId}",
"actionWithTask": "{message} (Task: {taskId})",
"inputHint": "Enter the inventory source hint to use, e.g. AWSDU, Dublin, or Singapore.",
"confirmFailed": "Failed to confirm inventory source",
"retryResolveDone": "Inventory source status refreshed",
"candidatesTitle": "Candidate inventory sources",
"siteId": "Site ID",
"warehouseId": "Warehouse ID",
"sourceCode": "Source code",
"statusResolved": "Auto-resolved",
"statusUserConfirmed": "User confirmed",
"statusUnresolved": "Unresolved",
"statusAmbiguous": "Ambiguous",
"statusInvalid": "Invalid",
"statusConflicted": "Conflicted",
"identityMismatch": "Inventory snapshot does not match task inventory source"
},
"diagnosisCompletedTitle": "Task is completed and archived.",
"diagnosisCompletedAdvice": "No action required; review export files or upload receipts if needed.",
"diagnosisStepWaitingTitle": "Step {step} is waiting for a prerequisite.",
@@ -1514,8 +1479,8 @@
"prerequisite": "Complete the current stage first",
"identity": {"po": "PO: {value}", "case": "Case: {value}", "version": "Order version: V{value}"},
"descriptions": {"intake_parse": "Review the email body and current attachment, then resolve intake parsing issues.", "order_review": "Verify fields and evidence, resolve conflicts, and freeze the order.", "fulfillment_prep": "Complete inventory matching and generate the notice Excel.", "upload_complete": "Download, upload or register the notice, and retain the receipt."},
"intakeParse": {"title": "Intake and parsing", "email": "Email body", "noEmail": "No email context", "attachment": "Current attachment", "fileName": "File name", "fileType": "File type", "preview": "Attachment preview", "previewLoading": "Loading attachment preview…", "loadPreview": "Load attachment preview", "previewUnsupported": "The current attachment is not a PDF and cannot be previewed here.", "loading": "Loading intake parsing context…", "loadFailed": "Failed to load intake parsing context.", "retry": "Retry"},
"prepare": {"title": "Notice preparation", "subtitle": "Handle inventory candidates, matching issues, and notice generation here.", "frozenOrder": "Frozen order", "inventorySource": "Inventory source", "excel": "Shipping Excel", "downloadInventory": "Download inventory file", "requiredQty": "Required quantity", "matchWorkspace": "Inventory matching", "lineCount": "{count} inventory results", "lineStatus": "Match status", "matched": "Matched", "shortage": "Shortage", "pending": "Inventory matching or the shipping file is not ready yet. Use the current processing card to continue.", "loadFailed": "Failed to load notice preparation details; current data could not be confirmed.", "detailUnavailable": "Notice preparation details have not returned yet, so frozen order and inventory matching data cannot be shown.", "retry": "Reload"},
"intakeParse": {"title": "Intake and parsing", "email": "Email body", "emailPreviewTitle": "Safe email body preview", "noEmail": "No email context", "attachment": "Current attachment", "fileName": "File name", "fileType": "File type", "preview": "Attachment preview", "previewLoading": "Loading attachment preview…", "loadPreview": "Load attachment preview", "previewUnsupported": "The current attachment is not a PDF and cannot be previewed here.", "loading": "Loading intake parsing context…", "loadFailed": "Failed to load intake parsing context.", "retry": "Retry"},
"prepare": {"title": "Notice preparation", "subtitle": "Handle inventory candidates, matching issues, and notice generation here.", "frozenOrder": "Frozen order", "inventorySource": "Inventory source", "excel": "Shipping Excel", "downloadInventory": "Download inventory file", "retryInventory": "Re-fetch inventory", "releaseShortage": "Release shortage", "releaseShortageHint": "Release allows shipping Excel generation. State the reason for this shortage release.", "releaseReasonPlaceholder": "Enter release reason (required)", "releaseConfirm": "Confirm release", "requiredQty": "Required quantity", "matchWorkspace": "Inventory matching", "lineCount": "{count} inventory results", "lineStatus": "Match status", "matched": "Matched", "shortage": "Inventory shortage", "matchStatus": {"not_found": "Inventory not found", "preparing": "Preparing inventory", "mapping_failed": "Inventory mapping failed", "unavailable": "Inventory unavailable", "source_conflict": "Inventory source conflict", "invalid_key": "Invalid match key", "result_missing": "Awaiting match result", "unknown": "Unknown status"}, "pending": "Inventory matching or the shipping file is not ready yet. Use the current processing card to continue.", "loadFailed": "Failed to load notice preparation details; current data could not be confirmed.", "detailUnavailable": "Notice preparation details have not returned yet, so frozen order and inventory matching data cannot be shown.", "retry": "Reload"},
"upload": {"title": "Notice completion", "subtitle": "Download the notice Excel, upload or register manual upload, and retain the receipt.", "manualUpload": "Register manual upload", "receipt": "Freight receipt: {value}", "attempt": "Latest upload attempt: {mode} · {status}"},
"stages": {
"intake_parse": "Intake and parsing",
@@ -1852,7 +1817,6 @@
"markNonOrder": "Mark as non-order",
"markQualityIssue": "File quality issue",
"reparse": "Reparse this PDF",
"uploadReplacement": "Upload replacement PDF",
"confirmCreate": "Confirm and create task",
"confirmPrompt": "This freezes the current draft and creates one independent task. Editing will no longer be available. Continue?",
"confirmSuccess": "Task {taskNo} created",
@@ -1876,33 +1840,6 @@
"unknown": "Status pending confirmation"
}
},
"conversationRetry": {
"title": "Conversation retry result",
"subtitle": "Recoverable tasks were scanned and synced to the workbench",
"retrying": "Submitting…",
"viewResult": "View result",
"toast": "Submitted {retried} task(s)",
"outcome": {
"queued": "Submitted",
"needs_human": "Manual action",
"failed": "Retry failed",
"skipped": "Skipped",
"unknown": "Status pending"
},
"retried": "Retried",
"skipped": "Skipped",
"failed": "Failed",
"blocked": "Blocked",
"closeAndRefresh": "Close and refresh",
"reason": {
"already_running": "Already running",
"already_completed": "Already completed",
"already_confirmed": "Already confirmed",
"task_missing": "Formal task missing",
"human_blocking": "Manual action required",
"not_retryable": "Not retryable"
}
},
"workflowProgress": {
"title": "Auto progress",
"subtitle": "Continues after confirmation until waiting for manual upload registration; register credentials in the Task Center.",
@@ -1942,7 +1879,7 @@
"refreshNow": "Refresh now",
"stalled": "The progress has not changed for a while, but the run is still being processed in the background. Refresh or retry if it remains unchanged.",
"monitoringPaused": "No new progress activity was received. Monitoring on this page is paused and the background task status is not yet confirmed. Refresh to check again or recognize again.",
"refreshFailed": "Progress is temporarily unavailable. The last stage is retained while retrying automatically.",
"refreshFailed": "Progress is temporarily unavailable. The last stage is retained; refresh manually later.",
"failed": "Recognition did not complete. The previous version was retained and you can recognize it again now.",
"interrupted": "Processing interrupted",
"interruptedMessage": "Progress updates stopped before completion. The previous version was retained; you can recognize the PDF again.",
@@ -2144,6 +2081,7 @@
"retryPreparation": "Retry inventory fetch",
"retryMatching": "Retry inventory match",
"retry": "Retry",
"reparse_batch": "Reparse this batch",
"moreActions": "More actions",
"inventorySource": "Inventory source",
"inventorySourceStatus": {
@@ -2328,9 +2266,12 @@
"ready": "Ready",
"unknownField": "Unknown field"
},
"fieldConflict": {
"fieldConflict": {
"title": "Field conflicts to resolve ({count})",
"subtitle": "Conflicting values from multiple sources are not auto-applied. Pick one value or enter a custom value before building the order.",
"subtitle": "Conflicting values from multiple sources are not auto-applied. Pick one value or enter a custom value before building the order.",
"evidenceIssueTitle": "Evidence to confirm ({count})",
"evidenceIssueSubtitle": "This field lacks traceable document evidence, not a value conflict. Verify the source or reparse the document.",
"scope": { "header": "Order header", "line": "Order line", "line_unassigned": "Order line (not located)", "unscoped": "Field scope not located" },
"optionLabel": "Option {index}",
"adoptOption": "Use this value",
"customValue": "Enter custom value",
@@ -2533,11 +2474,6 @@
"impact": "This closes the PDF work item as non-order and it cannot return to a confirmable state.",
"confirm": "Confirm mark"
},
"replace": {
"title": "Upload replacement PDF",
"impact": "The new PDF replaces the current document and triggers re-recognition. The current version becomes read-only.",
"confirm": "Confirm upload"
},
"reasonCodeLabel": "Reason type",
"reasonCodeRequired": "Please select a reason type",
"quality_issue": {
@@ -2693,7 +2629,7 @@
"justAppended": "Just added {count} attachment(s)",
"justCreated": "Just created · from this send",
"focusTaskBanner": "Focused on task {taskNo}; see progress below",
"networkRecoverable": "Network temporarily unavailable; retrying…",
"networkRecoverable": "Network temporarily unavailable. Refresh manually later.",
"pdfPreferred": "Rule: PDF preferred",
"evidenceConflict": "Cross-evidence conflict",
"retryFromFailure": "Retry from failed step",
@@ -2813,7 +2749,6 @@
"resolve_field_conflicts": "Resolve field conflicts",
"adjudicate_duplicate": "Adjudicate duplicate",
"reconcile_and_progress": "Reconcile and resume",
"open_inventory_source_review": "Review inventory source",
"open_inventory_match_review": "Review inventory match",
"open_shortage_review": "Handle shortage",
"upload_inventory_file": "Upload inventory file",
@@ -2988,6 +2923,7 @@
"reasonDialog": {
"cancelTitle": "Cancel this file",
"reparseTitle": "Retry / re-identify",
"reparseBatchTitle": "Reparse this batch",
"impact": "Provide a reason for audit. Reason is required.",
"reasonLabel": "Reason",
"reasonPlaceholder": "Describe the reason",
@@ -2995,6 +2931,7 @@
"dismiss": "Back",
"cancelConfirm": "Confirm cancel",
"reparseConfirm": "Confirm reparse",
"reparseBatchConfirm": "Confirm batch reparse",
"submitting": "Submitting…"
},
"detail": {