feat(shipping-order): 迭代货代订单提取与履约全流程功能

添加订单字段自动标注配置,默认仅关键字段参与自动框选
完善字段规范化逻辑,支持更多日期格式解析
添加订单候选人工采纳、驳回的完整流程,包含API、前端交互与状态管理
完善盲测功能,支持订单级字段真值校验,调整盲测集唯一性约束
加固库存校验逻辑,防止重复预约与数量不一致问题
优化坐标匹配逻辑,支持表格外的锚点定位
新增上传结果未知的状态处理,完善任务状态机
更新多语言文案与文档说明,补充功能细节
修复订单合并、重解析的边缘情况问题
补充相关测试用例,完善质量保障
This commit is contained in:
hugo committed 2026-07-27 20:48:40 +08:00
1 parent 11079910ec
commit 90f77634d6
76 files changed
+5056 -338

No files matched your search

+46 -6
View File
@@ -264,6 +264,7 @@
"autoCreationEnabled": "Enable automatic task creation",
"autoCreationSaved": "Automatic task creation setting saved",
"autoCreateKeyField": "Task-creation key field",
"autoAnnotationEnabled": "Use for automatic annotation",
"minimumKeyFieldConfidence": "Minimum key-field confidence",
"unnamedField": "Unnamed field",
"pendingNameField": "Field awaiting name {number}",
@@ -2629,18 +2630,37 @@
"title": "Blind test",
"samples": "Samples: {count} · {status}",
"notRun": "not run",
"approvedHint": "This blind test is approved; no further run or approval is needed.",
"selectIndependentSample": "Select independent sample",
"selectSamplePlaceholder": "Select an order not used to annotate this template",
"noIndependentSamples": "No independent sample is available. Upload and parse another matching order first.",
"reviewHint": "Mark every item correct or incorrect. Provide a correction for incorrect items; unreviewed items cannot be added.",
"row": "Line {index}",
"correct": "Correct",
"incorrect": "Incorrect",
"confirmReview": "Confirm review and add",
"correctionInvalid": "A line correction must be a JSON field object.",
"expectedRows": "Human truth (JSON array)",
"expectedRowsPlaceholder": "[{\"line_no\": \"00010\", \"part_number\": \"PN-1\", \"qty\": \"3\"}]",
"expectedRowsHint": "Enter at least one human-confirmed line truth; do not copy the candidate output.",
"expectedRowsInvalid": "Truth must be a JSON array containing at least one non-empty line object.",
"trainingAdded": "Current training sample bound",
"addTrainingSample": "Add training sample",
"addCurrentSample": "Add current blind sample",
"expectedOrderFields": "Order field truth (JSON object)",
"expectedOrderFieldsPlaceholder": "{\"customer_po\": \"PO-45001\"}",
"expectedOrderFieldsHint": "When order fields are configured, enter a human-confirmed value for every field.",
"expectedOrderFieldsInvalid": "Order field truth must be a JSON object.",
"trainingAdded": "Current training sample bound",
"addTrainingSample": "Add training sample",
"addedSamples": "Added blind-test samples",
"addedSamplesHint": "Draft samples can be removed; approved samples remain auditable.",
"removeSample": "Remove sample",
"sampleRemoved": "Blind-test sample removed",
"addCurrentSample": "Add current blind sample",
"run": "Run",
"approve": "Approve"
},
"workbench": {
"intro": "Drag evidence regions on a controlled document page; saved definitions contain no HTML or storage URL.",
"workbench": {
"boundHistoricalSchema": "bound historical version",
"intro": "Drag evidence regions on a controlled document page; saved definitions contain no HTML or storage URL.",
"openCanvas": "Create draft and open canvas",
"loadingPage": "Loading page...",
"canvasZoom": "Page zoom",
@@ -2664,6 +2684,8 @@
"regionSuggestionReady": "Review the generated row and column marks, then confirm field bindings before saving.",
"unboundColumn": "Unbound column {count}",
"drawHeader": "Draw header",
"drawOrderField": "Draw order field",
"drawOrderAnchor": "Draw order field label",
"drawLine": "Draw physical line",
"drawField": "Draw field",
"drawExclusion": "Draw exclusion",
@@ -2691,6 +2713,21 @@
"undo": "Undo",
"redo": "Redo",
"header": "Header",
"orderField": "Order field",
"orderFieldCandidates": "Order header fields",
"unbound": "Unbound",
"noAnnotatedOrderFields": "No order header fields are annotated on this page.",
"suggestedValue": "Detected value",
"orderAnchor": "Order field label",
"orderAnchorTool": "Field label",
"headerTool": "Table header",
"lineTool": "Detail row",
"fieldTool": "Detail field",
"exclusionTool": "Exclusion area",
"orderFieldValueMode": "Read mode",
"orderFieldStopAnchor": "Stop label",
"orderFieldStopAnchorPlaceholder": "For example, SHIP TO",
"orderFieldModes": { "singleLine": "Single line", "rightOfAnchor": "Right of label", "belowAnchor": "Below label", "multiLine": "Multiple lines" },
"matchCurrentHeader": "Match current header",
"matchAllHeaders": "Match all headers",
"confirmHeaderBinding": "Confirm “{text}” as {field}",
@@ -2722,6 +2759,8 @@
"regionLabels": {
"header": "Header {count}",
"header_field": "Header field {count}",
"order_field": "Order field {count}",
"order_anchor": "Order field label {count}",
"line": "Physical line {count}",
"field": "Field {count}",
"exclusion": "Exclusion {count}"
@@ -2731,7 +2770,8 @@
"table": "Select a table on the current page.",
"line": "Add at least one main line layout.",
"field": "Bind at least one line field.",
"coordinateField": "The current order schema has no enabled line field authorized for PDF-coordinate evidence. Authorize one in the order field template before creating a profile."
"coordinateField": "The current order schema has no enabled line field authorized for PDF-coordinate evidence. Authorize one in the order field template before creating a profile.",
"orderFieldStopAnchor": "A multi-line order field requires a stop label."
}
}
}