feat(shipping-notice): 新增发货通知重复检测与处理接口,支持重复决策保存与重新执行检测

This commit is contained in:
hugo committed 2026-07-14 21:12:36 +08:00
1 parent 729546a7b7
commit ceb49461e8
72 files changed
+14270 -460

No files matched your search

+37 -1
View File
@@ -25,15 +25,49 @@
"shippingNoticeUploadFailed": "Shipping notice upload failed.",
"shippingNoticeBatchSubmitting": "Shipping notice submission is in progress. Please do not repeat the action.",
"shippingNoticeWaitingForParse": "Shipping notices are still uploading or parsing. Please wait before confirming batch creation.",
"shippingNoticeParseFailedHint": "Some shipping notices failed to parse. Retry or remove them before sending.",
"shippingNoticeParseFailedHint": "Some shipping notices failed to parse or have incomplete attachments. Retry or remove them before sending.",
"shippingNoticeUploading": "Uploading",
"shippingNoticeParsing": "Parsing",
"shippingNoticeParsed": "Parsed",
"shippingNoticeAttachmentHint": "Attachments {ok}/{total}",
"shippingNoticeAttachmentHintPartial": "Attachments {ok}/{total} ({failed} incomplete)",
"shippingNoticeAttachmentHintWithDup": "Attachments {ok}/{total} ({duplicates} duplicates skipped)",
"shippingNoticeAttachmentIncompleteWarn": "Attachment parse incomplete",
"shippingNoticeParseFailed": "Parse failed",
"shippingNoticeRetryParse": "Retry parse",
"shippingNoticeConfirmBatchHint": "Send to confirm batch creation after parsing completes",
"shippingNoticeBatchReplayed": "Restored the previously created batch.",
"shippingNoticeDuplicatesRemoved": "Duplicate files were removed automatically.",
"shippingNoticeDuplicateNeedsResolution": "A duplicate shipping notice was detected. Choose how to proceed.",
"shippingNoticeDuplicateTitle": "Resolve duplicate shipping notice",
"shippingNoticeDuplicateExactFile": "An identical file was already used by an existing task.",
"shippingNoticeDuplicateSameActive": "An in-progress task already matches this business document.",
"shippingNoticeDuplicateSameCompleted": "A completed task already matches this business document.",
"shippingNoticeDuplicatePossible": "This notice may duplicate an existing task. Please confirm.",
"shippingNoticeDuplicateMatchTask": "Matched task: {taskNo}",
"shippingNoticeDuplicateMatchStatus": "Status: {status}",
"shippingNoticeDuplicateMatchFields": "Matched fields: {fields}",
"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.",
"shippingNoticeDuplicateForceCreate": "Force create",
"shippingNoticeDuplicateForceCreateHint": "Requires permission and a reason; the action is audited.",
"shippingNoticeDuplicateReasonLabel": "Reason for force create",
"shippingNoticeDuplicateReasonPlaceholder": "Explain why a separate task is required",
"shippingNoticeDuplicateReasonRequired": "A reason is required for force create.",
"shippingNoticeDuplicateForceForbidden": "You are not allowed to force-create duplicates.",
"shippingNoticeDuplicateActionUnavailable": "This action is not available.",
"shippingNoticeDuplicateRemoveFile": "Remove this file",
"shippingNoticeDuplicateConfirm": "Confirm",
"shippingNoticeDuplicateHandle": "Resolve",
"shippingNoticeDuplicateBlockingBadge": "Duplicate detected",
"shippingNoticeDuplicatePossibleBadge": "Possible duplicate",
"shippingNoticeDuplicateRevisionChosen": "Will create a revision",
"shippingNoticeDuplicateForceChosen": "Force create authorized",
"shippingNoticeDuplicateOpenChosen": "Will open existing task",
"shippingNoticeDuplicateResolved": "Duplicate resolution saved.",
"shippingNoticeDuplicateResolveFailed": "Failed to save duplicate resolution.",
"shippingInventoryUploadFailed": "Inventory upload failed.",
"shippingNoticeRefreshDone": "Current task status refreshed.",
"shippingNoticeRetryUploadAction": "Retry freight upload",
@@ -185,6 +219,8 @@
"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": {
+11 -1
View File
@@ -49,8 +49,18 @@
"SHIPPING_NOTICE_INTAKE_NOT_FOUND": "Shipping notice intake not found.",
"SHIPPING_NOTICE_INTAKE_PARSE_PENDING": "Shipping notice is still parsing. Please wait before confirming the batch.",
"SHIPPING_NOTICE_INTAKE_PARSE_FAILED": "Shipping notice parse failed. Retry or remove and upload again.",
"SHIPPING_NOTICE_INTAKE_ATTACHMENTS_INCOMPLETE": "Shipping notice attachments are incomplete. Retry parse or remove and upload again.",
"SHIPPING_NOTICE_INTAKE_ALREADY_CONSUMED": "Shipping notice intake has already been consumed.",
"SHIPPING_NOTICE_INTAKE_EXPIRED": "Shipping notice intake has expired.",
"SHIPPING_NOTICE_INTAKE_INVALID_STATUS": "Current intake status does not allow this operation."
"SHIPPING_NOTICE_INTAKE_INVALID_STATUS": "Current intake status does not allow this operation.",
"SHIPPING_NOTICE_DUPLICATE_RESOLUTION_REQUIRED": "A duplicate shipping notice was detected. Choose how to proceed.",
"SHIPPING_NOTICE_DUPLICATE_TARGET_NOT_FOUND": "The duplicate target task was not found.",
"SHIPPING_NOTICE_DUPLICATE_TARGET_CHANGED": "The target task status changed. Please confirm again.",
"SHIPPING_NOTICE_DUPLICATE_REASON_REQUIRED": "A reason is required to force-create a duplicate.",
"SHIPPING_NOTICE_DUPLICATE_OVERRIDE_FORBIDDEN": "You are not allowed to force-create a duplicate shipping notice.",
"SHIPPING_NOTICE_REVISION_TARGET_INVALID": "The revision target task is invalid.",
"SHIPPING_NOTICE_REVISION_ALREADY_EXISTS": "A later revision of this task already exists.",
"SHIPPING_NOTICE_REVISION_CONFLICT": "A revision of this task already exists. Open the existing revision or re-check.",
"SHIPPING_NOTICE_FINGERPRINT_UNAVAILABLE": "A reliable business fingerprint could not be generated; only file-hash dedupe applies."
}
}