feat(shipping, admin, workspace, docs): 迭代货代模块、补充文档并处理合并冲突问题

This commit is contained in:
hugo committed 2026-08-12 09:27:33 +08:00
1 parent 4587b56900
commit 3c0e08377c
94 files changed
+29222 -1218

No files matched your search

+469 -6
View File
@@ -100,6 +100,9 @@
"knowledgeBase": "Knowledge Base",
"scheduleRuns": "Schedule Runs",
"shippingNotice": "Shipping Notice",
"shippingCustomers": "Customer Master Data",
"shippingTasks": "Shipping Tasks",
"shippingMyTasks": "Task Center",
"feedback": "Feedback",
"updates": "Recent Updates",
"backToChat": "Back to Chat",
@@ -120,6 +123,7 @@
"schedule": {
"title": "Schedule Runs",
"refresh": "Refresh",
"uploadNotices": "Upload shipping notices",
"search": "Search",
"reset": "Reset",
"loading": "Loading...",
@@ -165,23 +169,438 @@
},
"shippingNotice": {
"title": "Shipping Notice Tasks",
"subtitle": "Read-only view. Continue processing in Chat.",
"subtitle": "Use Task Center for the todo list; open Order Processing for a single order task.",
"refresh": "Refresh",
"uploadNotices": "Upload shipping notices",
"search": "Search",
"loading": "Loading...",
"empty": "No shipping tasks yet",
"selectCase": "Select a task to view details",
"loadFailed": "Failed to load task",
"openChat": "Continue in Chat",
"openChat": "Open Chat session (optional)",
"todo": {
"label": "Current todo",
"currentTodo": "Current todo",
"noActionTitle": "No action needed now",
"noActionMessage": "The system is processing the next step. Check the workflow and activity log.",
"handleInChat": "{action} in Chat",
"workflow": "Workflow",
"orderOverview": "Order overview",
"adminViewOnly": "Admins can view others' tasks but cannot act on their behalf.",
"adminViewOnlyShort": "View only",
"lastActivity": "Last activity",
"terminateReason": "Terminate reason",
"workflowItem": "File item",
"downloadExcel": "Download shipping Excel",
"progressUnavailable": "Unified progress is temporarily unavailable. Refresh the page or try again shortly.",
"manualUploadEndNote": "Excel generated. Download it, upload on the freight platform, then register credentials here.",
"waitingManualUploadNote": "Excel generated. Download it, upload on the freight platform, then register credentials here."
},
"processGate": {
"title": "Action needed",
"currentGate": "Current step",
"blockingMessage": "What needs attention",
"failureDetail": "Failure details",
"blockingFields": "Blocking fields",
"blockingLineField": "Line {line}: {field}",
"reasonCode": "Reason",
"diagnosticHint": "Suggested action",
"responsibleParty": "Responsible party",
"attemptCount": "Attempts",
"attemptCountValue": "{current} / {max} (technical auto-retry cap)",
"viewAudit": "View audit",
"hideAudit": "Hide audit",
"auditLoading": "Loading audit…",
"auditEmpty": "No process-gate audit events",
"auditLoadFailed": "Failed to load process-gate audit",
"auditEventFallback": "Process-gate activity",
"auditEvents": {
"process_gate_created": "Processing step created",
"process_gate_attempt_started": "Processing started",
"process_gate_passed": "Processing step passed",
"process_gate_blocked": "Processing step blocked",
"process_gate_recovery_requested": "Recovery requested",
"process_gate_idempotent_replay": "Result reused (idempotent)",
"process_gate_manual_override": "Result manually overridden",
"process_gate_rule_suggestion_generated": "Rule suggestion generated",
"process_gate_suggestion_adopted": "Rule suggestion adopted",
"process_gate_suggestion_rejected": "Rule suggestion rejected",
"process_gate_downstream_invalidated": "Downstream results invalidated",
"process_gate_technical_retry": "System automatically retried",
"process_gate_lease_taken_over": "Processing taken over by another worker",
"process_gate_artifact_superseded": "Artifact superseded by a newer version",
"process_gate_permission_denied": "Permission denied for this action"
},
"parties": {
"owner": "Order reviewer / task owner",
"worker": "System worker",
"system": "System automation",
"admin": "Administrator",
"external": "External system"
},
"noAction": "No action is currently available",
"versionMissing": "This information has changed. Refresh and try again.",
"navigationMissing": "Navigation context is missing. Refresh and try again.",
"customerTaskMissing": "Task number missing — cannot open customer confirm. Refresh and try again.",
"genericBlocking": "This step needs manual attention",
"unknownStep": "Current step",
"continueAction": "Continue",
"recoveryTargets": "Prerequisite recovery",
"actionSubmitted": "Action submitted",
"submitting": "Submitting…",
"readOnlyUseFooter": "Use the footer action bar to proceed",
"actionCodes": {
"rematerialize_document": "Rematerialize document",
"retry_layout_parsing": "Retry layout parsing",
"reroute_document_profile": "Reroute document profile",
"open_profile_review": "Open profile review",
"retry_order_extraction": "Retry order extraction",
"open_order_review": "Open order review",
"edit_order_fields": "Edit order fields",
"revalidate_reservation": "Revalidate reservation",
"edit_reservation": "Edit reservation",
"retry_customer_resolution": "Retry customer resolution",
"confirm_customer": "Confirm customer",
"retry_duplicate_detection": "Retry duplicate detection",
"adjudicate_duplicate": "Adjudicate duplicate",
"reconcile_and_progress": "Reconcile and auto-recover",
"resolve_field_conflicts": "Resolve field conflicts",
"retry_with_latest_rules": "Retry with latest rules",
"open_inventory_source_review": "Open inventory source review",
"adopt_rule_suggestion": "Adopt rule suggestion",
"keep_manual_inventory_decision": "Keep manual decision",
"recheck_freeze_readiness": "Recheck freeze readiness",
"retry_task_creation": "Retry task creation",
"retry_inventory_preparation": "Retry inventory preparation",
"retry_inventory_from_preparation": "Recover from inventory preparation",
"refresh_inventory_candidate_projection": "Refresh inventory candidate status",
"poll_inventory_preparation": "Refresh inventory preparation progress",
"upload_inventory_file": "Upload inventory file",
"retry_inventory_field_mapping": "Retry inventory field mapping",
"retry_inventory_from_field_mapping": "Recover from field mapping",
"retry_inventory_from_matching": "Rematch using current inventory",
"confirm_inventory_field_mapping": "Confirm inventory field mapping",
"retry_inventory_matching": "Retry inventory matching",
"open_inventory_match_review": "Open inventory match review",
"recheck_inventory_sufficiency": "Recheck inventory sufficiency",
"open_shortage_review": "Open shortage review",
"recheck_excel_readiness": "Recheck Excel readiness",
"regenerate_excel_artifact": "Regenerate Excel",
"poll_freight_upload_rpa": "Refresh freight upload progress",
"retry_freight_upload_rpa": "Retry freight upload RPA",
"regenerate_manual_upload_todo": "Regenerate manual-upload todo",
"mark_manual_uploaded": "Record manual upload"
},
"reasons": {
"freeze_not_ready": "Order is not ready to build or freeze",
"profile_not_auto_freeze_approved": "Document profile is not approved for auto build",
"profile_manual_confirmation_required": "Document profile requires manual confirmation",
"customer_unresolved": "Customer is unresolved",
"customer_ambiguous": "Customer resolution is ambiguous",
"field_conflict": "Field conflicts need manual resolution",
"duplicate_unresolved": "Duplicate order is unresolved",
"require_manual_review": "Inventory source rules conflict or require manual confirmation",
"no_inventory_source_candidates": "No inventory source rule matched",
"inventory_source_unavailable": "Matched inventory source is currently unavailable",
"inventory_rpa_queued": "RPA job is queued",
"inventory_rpa_timeout": "RPA execution timed out",
"inventory_rpa_login_failed": "Inventory platform login failed",
"inventory_rpa_export_failed": "Inventory report export failed",
"inventory_rpa_exhausted": "Inventory source retries exhausted",
"inventory_file_missing": "Inventory file was not generated",
"inventory_file_empty": "Inventory file is empty or has no valid records",
"inventory_preparation_waiting": "Inventory file is being prepared; refresh later",
"inventory_preparation_failed": "Inventory preparation failed; retry or upload a file",
"inventory_candidates_missing": "The task is missing a formal candidate version. Reopen inventory source review.",
"inventory_candidate_version_stale": "The inventory candidate version changed. Refresh and process again.",
"inventory_match_out_of_candidate_scope": "The match result falls outside the current candidate scope and needs manual review.",
"inventory_candidate_data_incomplete": "Inventory candidate facts are incomplete. Refreeze the candidate version.",
"upload_rpa_pending": "Freight upload job is waiting",
"upload_rpa_failed": "Freight platform upload failed; RPA can be retried",
"upload_rpa_login_failed": "Freight platform login failed",
"upload_platform_rejected": "Freight platform rejected the upload",
"upload_result_unknown": "Upload result cannot be confirmed yet",
"manual_upload_pending": "Download the Excel, upload it on the freight platform, and register the result",
"technical_retry_exhausted": "Automatic retries exhausted",
"order_extraction_failed": "Order extraction failed",
"order_extraction_cancelled": "Order extraction cancelled",
"customer_out_of_scope": "Customer is out of the current business scope",
"reservation_missing": "Valid reservation is missing",
"reservation_invalid": "Reservation failed validation",
"reservation_duplicate": "Reservation is already used by another order",
"required_field_missing": "Required order fields are missing",
"field_value_invalid": "Some field values are invalid",
"field_low_confidence": "Some recognition results have low confidence",
"effective_reservation_missing": "Effective reservation ID is missing",
"document_unavailable": "Shipping notice document is unavailable",
"layout_parse_failed": "PDF layout parsing failed",
"profile_not_matched": "No matching document profile",
"profile_ambiguous": "Multiple document profiles matched",
"profile_drift": "Document structure drifted from the profile",
"extraction_incomplete": "Order field extraction is incomplete",
"cross_source_conflict": "Cross-source field conflict needs resolution",
"evidence_missing": "Key recognition results lack evidence",
"auto_freeze_not_enabled": "Auto-create policy is not enabled",
"task_creation_failed": "Fulfillment task creation failed",
"inventory_file_identity_mismatch": "Returned file does not match the selected inventory source",
"inventory_mapping_required": "Inventory field mapping requires confirmation",
"inventory_match_failed": "Inventory matching failed",
"inventory_candidates_required": "No inventory candidate set is available; fetch inventory before matching",
"inventory_candidates_frozen_required": "Inventory candidates are not confirmed; complete source confirmation first",
"inventory_snapshot_prepare_failed": "Inventory snapshot preparation failed; review inventory retrieval and retry",
"inventory_snapshots_pending": "Inventory snapshots are still being prepared; refresh shortly",
"inventory_match_not_ready": "Inventory is not ready for matching; complete inventory preparation first",
"projection_data_inconsistent": "Processing data is inconsistent; refresh and retry, or contact an administrator",
"inventory_insufficient": "Insufficient inventory",
"inventory_shortage_review_required": "Inventory shortage requires review",
"excel_not_ready": "Excel generation conditions are not met",
"artifact_generation_failed": "Excel generation failed",
"attachment_format_unsupported": "Attachment format is unsupported",
"attachment_size_exceeded": "Attachment exceeds size limit",
"attachment_corrupted": "Attachment is corrupted",
"attachment_duplicate": "Duplicate attachment already exists",
"attachment_storage_failed": "Attachment storage failed",
"attachment_security_blocked": "Attachment blocked for security reasons",
"attachment_replaced": "Shipping notice attachment was replaced",
"document_text_unavailable": "No usable text could be extracted",
"business_table_not_found": "Business table was not found",
"business_table_empty": "Business table has no valid rows",
"multiple_business_tables": "Multiple business tables were found",
"document_password_protected": "Document is password protected",
"generic_gate_blocked": "Generic order recognition gate blocked",
"gate_invalidated": "Upstream result changed; gate must be re-evaluated",
"task_cancelled_by_user": "Task was cancelled by the user",
"task_voided_for_correction": "Task was voided for correction",
"task_archived": "Task was archived",
"task_rejected_by_user": "Candidate/task was rejected by the user",
"task_closed_after_upload": "Task closed after successful upload",
"void_blocked_external_uploaded": "External fulfillment exists; void is blocked — archive instead",
"unknown_business_failure": "Business processing failed; contact admin with request ID",
"inventory_source_conflicted": "Conflicting inventory source rules require review",
"inventory_source_changed": "Confirmed inventory source configuration has changed",
"inventory_source_identity_mismatch": "Task identity does not match inventory source/warehouse",
"inventory_multi_file_conflict": "Conflicting results across inventory files",
"inventory_sku_not_found": "SKU was not found in inventory",
"inventory_reservation_not_found": "Reservation was not found in inventory",
"inventory_warehouse_mismatch": "Warehouse does not match order requirements",
"inventory_required_column_missing": "Required inventory column is missing",
"inventory_column_ambiguous": "Inventory column mapping is ambiguous",
"excel_template_missing": "Shipping Excel template is missing",
"excel_input_incomplete": "Inputs required to generate Excel are incomplete",
"artifact_validation_failed": "Excel artifact validation failed",
"late_callback_ignored": "Late external callback was ignored",
"close_blocked_missing_receipt": "Upload receipt is missing; close is blocked",
"xfa_dataset_missing": "Missing usable XFA datasets",
"xfa_unsafe_xml": "Unsafe XFA XML was rejected",
"xfa_packet_too_large": "XFA packet exceeds size limit",
"xfa_xml_depth_exceeded": "XFA XML nesting depth exceeds limit",
"xfa_xml_node_limit_exceeded": "XFA XML node count exceeds limit",
"xfa_line_row_limit_exceeded": "XFA line row count exceeds limit",
"xfa_parse_timeout": "XFA parsing timed out",
"xfa_unsupported_document": "Document type unsupported by XFA data-path mode",
"xfa_profile_not_matched": "No published XFA profile matched",
"xfa_profile_ambiguous": "Multiple XFA profiles matched",
"xfa_required_field_missing": "Required XFA field missing",
"xfa_mirror_collection_mismatch": "XFA mirror collection mismatch",
"xfa_acroform_mismatch": "XFA datasets and AcroForm mismatch",
"xfa_business_validation_failed": "XFA business validation failed",
"xfa_authoritative_collection_missing": "Authoritative line collection missing",
"xfa_path_invalid": "Invalid XFA data path",
"xfa_path_unknown": "Unknown XFA data path",
"xfa_definition_invalid": "Invalid XFA profile definition",
"xfa_structure_identity_changed": "XFA structure identity changed"
},
"nextAction": "Next step",
"nextActionHint": "Next: {action}",
"actionSuggestion": "Recommended action",
"detailFacts": "Key facts",
"detailKeys": {
"source_code": "Inventory source",
"source_codes": "Inventory sources",
"unavailable_source_codes": "Unavailable sources",
"unavailable_reasons": "Unavailable reasons",
"matched_rule_codes": "Matched rules",
"raw_rule_source_codes": "Raw rule candidates",
"candidate_inventory_source_codes": "Effective candidates",
"line_key": "Line",
"line_index": "Line no.",
"field_code": "Field",
"request_id": "Request ID",
"process_status": "Process status",
"match_status": "Match status",
"task_no": "Task no.",
"has_inventory_lines": "Has inventory lines",
"has_export": "Excel generated",
"execution_no": "Execution no.",
"inventory_file_id": "Inventory file"
}
},
"myTodos": {
"title": "Task Center",
"subtitle": "Cross-session todos, exceptions, and manual-upload registration; open Order Processing for a single task.",
"empty": "No todos in this bucket",
"open": "Open",
"openReview": "Open order processing",
"openConversation": "Open conversation",
"openTask": "Open task",
"openProcessingHint": "Review, edit, and fulfillment registration happen in the order processing workbench.",
"openProcessingUnavailable": "Unable to locate the extraction run. Open order processing from the original conversation.",
"progressSummary": "Current: {stage} · {current}/{total}",
"progressBlocker": "Blocked: {reason}",
"intakeParseBadge": "Material parsing",
"buckets": {
"pending": "Pending",
"processing": "Processing",
"done": "Done"
},
"filters": {
"todoCategory": "Todo type",
"all": "All",
"review": "Review",
"exception": "Exception",
"manualUpload": "Waiting for manual upload",
"intakeParse": "Material parsing",
"customer": "Customer",
"customerPlaceholder": "Customer name or short code",
"taskNo": "Task no.",
"taskNoPlaceholder": "SN number",
"apply": "Apply filters",
"reset": "Reset"
}
},
"risk": {
"title": "Risks and open issues"
},
"pdfEvidence": {
"title": "PDF / source evidence",
"empty": "No source file metadata",
"hint": "Source preview and manual-upload evidence are handled via todo actions.",
"uploadCount": "{count} manual-upload evidence file(s) recorded"
},
"manualUpload": {
"title": "Confirm manual upload",
"hint": "Upload a freight-portal screenshot or PDF and enter the receipt number. This does not trigger RPA upload.",
"evidenceLabel": "Evidence file (screenshot / PDF, required)",
"freightRefLabel": "Freight receipt no. (required)",
"freightRefOptional": "Freight receipt no. (required)",
"evidenceRequired": "Please select an evidence file first",
"freightRefRequired": "Please enter the freight receipt number",
"cancel": "Cancel",
"submit": "Confirm uploaded",
"submitting": "Submitting…"
},
"timeline": {
"empty": "No events yet",
"loading": "Loading events…",
"loadFailed": "Failed to load events",
"detail": "View details",
"sourceTask": "Task event",
"sourceWorkflow": "File processing record",
"sourceAudit": "Audit record",
"workflowEvent": "File processing record",
"updated": "Processing status updated",
"actors": {
"user": "Business user",
"system": "System",
"admin": "Administrator"
}
},
"workflowStatus": {
"created": "Created",
"queued": "Waiting",
"extracting": "Recognizing",
"pending_review": "Pending review",
"waiting_manual_upload": "Waiting for manual upload",
"failed": "Processing failed",
"completed": "Completed",
"closed": "Closed"
},
"workflowReasons": {
"review_case_draft": "Order review required",
"user_cancelled": "Cancelled by user",
"completed": "Processing completed"
},
"stpFacts": {
"title": "STP fulfillment progress",
"inventorySourceStatus": "Inventory source status",
"inventorySourceCode": "Current inventory source",
"frozenCandidates": "Frozen candidate sources",
"multiSourceBlock": "Order lines resolved to different inventory sources; a single shipment Excel cannot be generated. Split the order or pick one source.",
"resolutionCounts": "Line match results",
"lineTableTitle": "Per-line match evidence",
"colLine": "Line",
"colReservation": "Reservation",
"colPart": "Part",
"colDisposition": "Disposition",
"colSource": "Resolved source",
"colEvidence": "Inventory file / evidence",
"disposition": {
"ok": "Fulfillable",
"shortage": "Shortage",
"not_found": "Not found",
"multi_file_conflict": "Multi-file conflict",
"unknown": "Unknown"
}
},
"download": "Download Excel",
"downloadBatch": "Download batch ZIP",
"selectAllVisible": "Select current results",
"selectedCount": "{count} tasks selected",
"downloadSelected": "Download selected ZIP",
"selectForDownload": "Select task {taskNo} for batch download",
"archiveDownloadFailed": "Batch download failed. Refresh the tasks and try again.",
"actions": {
"title": "Available actions",
"freezeOrder": "Freeze order",
"freezeConfirm": "Freeze the reviewed order? The frozen order becomes the fulfillment fact for inventory, Excel, and upload.",
"freezeFailed": "Order freezing failed or its version changed. Refresh and review it again.",
"inventorySourcePrompt": "Enter the published inventory source code:",
"customerPrompt": "Enter a customer short code or name to search:",
"customerNotFound": "No enabled customer is available to confirm.",
"customerConfirm": "Bind this task to customer {name} ({code})?",
"failed": "Action failed. Refresh the task and try again."
},
"candidateReview": {
"title": "Candidates awaiting batch creation",
"hint": "Select, revise, and resolve duplicates here. Only selected candidates that pass backend gates can create a batch.",
"createBatch": "Create batch from selected"
},
"lifecycle": {
"active": "Active",
"deleted": "Recycle bin",
"voided": "Voided",
"archived": "Archived"
},
"disposition": {
"actions": {
"delete": "Delete",
"archive": "Archive",
"restore": "Restore",
"purge": "Delete permanently"
},
"reasonPrompt": "Enter the deletion or void reason:",
"purgeReasonPrompt": "Enter the permanent deletion reason (administrators, pure draft tasks only):",
"confirm": "{action} the selected {count} task(s)?",
"success": "Processed {count} task(s).",
"partial": "Processed {success} task(s); {blocked} task(s) were blocked by the server.",
"failed": "Task disposition failed. Refresh and try again."
},
"pagination": {
"summary": "Showing {start}-{end} of {total} tasks",
"previous": "Previous",
"next": "Next",
"page": "Page {page} of {total}"
},
"lines": "Shipment lines",
"qty": "Qty",
"columns": {
"sku": "SKU"
},
"events": "Event log",
"operator": "Operator ID: {id}",
"filters": {
"status": "Status"
"status": "Status",
"lifecycle": "Task state"
},
"fields": {
"status": "Process status",
@@ -189,6 +608,12 @@
"shipTo": "Ship to",
"freightRef": "Freight ref no."
},
"inventorySourceDialog": {
"title": "Confirm inventory source",
"hint": "Select a published inventory source from the candidates, or enter a source code manually.",
"confirm": "Confirm source",
"manualEntry": "Enter source code manually"
},
"inventorySource": {
"title": "Inventory query source",
"sourceCode": "Source code",
@@ -223,19 +648,28 @@
"sourceManual": "Manual upload",
"exportedAt": "Exported at",
"fileNo": "Snapshot ID",
"expired": "Snapshot expired; system will re-trigger RPA or wait for manual upload"
"expired": "Snapshot expired; system will re-trigger RPA inventory fetch"
},
"fulfillmentTimeline": {
"inventoryTitle": "Inventory verification history",
"verificationLine": "Reservation {reservationId}: {availableQty}/{requiredQty} ({status})",
"artifactTitle": "Excel artifact timeline",
"reservationIds": "Reservation IDs: {reservationIds}",
"uploadTitle": "Upload attempt timeline",
"uploadAttempt": "Artifact #{artifactId} / Attempt {attemptNo}",
"freightRef": "Freight reference: {freightRefNo}",
"evidenceAsset": "Receipt asset: {assetId}"
},
"status": {
"all": "All",
"created": "Created",
"parsed": "Parsed",
"pendingReview": "Pending review",
"alignReview": "Confirm fields",
"shortageReview": "Inventory shortage",
"waitingInventory": "Waiting inventory",
"inventoryReady": "Inventory ready",
"matched": "Matched",
"waitingUpload": "Waiting upload",
"waitingUpload": "Excel ready",
"uploaded": "Uploaded",
"uploadFailed": "Upload failed",
"rejected": "Rejected",
@@ -256,11 +690,40 @@
"inventory_uploaded": "Inventory uploaded",
"inventory_parsed": "Inventory parsed",
"matched_fulfillable": "Inventory matched",
"matched_stp_candidates": "Cross-candidate inventory matched",
"matched_multi_source_excel_block": "Multi-source conflict; cannot export",
"matched_multi_file_conflict": "Inventory multi-file conflict",
"matched_shortage": "Inventory shortage",
"candidates_frozen": "Multi-candidate inventory sources frozen at create",
"inventory_source_resolved_at_build": "Inventory source resolved at create",
"inventory_candidate_files_missing": "Candidate inventory files missing",
"inventory_candidate_files_partial": "Some candidate inventory files ready",
"stp_auto_create": "STP auto-create",
"stp_auto_create_failed": "STP auto-create failed",
"match_needs_review": "Inventory match needs review",
"excel_generated": "Shipment file generated",
"uploaded": "Uploaded to freight",
"upload_failed": "Freight upload failed",
"backend_orchestrator_task_finished": "Background task completed"
},
"myRuns": {
"title": "My identification runs",
"subtitle": "Continue in-progress, failed, or cancelled order identification runs from here.",
"status": "Status",
"allStatuses": "All statuses",
"runNo": "Run no.",
"stage": "Current stage",
"summary": "Attachment progress",
"summaryCounts": "{total} total: done {done} / review {review} / failed {failed} / cancelled {cancelled}",
"elapsed": "Elapsed",
"actions": "Actions",
"openChat": "Open chat",
"loading": "Loading identification runs...",
"empty": "No identification runs yet",
"loadFailed": "Failed to load identification runs",
"total": "{count} total",
"previous": "Previous",
"next": "Next"
}
},
"profile": {