feat(shipping-notice): 新增临时库存管理功能,支持创建会话、获取分析结果及字段映射建议
This commit is contained in:
1 parent
46eb63f5bb
commit
e9bdd81f1a
320 files changed
+28361
-10487
No files matched your search
@@ -15,6 +15,8 @@
|
||||
"uploading": "Uploading",
|
||||
"processing": "Processing",
|
||||
"ready": "Ready",
|
||||
"parsing": "Parsing",
|
||||
"parseSucceeded": "Parsed successfully",
|
||||
"uploadFailed": "Upload failed",
|
||||
"parseFailed": "Processing failed",
|
||||
"retry": "Retry upload",
|
||||
@@ -92,6 +94,17 @@
|
||||
"shippingNoticeDuplicateResolved": "Duplicate resolution saved.",
|
||||
"shippingNoticeDuplicateResolveFailed": "Failed to save duplicate resolution.",
|
||||
"shippingCandidateTitle": "Order candidate review",
|
||||
"shippingCustomerMatch": {
|
||||
"title": "Customer matching",
|
||||
"role": "Role",
|
||||
"rawName": "Order text",
|
||||
"standardName": "Standard customer",
|
||||
"shortCode": "Short code",
|
||||
"site": "Delivery site",
|
||||
"statusLabel": "Status",
|
||||
"roles": { "bill_to": "Bill-to", "ship_to": "Ship-to" },
|
||||
"status": { "unmatched": "Unmatched", "unique_candidate": "Unique candidate", "ambiguous": "Multiple candidates", "confirmed": "Confirmed" }
|
||||
},
|
||||
"shippingCandidateCount": "{count} orders",
|
||||
"shippingCandidateReady": "Ready",
|
||||
"shippingCandidateNeedsReview": "Needs review",
|
||||
@@ -126,23 +139,14 @@
|
||||
"shippingCandidateUpdateDone": "Order candidate changes were saved.",
|
||||
"shippingCandidateUpdateFailed": "Failed to save the order candidate.",
|
||||
"shippingInventoryUploadFailed": "Inventory upload failed.",
|
||||
"shippingInventorySiteRequired": "Formal inventory files must be imported by an enabled inventory source. To analyse a spreadsheet in the conversation, explicitly state that it is an inventory file.",
|
||||
"shippingNoticeSpreadsheetIntentRequired": "The spreadsheet is attached. Please explicitly say it is an inventory file (for example, \"This is an inventory file, please analyse it\") before continuing; the system does not infer its purpose from the extension alone.",
|
||||
"shippingNoticeRefreshDone": "Current task status refreshed.",
|
||||
"shippingNoticeRetryUploadAction": "Retry freight upload",
|
||||
"shippingNoticeRetryUploadQueued": "Upload has been triggered again. Refresh later to check the result.",
|
||||
"shippingNoticeRetryUploadFailed": "Retry upload failed.",
|
||||
"shippingNoticePasteHint": "Paste inventory rows in the input box, then send.",
|
||||
"shippingNoticeDecisionDone": "Action completed.",
|
||||
"shippingNoticePrompt": {
|
||||
"inventory": {
|
||||
"prefix": "I have uploaded the inventory file",
|
||||
"prefixWithFile": "I have uploaded the inventory file \"{fileName}\"",
|
||||
"prefixBatch": "I have uploaded the batch inventory snapshot for batch {batchNo}",
|
||||
"prefixBatchWithFile": "I have uploaded the batch inventory snapshot \"{fileName}\" for batch {batchNo}",
|
||||
"mapInferSuggested": "{prefix}. Continue the inventory column mapping. If a complete mapping is available, apply it directly and reply with one short status sentence that the inventory field confirmation is ready. Do not list operation menus, numbered options, button lists, or phrases like \"choose one of the following\"; clickable actions are rendered by system buttons.",
|
||||
"mapInferPending": "{prefix}. Continue parsing the inventory column mapping, then reply with one short status sentence when the inventory field confirmation is ready. Do not list operation menus, numbered options, button lists, or phrases like \"choose one of the following\"; clickable actions are rendered by system buttons.",
|
||||
"alignReview": "{prefix}. Reply with one short sentence saying the inventory field confirmation is ready and ask me to check the columns before continuing. Do not list operation menus, numbered options, button lists, or phrases like \"choose one of the following\"; clickable actions are rendered by system buttons.",
|
||||
"default": "{prefix}. Continue the inventory import and only state the current status. Do not list operation menus, numbered options, button lists, or phrases like \"choose one of the following\"; clickable actions are rendered by system buttons."
|
||||
},
|
||||
"notice": {
|
||||
"fileLabelSingleFile": "\"{fileName}\"",
|
||||
"fileLabelMulti": "{fileCount} shipping notices",
|
||||
@@ -151,29 +155,12 @@
|
||||
"batchLabel": "batch {batchNo}",
|
||||
"taskLabel": "current task {taskId}",
|
||||
"taskList": "Task list: {taskIds}.",
|
||||
"autoInventoryAction": "Upload inventory and align columns",
|
||||
"autoNoticeAction": "Create tasks and parse shipping notices",
|
||||
"autoSpreadsheetAction": "Please specify whether this is an order file or an inventory file",
|
||||
"multiTask": "{summary}. {taskListText}Please only handle the current focus task. Read the current task status first; if it still needs parsing, parse the shipping notice and save the result. If it is already in a later step, explain the current progress and next step directly. Do not ask me again whether parsing should start, and do not loop through other tasks in the batch.",
|
||||
"singleTask": "{summary}. Read the current task status first; if it still needs parsing, parse the shipping notice and save the result. If it is already in a later step, explain the current progress and next step directly. Do not ask me again whether parsing should start."
|
||||
}
|
||||
},
|
||||
"shippingNoticeMapping": {
|
||||
"inventoryHeaders": "Inventory headers",
|
||||
"headerRow": "Header row: {row}",
|
||||
"sample": "Sample",
|
||||
"orderDetails": "Order details",
|
||||
"orderRowCount": "Order rows: {count}",
|
||||
"orderPartNumberPreview": "Internal part numbers (first {count}): {partNumbers}",
|
||||
"partNumberColumnRequired": "Internal part number column (required)",
|
||||
"availableQtyColumnRequired": "Available qty column (required)",
|
||||
"reservationIdColumnRequired": "Reservation ID column (required)",
|
||||
"selectHeader": "Select a header",
|
||||
"reupload": "Re-upload",
|
||||
"applying": "Applying...",
|
||||
"applyAndParse": "Apply mapping and parse",
|
||||
"empty": "(empty)",
|
||||
"unrecognized": "(unrecognized)"
|
||||
},
|
||||
"shippingParsedResult": {
|
||||
"title": "Parsed order result",
|
||||
"statusBlocked": "Blocked",
|
||||
@@ -299,8 +286,6 @@
|
||||
"shortageNoDetails": "No inventory shortage was found for task {taskId}.",
|
||||
"diagnosisInventoryRpaTitle": "Inventory RPA did not return an available inventory snapshot.",
|
||||
"diagnosisInventoryRpaAdvice": "Retry inventory capture first; if the external system is unavailable, upload an inventory file manually.",
|
||||
"diagnosisAlignReviewTitle": "Inventory column mapping needs manual confirmation.",
|
||||
"diagnosisAlignReviewAdvice": "Confirm SKU, Reservation ID, and available-quantity mappings to avoid matching the wrong item.",
|
||||
"diagnosisParseReviewTitle": "Notice parsing confidence is low and needs review.",
|
||||
"diagnosisParseReviewAdvice": "Check customer, PO, required date, and order lines before continuing.",
|
||||
"diagnosisReservationRequiredTitle": "Reservation ID is missing, so inventory cannot be locked by reservation.",
|
||||
@@ -362,7 +347,6 @@
|
||||
"blockedUploadRetryable": "Upload failed, retry available",
|
||||
"suggestedAction": "Suggested action:",
|
||||
"suggestShortageActions": "View shortage / revise notice / rematch",
|
||||
"suggestConfirmMapping": "Confirm column mapping, then continue matching",
|
||||
"suggestReviewParse": "Review parsed fields, then confirm or revise",
|
||||
"suggestRetryStep": "Inspect the blocker, then retry this step",
|
||||
"suggestViewOnly": "Review export files or receipts",
|
||||
@@ -423,7 +407,7 @@
|
||||
"noticeParse": "Notice parsing",
|
||||
"parseConfirm": "Confirm parsing",
|
||||
"inventoryPrepare": "Inventory prep",
|
||||
"alignConfirm": "Confirm mapping",
|
||||
"alignConfirm": "Validate inventory",
|
||||
"inventoryMatch": "Inventory match",
|
||||
"shortageHandle": "Shortage handling",
|
||||
"generateExcel": "Generate Excel",
|
||||
@@ -449,7 +433,7 @@
|
||||
"noticeSubmit": "Submit notice",
|
||||
"parseConfirm": "Confirm parsing",
|
||||
"inventoryPrepare": "Get inventory",
|
||||
"alignConfirm": "Confirm mapping",
|
||||
"alignConfirm": "Validate inventory",
|
||||
"matchInventory": "Match inventory",
|
||||
"generateFile": "Generate shipment file",
|
||||
"uploadFreight": "Upload freight"
|
||||
|
||||
Reference in new issue
Block a user