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": {