feat(shipping-notice): 完善订单解析、模板管理与库存 RPA 流程

- 优化订单文档解析、补充合并与坐标重建
- 完善订单模板校验、发布及前端管理界面
- 改进库存 RPA 下载回退与工作流处理
- 补充后端、前端及 RPA 自动化测试
- 更新 Shipping Notice 技术文档与四语言文案
This commit is contained in:
hugo committed 2026-09-09 09:10:10 +08:00
1 parent c4a27324c8
commit 8f2f568f92
46 files changed
+1745 -265

No files matched your search

+7 -4
View File
@@ -2859,6 +2859,8 @@
"noHeaderResults": "No order header fields were read from the current sample.",
"noLineResults": "No order lines were read from the current sample.",
"noValue": "No value read",
"reservationRegionTitle": "Reservation ID region",
"reservationRegionNeedsReview": "Reservation region needs review: {reasons}",
"rowStatus": "Status",
"deleted": "Deleted; excluded",
"read": "Read",
@@ -2961,9 +2963,9 @@
"signatureRequired": "A valid layout signature is required before publication.",
"signatureStale": "The layout signature is stale. Regenerate it before publishing.",
"overlapRequired": "Cross-template overlap validation is required before publication.",
"overlapStale": "Cross-template overlap validation is stale. Re-run the publish check.",
"overlapFailed": "Cross-template overlap validation failed.",
"selfMatchNotUnique": "Training samples do not uniquely match the current draft.",
"overlapStale": "Cross-template overlap validation is stale because the draft changed. Re-run the publish check.",
"overlapFailed": "Cross-template overlap validation did not pass. Fix the blocking items before publishing.",
"selfMatchNotUnique": "Training/annotation samples do not uniquely match the current draft. Check that required document-match anchor labels can be fully read from the sample (including punctuation).",
"selfMatchNotUniqueBlind": "Blind-test samples do not uniquely match the current draft.",
"crossTemplateFalseHit": "Cross-template false hits were detected.",
"crossTemplateAmbiguous": "Cross-template matching is ambiguous.",
@@ -3490,6 +3492,7 @@
"sampleMaterializationFailed": "Could not create the sample document. Upload again or choose an existing sample.",
"noIndependentSamples": "No independent sample is available. Upload another matching order first.",
"reviewHint": "Mark every item correct or incorrect. Provide a correction for incorrect items; unreviewed items cannot be added.",
"reservationRegionNeedsReview": "Reservation ID region needs review: {reasons}",
"xfaReviewHint": "XFA blind tests review structure-analysis extraction results without a blank PDF; truths are not echoed in ordinary DTOs.",
"row": "Line {index}",
"correct": "Correct",
@@ -3770,7 +3773,7 @@
"schemaField": "Schema field",
"lineLayout": "Physical line",
"selectField": "Select field",
"dragHint": "Drag the selected region or its lower-right edge; numeric coordinates stay hidden.",
"dragHint": "Drag the selected region to move it, or drag any edge/corner to resize; numeric coordinates stay hidden.",
"deleteRegion": "Delete region",
"deleteRegionShortcut": "Delete region (Delete)",
"chooseRegion": "Choose a region or add one to begin annotation.",
+1
View File
@@ -435,6 +435,7 @@
},
"shippingOrderExtractionEmailSupplementRelation": {
"po_mpn": "Relation: PO + part number",
"po_reservation": "Relation: PO + reservation ID",
"po_fallback": "Relation: matched by PO",
"unknown": "Relation pending confirmation"
},
+7 -4
View File
@@ -2728,6 +2728,8 @@
"noHeaderResults": "ไม่พบฟิลด์ส่วนหัวจากตัวอย่างปัจจุบัน",
"noLineResults": "ไม่พบรายการจากตัวอย่างปัจจุบัน",
"noValue": "ไม่พบค่า",
"reservationRegionTitle": "พื้นที่ Reservation ID",
"reservationRegionNeedsReview": "พื้นที่ Reservation ต้องตรวจสอบ: {reasons}",
"rowStatus": "สถานะ",
"deleted": "ลบแล้ว ไม่นับผล",
"read": "อ่านแล้ว",
@@ -2830,9 +2832,9 @@
"signatureRequired": "ต้องมีลายเซ็นเลย์เอาต์ที่ถูกต้องก่อนเผยแพร่",
"signatureStale": "ลายเซ็นเลย์เอาต์หมดอายุแล้ว โปรดสร้างใหม่ก่อนเผยแพร่",
"overlapRequired": "ต้องตรวจความไม่ซ้ำข้ามเทมเพลตก่อนเผยแพร่",
"overlapStale": "การตรวจความไม่ซ้ำข้ามเทมเพลตหมดอายุแล้ว โปรดตรวจสอบการเผยแพร่อีกครั้ง",
"overlapFailed": "การตรวจความไม่ซ้ำข้ามเทมเพลตล้มเหลว",
"selfMatchNotUnique": "ตัวอย่างฝึกไม่ได้จับคู่กับฉบับร่างปัจจุบันอย่างไม่ซ้ำ",
"overlapStale": "การตรวจความไม่ซ้ำข้ามเทมเพลตหมดอายุแล้ว (ฉบับร่างมีการเปลี่ยนแปลง) โปรดตรวจสอบการเผยแพร่อีกครั้ง",
"overlapFailed": "การตรวจความไม่ซ้ำข้ามเทมเพลตไม่ผ่าน โปรดแก้รายการที่บล็อกก่อนเผยแพร่",
"selfMatchNotUnique": "ตัวอย่างฝึก/กำกับไม่ได้จับคู่กับฉบับร่างปัจจุบันอย่างไม่ซ้ำ โปรดตรวจว่าป้ายจุดยึดจับคู่เอกสารที่จำเป็นอ่านจากตัวอย่างได้ครบ (รวมเครื่องหมายวรรคตอน)",
"selfMatchNotUniqueBlind": "ตัวอย่าง blind test ไม่ได้จับคู่กับฉบับร่างปัจจุบันอย่างไม่ซ้ำ",
"crossTemplateFalseHit": "ตรวจพบการจับคู่ผิดข้ามเทมเพลต",
"crossTemplateAmbiguous": "การจับคู่ข้ามเทมเพลตกำกวม",
@@ -3359,6 +3361,7 @@
"sampleMaterializationFailed": "สร้างเอกสารตัวอย่างไม่สำเร็จ โปรดอัปโหลดใหม่หรือเลือกตัวอย่างเดิม",
"noIndependentSamples": "ไม่มีตัวอย่างอิสระ โปรดอัปโหลดคำสั่งซื้อประเภทเดียวกันอีกฉบับก่อน",
"reviewHint": "ทำเครื่องหมายแต่ละรายการว่าถูกต้องหรือผิดพลาด หากผิดพลาดต้องระบุค่าที่แก้ไข รายการที่ยังไม่ตรวจทานจะเพิ่มไม่ได้",
"reservationRegionNeedsReview": "พื้นที่ Reservation ID ต้องตรวจสอบ: {reasons}",
"xfaReviewHint": "การทดสอบแบบปิดบังของ XFA ตรวจทานผลจากการวิเคราะห์โครงสร้างโดยไม่ใช้ PDF ว่าง และไม่ส่งค่าจริงกลับใน DTO ทั่วไป",
"row": "รายการ {index}",
"correct": "ถูกต้อง",
@@ -3639,7 +3642,7 @@
"schemaField": "ฟิลด์ Schema",
"lineLayout": "แถวจริงที่สังกัด",
"selectField": "เลือกฟิลด์",
"dragHint": "ลากพื้นที่ที่เลือกหรือขอบล่างขวาเพื่อกำหนดตำแหน่ง โดยซ่อนตัวเลขพิกัดไว้",
"dragHint": "ลากพื้นที่ที่เลือกเพื่อย้าย หรือลากขอบ/มุมเพื่อปรับขนาด โดยซ่อนตัวเลขพิกัดไว้",
"deleteRegion": "ลบพื้นที่",
"deleteRegionShortcut": "ลบพื้นที่ (Delete)",
"chooseRegion": "เลือกหรือเพิ่มพื้นที่เพื่อเริ่มทำคำอธิบายประกอบ",
+1
View File
@@ -435,6 +435,7 @@
},
"shippingOrderExtractionEmailSupplementRelation": {
"po_mpn": "วิธีเชื่อมโยง: PO + หมายเลขชิ้นส่วน",
"po_reservation": "วิธีเชื่อมโยง: PO + รหัสการจอง",
"po_fallback": "วิธีเชื่อมโยง: จับคู่ด้วย PO",
"unknown": "รอยืนยันวิธีเชื่อมโยง"
},
+7 -4
View File
@@ -2971,6 +2971,8 @@
"noHeaderResults": "当前样本未读取到订单表头字段。",
"noLineResults": "当前样本未读取到订单明细。",
"noValue": "未读取到值",
"reservationRegionTitle": "Reservation ID 专区",
"reservationRegionNeedsReview": "专区需复核:{reasons}",
"rowStatus": "状态",
"deleted": "已删除,不纳入结果",
"read": "已读取",
@@ -3073,9 +3075,9 @@
"signatureRequired": "发布前必须生成有效的版面签名。",
"signatureStale": "版面签名已过期,请重新生成后再发布。",
"overlapRequired": "发布前必须完成跨模板唯一性验证。",
"overlapStale": "跨模板唯一性验证已过期,请重新执行发布检查。",
"overlapFailed": "跨模板唯一性验证失败。",
"selfMatchNotUnique": "训练样本未能唯一命中当前草稿。",
"overlapStale": "跨模板唯一性验证已过期(草稿已变更),请重新执行发布检查。",
"overlapFailed": "跨模板唯一性验证未通过,请根据阻断项修复后再发布。",
"selfMatchNotUnique": "训练/标注样本未能唯一命中当前草稿。请检查必选文档匹配锚点的标签能否在样本中完整读出(含标点)。",
"selfMatchNotUniqueBlind": "盲测样本未能唯一命中当前草稿。",
"crossTemplateFalseHit": "检测到跨模板误命中。",
"crossTemplateAmbiguous": "跨模板匹配存在歧义。",
@@ -3602,6 +3604,7 @@
"sampleMaterializationFailed": "样本文档建立失败,请重新上传或选择已有样本。",
"noIndependentSamples": "没有可用的独立样本;请先上传另一份同类订单。",
"reviewHint": "请逐项勾选正确或错误;标为错误时填写更正值,未勾选不能加入盲测。",
"reservationRegionNeedsReview": "Reservation ID 专区需复核:{reasons}",
"xfaReviewHint": "XFA 盲测基于结构分析与路径提取结果复核,不读取空白 PDF;真值不会回显到普通 DTO。",
"row": "明细 {index}",
"correct": "正确",
@@ -3882,7 +3885,7 @@
"schemaField": "Schema 字段",
"lineLayout": "所属物理行",
"selectField": "选择字段",
"dragHint": "在页面上拖动或拖右下角边界定位;刻意不显示坐标数字。",
"dragHint": "在页面上拖动选区,或拖四边/角点调整宽高;刻意不显示坐标数字。",
"deleteRegion": "删除区域",
"deleteRegionShortcut": "删除区域(Delete)",
"chooseRegion": "选择一个区域或添加区域后开始标注。",
+1
View File
@@ -469,6 +469,7 @@
},
"shippingOrderExtractionEmailSupplementRelation": {
"po_mpn": "关联方式:PO + 料号",
"po_reservation": "关联方式:PO + 预约号",
"po_fallback": "关联方式:按 PO 匹配",
"unknown": "关联方式待确认"
},
+7 -4
View File
@@ -2733,6 +2733,8 @@
"noHeaderResults": "目前樣本未讀取到訂單表頭欄位。",
"noLineResults": "目前樣本未讀取到訂單明細。",
"noValue": "未讀取到值",
"reservationRegionTitle": "Reservation ID 專區",
"reservationRegionNeedsReview": "專區需複核:{reasons}",
"rowStatus": "狀態",
"deleted": "已刪除,不納入結果",
"read": "已讀取",
@@ -2835,9 +2837,9 @@
"signatureRequired": "發布前必須產生有效的版面簽名。",
"signatureStale": "版面簽名已過期,請重新產生後再發布。",
"overlapRequired": "發布前必須完成跨範本唯一性驗證。",
"overlapStale": "跨範本唯一性驗證已過期,請重新執行發布檢查。",
"overlapFailed": "跨範本唯一性驗證失敗。",
"selfMatchNotUnique": "訓練樣本未能唯一命中目前草稿。",
"overlapStale": "跨範本唯一性驗證已過期(草稿已變更),請重新執行發布檢查。",
"overlapFailed": "跨範本唯一性驗證未通過,請依阻斷項修復後再發布。",
"selfMatchNotUnique": "訓練/標註樣本未能唯一命中目前草稿。請檢查必選文件匹配錨點的標籤能否在樣本中完整讀出(含標點)。",
"selfMatchNotUniqueBlind": "盲測樣本未能唯一命中目前草稿。",
"crossTemplateFalseHit": "偵測到跨範本誤命中。",
"crossTemplateAmbiguous": "跨範本匹配存在歧義。",
@@ -3364,6 +3366,7 @@
"sampleMaterializationFailed": "樣本文件建立失敗,請重新上傳或選擇既有樣本。",
"noIndependentSamples": "沒有可用的獨立樣本;請先上傳另一份同類訂單。",
"reviewHint": "請逐項勾選正確或錯誤;標示錯誤時填寫更正值,未勾選不能加入盲測。",
"reservationRegionNeedsReview": "Reservation ID 專區需複核:{reasons}",
"xfaReviewHint": "XFA 盲測依結構分析與路徑提取結果複核,不讀取空白 PDF;真值不會回顯到普通 DTO。",
"row": "明細 {index}",
"correct": "正確",
@@ -3644,7 +3647,7 @@
"schemaField": "Schema 欄位",
"lineLayout": "所屬實體行",
"selectField": "選擇欄位",
"dragHint": "在頁面拖曳或拖右下角邊界定位;刻意不顯示座標數字。",
"dragHint": "在頁面拖曳選區,或拖四邊/角點調整寬高;刻意不顯示座標數字。",
"deleteRegion": "刪除區域",
"deleteRegionShortcut": "刪除區域(Delete)",
"chooseRegion": "選擇一個區域或新增區域後開始標註。",
+1
View File
@@ -435,6 +435,7 @@
},
"shippingOrderExtractionEmailSupplementRelation": {
"po_mpn": "關聯方式:PO + 料號",
"po_reservation": "關聯方式:PO + 預約號",
"po_fallback": "關聯方式:依 PO 配對",
"unknown": "關聯方式待確認"
},