feat(shipping-notice): 升级货代发货流程为五阶段,完善业务校验
将货代发货流程从四阶段扩展为五阶段,拆分上传相关逻辑至独立的货代上传阶段; 统一多语言文案修正客户状态语义,将"客户尚未识别"调整为符合业务的"客户尚未确认"; 新增严格的上传成功验证谓词,需同时满足任务状态、全部预约单上传成功、存在有效成功上传尝试三个条件方可标记为完成; 新增坐标取值模型配置,支持Legacy冻结绝对坐标和锚点框架受限平移两种模式; 更新全链路相关文档、前端组件、后端服务与测试用例,确保业务逻辑对齐新业务规则。
This commit is contained in:
1 parent
1b6483a4ea
commit
935bf26fa6
86 files changed
+2743
-311
No files matched your search
@@ -3680,6 +3680,15 @@
|
||||
"noIssues": "No blocking configuration issue.",
|
||||
"currentConfiguration": "Current configuration",
|
||||
"tableRegionSettings": "Line table settings",
|
||||
"coordinateModelTitle": "Coordinate value model",
|
||||
"coordinateModelHint": "Legacy frozen absolute coordinates are used by default. Enable this only for bounded translation with stable static anchors.",
|
||||
"coordinateModelType": "Coordinate model",
|
||||
"coordinateModelLegacy": "Legacy (frozen absolute coordinates)",
|
||||
"coordinateModelAnchorFrame": "Anchor frame (bounded translation)",
|
||||
"coordinateModelUseDocumentAnchor": "Use the first document anchor",
|
||||
"coordinateModelMaxX": "Maximum horizontal translation (page width)",
|
||||
"coordinateModelMaxY": "Maximum vertical translation (page height)",
|
||||
"coordinateModelInvalid": "An anchor frame requires at least one stable anchor with coordinates and valid translation limits.",
|
||||
"rowReconstructionMode": "Line reconstruction mode",
|
||||
"rowReconstructionModes": {
|
||||
"fixedSubrows": "Fixed subrows (default)",
|
||||
|
||||
@@ -558,7 +558,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",
|
||||
@@ -1478,14 +1478,17 @@
|
||||
"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": "Download the notice Excel, run RPA or register manual upload; reconcile an unknown result before retrying."},
|
||||
"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 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",
|
||||
"order_review": "Order review",
|
||||
"fulfillment_prep": "Notification preparation",
|
||||
"freight_upload": "Freight upload",
|
||||
"upload_complete": "Notification completion"
|
||||
}
|
||||
},
|
||||
@@ -1964,6 +1967,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.",
|
||||
@@ -2354,6 +2359,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": {
|
||||
@@ -2361,6 +2373,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",
|
||||
|
||||
@@ -320,7 +320,7 @@
|
||||
"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_unresolved": "Customer has not been confirmed",
|
||||
"customer_ambiguous": "Customer resolution is ambiguous",
|
||||
"field_conflict": "Field conflicts need manual resolution",
|
||||
"duplicate_unresolved": "Duplicate order is unresolved",
|
||||
|
||||
Reference in new issue
Block a user