feat(shipping-notice): 收敛订单处理状态与履约门禁

This commit is contained in:
hugo committed 2026-09-07 09:42:12 +08:00
1 parent bffcd55b40
commit 70dd0051b8
153 files changed
+10916 -4296

No files matched your search

+184 -20
View File
@@ -542,7 +542,13 @@
"resolveFailed": "Failed to resolve conflict. Refresh and try again."
},
"shippingNoticeUi": {
"stage": {"intakeParse": "Intake and parsing", "orderReview": "Order review", "fulfillmentPrep": "Notification preparation", "freightUpload": "Freight upload", "uploadComplete": "Notification completion"},
"stage": {
"intakeParse": "Intake and parsing",
"orderReview": "Order review",
"fulfillmentPrep": "Notification preparation",
"freightUpload": "Freight upload",
"uploadComplete": "Notification completion"
},
"rpaModeBrowser": "Real RPA",
"rpaModeMock": "Mock RPA",
"rpaModeUnknown": "RPA mode unknown",
@@ -998,7 +1004,11 @@
"progressPercent": "Completion",
"stepNo": "Step {value}",
"defaultLearnerName": "Current learner",
"noContent": { "loading": "Loading training content...", "title": "No training content", "description": "The administrator has not published the current training configuration yet." },
"noContent": {
"loading": "Loading training content...",
"title": "No training content",
"description": "The administrator has not published the current training configuration yet."
},
"unknownDepartment": "Department pending",
"video": {
"title": "Step 1: Watch the training video",
@@ -1468,13 +1478,136 @@
"blocked": "Prerequisite incomplete",
"prerequisite": "Complete the current stage first",
"autoAdvanced": "Auto-advanced to {stage}",
"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.", "freight_upload": "Download the notice, run RPA or register a manual upload, and reconcile unknown results.", "upload_complete": "Shown only after complete upload-success evidence is verified."},
"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": {"customerPoLine": "Customer PO Line No.", "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", "sourceAmbiguous": "This line matched multiple inventory sources; select the actual shipping warehouse", "sourceLocked": "Notice Excel generated; inventory source is locked", "selectSource": "Select inventory source", "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", "capability": {"retry_inventory_preparation": "Re-fetch inventory", "reload_inventory_result": "Reload inventory result", "override_line_inventory_source": "Change inventory source"}, "capabilityDisabled": {"excel_locked": "Notice Excel generated; inventory source is locked", "no_candidates": "No available inventory source candidates", "no_prior_result": "No prior inventory result"}},
"freightUpload": {"title": "Freight upload", "subtitle": "Grouped by shipping notice; each shipping notice has one Excel.", "loading": "Loading shipping notices…", "loadFailed": "Failed to load shipping notices. Refresh and try again.", "poMissing": "The current task has no recognized PO, so notices cannot be grouped yet.", "empty": "No uploadable shipping notices for this PO.", "download": "Download Excel", "lineNo": "Line", "lineNoSourceCustomerPo": "Customer PO line no.", "lineNoSourceSequence": "System sequence (internal line no. not recognized)", "selected": "{count} notices selected", "batchDownload": "Download selected", "batchRpa": "Batch RPA upload", "batchConfirm": "Confirm selected uploaded", "noticeCount": "{count} shipping notice(s)", "uploadError": "Upload error reason: {reason}", "uploadStatus": {"pending": "Pending upload", "uploading": "Uploading", "failed": "Upload failed", "uploaded": "Uploaded", "needsHuman": "Manual upload needed"}},
"uploadComplete": {"title": "Notification completion", "subtitle": "Upload-success evidence is verified. This view is read only.", "batchCount": "{count} shipping notice(s) uploaded in this batch", "batchDownload": "Download batch ZIP", "batchDownloading": "Packaging…", "uploaded": "Uploaded", "uploadedAt": "{time}", "exportFile": "File: {file}", "expand": "Show line details", "collapse": "Hide line details", "uploadMode": "Upload method: {mode}", "uploadModeManual": "Manual confirmation", "uploadModeRpa": "RPA upload", "empty": "No uploaded shipping notices in this batch."},
"upload": {"title": "Freight upload", "subtitle": "Download the notice Excel, upload it on the freight platform and confirm the manual upload, or run RPA.", "manualUpload": "Confirm manual upload", "attempt": "Latest upload attempt: {mode} · {status}"},
"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.",
"freight_upload": "Download the notice, run RPA or register a manual upload, and reconcile unknown results.",
"upload_complete": "Shown only after complete upload-success evidence is verified."
},
"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": {
"customerPoLine": "Customer PO Line No.",
"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",
"sourceAmbiguous": "This line matched multiple inventory sources; select the actual shipping warehouse",
"sourceLocked": "Notice Excel generated; inventory source is locked",
"selectSource": "Select inventory source",
"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",
"inventory_matched": "Matched"
},
"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",
"capability": {
"retry_inventory_preparation": "Re-fetch inventory",
"reload_inventory_result": "Reload inventory result",
"override_line_inventory_source": "Change inventory source"
},
"capabilityDisabled": {
"excel_locked": "Notice Excel generated; inventory source is locked",
"no_candidates": "No available inventory source candidates",
"no_prior_result": "No prior inventory result"
},
"status": {
"ready": "Match ready",
"processing": "Processing",
"blocked": "Blocked"
}
},
"freightUpload": {
"title": "Freight upload",
"subtitle": "Grouped by shipping notice; each shipping notice has one Excel.",
"loading": "Loading shipping notices…",
"loadFailed": "Failed to load shipping notices. Refresh and try again.",
"poMissing": "The current task has no recognized PO, so notices cannot be grouped yet.",
"empty": "No uploadable shipping notices for this PO.",
"download": "Download Excel",
"rpa": "RPA upload",
"confirm": "Confirm uploaded",
"lineNo": "Line",
"lineNoSourceCustomerPo": "Customer PO line no.",
"lineNoSourceSequence": "System sequence (internal line no. not recognized)",
"selected": "{count} notices selected",
"batchDownload": "Download selected",
"batchRpa": "Batch RPA upload",
"batchConfirm": "Confirm selected uploaded",
"noticeCount": "{count} shipping notice(s)",
"uploadError": "Upload error reason: {reason}",
"uploadStatus": {
"pending": "Pending upload",
"uploading": "Uploading",
"failed": "Upload failed",
"uploaded": "Uploaded",
"needsHuman": "Manual upload needed"
}
},
"uploadComplete": {
"title": "Notification completion",
"subtitle": "Upload-success evidence is verified. This view is read only.",
"batchCount": "{count} shipping notice(s) uploaded in this batch",
"batchDownload": "Download batch ZIP",
"batchDownloading": "Packaging…",
"uploaded": "Uploaded",
"uploadedAt": "{time}",
"exportFile": "File: {file}",
"expand": "Show line details",
"collapse": "Hide line details",
"uploadMode": "Upload method: {mode}",
"uploadModeManual": "Manual confirmation",
"uploadModeRpa": "RPA upload",
"empty": "No uploaded shipping notices in this batch."
},
"upload": {
"title": "Freight upload",
"subtitle": "Download the notice Excel, upload it on the freight platform and confirm the manual upload, or run RPA.",
"manualUpload": "Confirm manual upload",
"attempt": "Latest upload attempt: {mode} · {status}"
},
"stages": {
"intake_parse": "Intake and parsing",
"order_review": "Order review",
@@ -1792,7 +1925,7 @@
"confirmAutoProgress": "Task {taskNo} created and auto-progress started",
"autoProgress": {
"result": "Auto-progress result: {status}",
"checkpoint": "Current checkpoint: {checkpoint}",
"position": "Current position: {position}",
"viewTask": "Back to chat to view progress",
"returnToChat": "Back to chat to view progress",
"returnedFocusHint": "Back in chat, focused on task {taskNo} (see In progress on the right)",
@@ -2245,12 +2378,17 @@
"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.",
"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" },
"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",
@@ -2575,9 +2713,18 @@
"downloadFailed": "{count} batch output download(s) failed. Retry individually.",
"singleDownloadFailed": "Batch output download failed"
},
"stageSummary": {"empty": "No files", "needsAction": "{count} needs action", "processing": "{count} processing", "completed": "{count} completed", "total": "{count} files"},
"stageSummary": {
"empty": "No files",
"needsAction": "{count} needs action",
"processing": "{count} processing",
"completed": "{count} completed",
"total": "{count} files"
},
"unclassified": "{count} file(s) still need a lifecycle stage; see the file list",
"search": {"label": "Search files or PO", "placeholder": "Search filename or PO"},
"search": {
"label": "Search files or PO",
"placeholder": "Search filename or PO"
},
"fileProcessing": "File processing",
"filteringByStage": "Filtered by: {stage}",
"clearStageFilter": "Clear filter",
@@ -2704,8 +2851,26 @@
"retry": "Processing failed; check the reason and retry"
},
"progress": {
"step": {"document_queued":"Waiting for the parsing task to start","layout_parsing_started":"Parsing the PDF layout","layout_parsing_completed":"PDF layout parsing completed","profile_matching":"Matching the order template","profile_matched":"Order template matched","table_reconstructed":"Reconstructing the order table","order_fields_extracted":"Extracting order fields","email_supplement_merged":"Merging email supplements","review_ready":"Order result is ready for review","review_required":"Order result requires manual review"},
"lifecycleReason": {"failed":"The current step failed. View details and retry.","cancelled":"This processing run was cancelled.","review_required":"The current result requires manual review.","processing_slow":"The current step is taking longer than expected and is still running.","queue_backlog":"The current step is queued and waiting to run.","processing_attention":"The current step has not completed for a long time. View details or refresh later."},
"step": {
"document_queued": "Waiting for the parsing task to start",
"layout_parsing_started": "Parsing the PDF layout",
"layout_parsing_completed": "PDF layout parsing completed",
"profile_matching": "Matching the order template",
"profile_matched": "Order template matched",
"table_reconstructed": "Reconstructing the order table",
"order_fields_extracted": "Extracting order fields",
"email_supplement_merged": "Merging email supplements",
"review_ready": "Order result is ready for review",
"review_required": "Order result requires manual review"
},
"lifecycleReason": {
"failed": "The current step failed. View details and retry.",
"cancelled": "This processing run was cancelled.",
"review_required": "The current result requires manual review.",
"processing_slow": "The current step is taking longer than expected and is still running.",
"queue_backlog": "The current step is queued and waiting to run.",
"processing_attention": "The current step has not completed for a long time. View details or refresh later."
},
"title": "Order Processing Progress",
"completedOfTotal": "{done} / {total} completed",
"currentStage": "Current: {stage}",
@@ -3406,7 +3571,6 @@
"complete": "Complete",
"missing": "Missing"
},
"transfer": {
"fileProgressTitle": "Receipt file preparation",
"stageFileReady": "File ready",