!11 feat(shipping-notice): 实现滚动履约功能,优化发货通知流程与代码清理

Merge pull request !11 from 曹惠鹏/hugo-shipping-notice
This commit is contained in:
sophie authored and Gitee committed 2026-08-26 00:25:10 +00:00
commit 2ff9fdafe4
402 files changed
+23045 -20484

No files matched your search

+62 -26
View File
@@ -82,7 +82,7 @@
"shippingNoticeDuplicateOpenExisting": "Open existing task",
"shippingNoticeDuplicateOpenExistingHint": "Do not create a new task; link this file to the existing one.",
"shippingNoticeDuplicateCreateRevision": "Create as a revision",
"shippingNoticeDuplicateCreateRevisionHint": "Create a new task version while keeping the original task and receipts.",
"shippingNoticeDuplicateCreateRevisionHint": "Create a new task version while keeping the original task and upload audit.",
"shippingNoticeDuplicateForceCreate": "Force create",
"shippingNoticeDuplicateForceCreateHint": "Requires permission and a reason; the action is audited.",
"shippingNoticeDuplicateReasonLabel": "Reason for force create",
@@ -380,6 +380,9 @@
"open_existing_reconciliation_required": "Fields still need reconciliation before opening the existing task.",
"field_conflict": "Field values conflict and need manual confirmation.",
"coordinate_evidence_unavailable": "Coordinate glyph evidence is unavailable for the attachment. Retry layout parsing or re-upload the PDF in the intake channel.",
"PARSE_STRATEGY_ROW_MODE_AMBIGUOUS": "Fixed-row and adaptive-row results disagree. Manual review is required.",
"PARSE_STRATEGY_NO_VALID_ROW_RECONSTRUCTION": "No confirmed line reconstruction result was produced. Manual review is required.",
"PARSE_STRATEGY_ADAPTIVE_ROW_RECONSTRUCTION": "Adaptive line reconstruction was selected from the current evidence.",
"SHIPPING_NOTICE": {
"ORDER_EXTRACTION_JOB_FAILED": "The order extraction job failed. Layout parsing is often not ready—enable the layout service and retry.",
"ORDER_EXTRACTION_LAYOUT_SCHEDULING_FAILED": "The order attachment layout job could not be created. Enable the layout service and retry.",
@@ -558,7 +561,7 @@
"resolveFailed": "Failed to resolve conflict. Refresh and try again."
},
"shippingNoticeUi": {
"stage": {"intakeParse": "Intake and parsing", "orderReview": "Order review", "fulfillmentPrep": "Notification preparation", "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",
@@ -644,7 +647,7 @@
"viewDetail": "View details",
"mobileWorkspaceHint": "The workspace is open on mobile. Pick a task from the list to continue.",
"diagnosisAdviceRetryOrFocus": "Focus this task first to inspect context; retry only if it is a transient external-system failure.",
"diagnosisUploadFailedTitle": "Freight-system upload failed and no success receipt was returned.",
"diagnosisUploadFailedTitle": "Freight-system upload failed and no success status was confirmed.",
"diagnosisUploadFailedAdvice": "Retry this task. If it keeps failing, check freight login state, field formats, or upload manually.",
"diagnosisShortageTitle": "Inventory matching found a shortage, so full shipment cannot continue directly.",
"diagnosisShortageAdvice": "Shipment is blocked. Replenish inventory or correct the notice, then match inventory again.",
@@ -663,7 +666,7 @@
"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.",
"diagnosisCompletedTitle": "Task is completed and archived.",
"diagnosisCompletedAdvice": "No action required; review export files or upload receipts if needed.",
"diagnosisCompletedAdvice": "No action required; review export files or upload attempts if needed.",
"diagnosisStepWaitingTitle": "Step {step} is waiting for a prerequisite.",
"diagnosisStepWaitingAdvice": "Monitor it in the workspace, or focus this task to inspect context.",
"currentTaskDiagnosis": "Current task diagnosis",
@@ -682,7 +685,7 @@
"suggestShortageActions": "View shortage / revise notice / rematch",
"suggestReviewParse": "Review parsed fields, then confirm or revise",
"suggestRetryStep": "Inspect the blocker, then retry this step",
"suggestViewOnly": "Review export files or receipts",
"suggestViewOnly": "Review export files or upload attempts",
"suggestContinue": "Make it current and continue in chat",
"stepHeadline": "Step {current}/{total} · {label}",
"stepFraction": "Step {current}/{total}",
@@ -1479,18 +1482,22 @@
"navigation": "Order lifecycle stages",
"available": "Available",
"current": "Current stage",
"processing": "Processing",
"completed": "Completed, view only",
"blocked": "Prerequisite incomplete",
"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."},
"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": {"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}"},
"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", "selected": "{count} notices selected", "batchDownload": "Download selected", "batchRpa": "Batch RPA upload", "batchConfirm": "Confirm selected uploaded"},
"uploadComplete": {"title": "Notification completion", "subtitle": "Upload-success evidence is verified. This view is read only."},
"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",
"fulfillment_prep": "Notification preparation",
"freight_upload": "Freight upload",
"upload_complete": "Notification completion"
}
},
@@ -1805,7 +1812,8 @@
"reloaded": "Loaded the latest server draft"
},
"saveNow": "Save and validate",
"saveOrderAndValidate": "Save order and validate",
"saveOrderAndValidate": "Submit order",
"submitOrderHint": "The order is validated after submission and created automatically when eligible.",
"addLine": "Add line",
"copyLine": "Copy line",
"deleteLine": "Delete line",
@@ -1816,12 +1824,13 @@
"moreFields": "More order information ({count})",
"moreLineFields": "More line columns ({count})",
"collapseFields": "Collapse secondary fields",
"resizeColumn": "Drag to resize the {label} column; double-click to reset",
"emptyValue": "Not provided",
"unknownField": "Order field",
"createManualDraft": "Create manual order draft",
"markNonOrder": "Mark as non-order",
"markQualityIssue": "File quality issue",
"reparse": "Reparse this PDF",
"reparse": "Reparse",
"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",
@@ -1850,9 +1859,9 @@
"subtitle": "Continues after confirmation until waiting for manual upload registration; register credentials in the Task Center.",
"polling": "Refreshing progress…",
"taskNo": "Task {taskNo}",
"openTaskWorkbench": "Open Task Center to register",
"noUploadHint": "Excel generated. Download it, upload on the freight platform, then register credentials here.",
"nextStepsManualUpload": "Next: download Excel in the Task Center → upload on the freight platform → submit screenshot/PDF evidence and the freight receipt number to finish.",
"openTaskWorkbench": "Open Task Center to confirm",
"noUploadHint": "Excel generated. Download it, upload it on the freight platform, then confirm the upload here.",
"nextStepsManualUpload": "Next: download Excel in the Task Center → upload it on the freight platform → confirm the upload to finish.",
"progressUnavailable": "Progress is temporarily unavailable. Refresh the page or try again shortly.",
"nextStepsGeneric": "This step requires manual action. Follow the system prompt to continue.",
"automatingFooterHint": "The system is processing automatically. You can refresh progress above.",
@@ -1969,6 +1978,8 @@
"retrying": "Identifying…",
"retryDone": "Customer re-identified",
"retryFailed": "Failed to re-identify customer",
"uniqueCandidateHint": "One standard customer candidate was found. Saving and validating will confirm it automatically, or you can confirm it manually.",
"confirmUniqueCandidate": "Confirm unique candidate",
"confirmed": "Customer confirmed",
"confirmReason": "Manual customer confirmation in the order lifecycle workbench",
"pdfReparseHint": "For PDF layout issues, use “Reparse this PDF” at the top—not these buttons.",
@@ -1982,16 +1993,17 @@
},
"resume": {
"autoCreated": "Order auto-created and progressing: {taskNo}",
"waitingManualConfirm": "Eligibility ready — click Confirm order",
"autoCreateEnqueued": "Validation passed. The order has been queued for automatic creation and progression.",
"waitingManualConfirm": "The order has been submitted but is not eligible for automatic creation. Resolve the automatic-creation gates.",
"autoProgressing": "System is auto-creating the order and progressing…",
"blocked": "Pre-build issues remain — please continue"
"blocked": "Order saved, but issues remain and no order was created",
"autoCreateFailed": "Order saved, but automatic creation failed. Review the error and retry"
},
"reservation": {
"title": "Reservation validation",
"subtitle": "Check effective reservation IDs per line before build.",
"editHint": "Edit the Reservation directly in the order details on the left, then click Revalidate.",
"reservationId": "Reservation ID",
"action": "Action",
"editLine": "Edit line",
"revalidate": "Revalidate",
"revalidating": "Revalidating…",
"revalidateDone": "Reservation revalidated",
@@ -2013,13 +2025,17 @@
},
"fulfillmentDecision": {
"title": "Line fulfillment decisions",
"subtitle": "Choose wait for inventory, fulfill complete line, or close for shortage lines.",
"subtitle": "Select inventory-ready or manually released lines to create an independent shipping notice and Excel.",
"railHint": "Summary only in the rail; open inventory mode for full line actions.",
"enterInventory": "Open inventory / fulfillment",
"openCount": "Open lines {count}",
"readyCount": "Ready to fulfill {count}",
"shortageCount": "Shortage lines {count}",
"waveSelect": "Wave",
"selectReady": "Select shippable lines",
"selectedCount": "{count} selected",
"autoProgressCount": "Auto-processing {count}",
"summaryHint": "Use the inventory table for line details",
"waveSelect": "Select",
"partNumber": "Part number",
"requiredQty": "Required qty",
"availableQty": "Available qty",
@@ -2032,10 +2048,10 @@
"waitInventory": "Wait inventory",
"fulfillNow": "Fulfill line now",
"closeLine": "Close line",
"confirmWave": "Confirm wave ({count} lines)",
"waving": "Creating wave…",
"waveSuccess": "Fulfillment wave created",
"waveFailed": "Failed to create fulfillment wave",
"confirmWave": "Create shipping notice and Excel ({count} lines)",
"waving": "Creating shipping notice…",
"waveSuccess": "Shipping notice {taskNo} created; generating Excel",
"waveFailed": "Failed to create shipping notice",
"decideSuccess": "Fulfillment decision saved",
"decideFailed": "Failed to save fulfillment decision",
"closeRemaining": "Close remaining open lines",
@@ -2229,7 +2245,7 @@
"title": "Current task",
"labelStage": "Current gate",
"labelStatus": "Status",
"labelFormalSn": "Formal OT",
"labelFormalSn": "Shipping notice number",
"statusRunning": "System processing",
"statusWaitingHuman": "Awaiting human action",
"statusRetryable": "Retry available",
@@ -2238,7 +2254,7 @@
"statusCancelled": "Cancelled",
"nextStepTitle": "Next step",
"nextStepRunning": "The system is processing. No manual action needed yet.",
"nextStepWaitingExternal": "Waiting for an external system receipt. No manual action is needed yet.",
"nextStepWaitingExternal": "Waiting for an external upload result. No manual action is needed yet.",
"nextStepCompleted": "No manual action is needed at the moment.",
"nextStepCancelled": "This task has been cancelled and will not be processed further.",
"nextStepFailedNoRetry": "Automation failed. Please contact an administrator or review the audit trail.",
@@ -2291,12 +2307,16 @@
"auxiliary": "Auxiliary evidence",
"context": "Email body"
},
"recoveryAction": {
"reparse_current_pdf": "Suggested action: re-recognize this PDF"
},
"reasons": {
"cross_source_conflict": "Cross-source value conflict",
"insufficient_score_margin": "Insufficient score margin",
"field_conflict": "Field conflict",
"pdf_preferred": "PDF preferred",
"pdf_preferred_with_conflict": "PDF preferred with conflict",
"supplement_conflict_evidence_insufficient": "The historical email supplement conflict lacks evidence from both sources; re-recognize this PDF and review it.",
"auxiliary_supplement": "Auxiliary supplement",
"vc_source_conflict_unresolved": "Vendor Comments multi-source value conflict needs manual review",
"vc_source_format_invalid": "Vendor Comments region field format is invalid",
@@ -2341,6 +2361,8 @@
"collapseCandidates": "Hide candidate profiles",
"routeType": "Route type",
"executionMode": "Execution mode",
"extractionBlocked": "The template matched, but a safety gate still blocked field extraction",
"extractionBlockedReason": "Blocking reason: {reasons}",
"score": "Score {score}",
"reselectHint": "If the template is wrong or the layout drifted, use “Reparse this PDF” at the top. Gate re-route is on the recovery card below.",
"status": {
@@ -2359,6 +2381,13 @@
"profile_ambiguous": "Multiple profile candidates with insufficient margin",
"profile_not_matched": "No usable profile matched",
"profile_drift": "Layout drifted from the profile"
},
"coordinateModel": {
"anchorFrame": "Anchor-frame coordinates",
"status": "Transform status",
"translateX": "Horizontal translation",
"translateY": "Vertical translation",
"reasonCodes": "Reason codes"
}
},
"buildEligibility": {
@@ -2366,6 +2395,7 @@
"subtitle": "Checks whether the order information and inventory sources are ready for order creation.",
"canBuildYes": "Can build",
"canBuildNo": "Cannot build yet",
"notValidated": "Not validated",
"manualBuildLabel": "Manual build",
"autoBuildLabel": "Automatic build",
"autoBuildYes": "Eligible for automatic creation",
@@ -2470,7 +2500,7 @@
"confirm": "Confirm task"
},
"reparse": {
"title": "Reparse this PDF",
"title": "Reparse",
"impact": "A new extraction run will be created. The current version becomes read-only history.",
"confirm": "Start reparse"
},
@@ -2697,6 +2727,8 @@
"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."},
"title": "Order Processing Progress",
"completedOfTotal": "{done} / {total} completed",
"currentStage": "Current: {stage}",
@@ -2748,6 +2780,9 @@
"open_intake_parse": "Open intake parsing",
"open_order_review": "Open order review",
"open_order_processing": "Open order review",
"create_draft": "Create draft",
"edit_draft": "Edit draft",
"validate": "Validate draft",
"edit_formal_task": "Edit formal task",
"open_profile_review": "View profile match",
"confirm_customer": "Confirm customer",
@@ -2765,7 +2800,8 @@
"view_result": "View result",
"view_record": "View record",
"view_progress": "View progress",
"retry_parse": "Retry parsing",
"reparse": "Reparse",
"retry_parse": "Reparse",
"unknown": "View processing details",
"more": "More"
},