refactor(shipping-notice): 统一料号字段,移除过时的 SKU 相关字段,更新相关逻辑以支持新字段命名

This commit is contained in:
hugo committed 2026-07-16 20:02:33 +08:00
1 parent dde25344ca
commit 46eb63f5bb
111 files changed
+3116 -1250

No files matched your search

+26 -9
View File
@@ -17,8 +17,20 @@
"ready": "Ready",
"uploadFailed": "Upload failed",
"parseFailed": "Processing failed",
"retry": "Retry upload",
"retryNamed": "Retry uploading attachment {name}",
"remove": "Remove attachment",
"removeNamed": "Remove attachment {name}"
"removeNamed": "Remove attachment {name}",
"totalLimit": "Attachment limit reached ({limit})",
"typeLimit": "Attachment limit for this file type reached ({limit})",
"unsupportedFile": "Unsupported attachment type: {name}",
"localTypeDisabled": "This app does not support uploading attachment type: {type}",
"fileTooLarge": "Attachment is too large (limit {limit} MB): {name}",
"httpOnly": "Only http/https URLs are supported",
"remoteDisabled": "This app does not support URL attachments",
"unsupportedRemote": "Unsupported URL attachment type",
"remoteTypeDisabled": "This app does not support this URL attachment type: {type}",
"missingUploadId": "The upload service did not return a file identifier"
},
"agentId": "Agent ID:",
"loadingAgent": "Loading agent...",
@@ -101,7 +113,7 @@
"shippingOrderExtractionPendingCount": "{count} awaiting details or confirmation",
"shippingOrderExtractionIgnoredCount": "{count} non-shipping item(s) ignored",
"shippingOrderExtractionMissingFieldsCount": "{count} task(s) still missing workflow fields",
"shippingCandidateInvalidLine": "Every order line requires a SKU and a quantity greater than zero.",
"shippingCandidateInvalidLine": "Every order line requires an internal part number and a quantity greater than zero.",
"shippingCandidatePoNumber": "PO Number",
"shippingCandidateSku": "SKU",
"shippingCandidateQty": "Quantity",
@@ -151,12 +163,11 @@
"sample": "Sample",
"orderDetails": "Order details",
"orderRowCount": "Order rows: {count}",
"orderSkuPreview": "SKUs (first {count}): {skus}",
"skuColumnRequired": "SKU column (required)",
"orderPartNumberPreview": "Internal part numbers (first {count}): {partNumbers}",
"partNumberColumnRequired": "Internal part number column (required)",
"availableQtyColumnRequired": "Available qty column (required)",
"reservationIdColumnOptional": "Reservation ID column (optional)",
"reservationIdColumnRequired": "Reservation ID column (required)",
"selectHeader": "Select a header",
"reservationIdNotUsed": "(Do not use Reservation ID)",
"reupload": "Re-upload",
"applying": "Applying...",
"applyAndParse": "Apply mapping and parse",
@@ -168,10 +179,12 @@
"statusBlocked": "Blocked",
"statusReady": "Ready",
"statusEmpty": "No order lines",
"impactHint": "Reservation ID drives inventory matching; missing or invalid values block inventory and fulfillment. Source Type / Hub Code are optional routing hints for inventory-source selection and do not block when absent.",
"impactHint": "internal part number and Reservation ID drive inventory matching; customer and AWS part numbers support traceability, while the inventory source hint supports routing and is optional.",
"missingFields": "Missing fields",
"sourceType": "Source Type",
"hubCode": "Hub Code",
"adjudicationTitle": "Field cross-source adjudication",
"score": "Score {score}",
"noLines": "This task has no persisted order lines yet.",
"evidenceTitle": "Field evidence",
"unknownField": "Unknown field",
@@ -213,6 +226,10 @@
"addLine": "Add line",
"reservationId": "Reservation ID",
"sku": "SKU",
"partNumber": "Internal Part Number",
"customerPartNumber": "Customer Part Number",
"awsPartNumber": "AWS Part Number",
"inventorySourceHint": "Inventory Source Hint",
"qty": "Qty",
"actions": "Actions",
"editLine": "Edit",
@@ -228,7 +245,7 @@
"statusLabel": "Status",
"shortageBanner": "Inventory shortage exists. Do not continue to freight upload yet. Resolve the shortage first, or use the available actions to retry matching / revise the input.",
"shortageDetails": "Shortage details",
"shortageRowDetail": "Line {index}: Reservation ID {reservationId}, SKU {sku}, shortage {shortage}",
"shortageRowDetail": "Line {index}: Reservation ID {reservationId}, internal part number {partNumber}, shortage {shortage}",
"availableActions": "Available actions",
"stepperTitle": "Workflow steps",
"batchTitle": "Shipping batch",
@@ -276,7 +293,7 @@
"diagnosisUploadFailedAdvice": "Retry this task. If it keeps failing, check freight login state, field formats, or upload manually.",
"diagnosisShortageTitle": "Inventory matching found a shortage, so full shipment cannot continue directly.",
"diagnosisShortageAdvice": "Shipment is blocked. Replenish inventory or correct the notice, then match inventory again.",
"diagnosisShortageLine": "Line {index}: reservation {reservationId}, SKU {sku}, required {required}, available {available}, shortage {shortage}",
"diagnosisShortageLine": "Line {index}: reservation {reservationId}, internal part number {partNumber}, required {required}, available {available}, shortage {shortage}",
"diagnosisShortageAdviceWithLines": "Shortage details: {lines}. Replenish inventory or correct the notice, then match again.",
"shortageDetailsMessageTitle": "Inventory shortage details for task {taskId} ({file}):",
"shortageNoDetails": "No inventory shortage was found for task {taskId}.",
+26 -9
View File
@@ -17,8 +17,20 @@
"ready": "พร้อมใช้งาน",
"uploadFailed": "อัปโหลดไม่สำเร็จ",
"parseFailed": "ประมวลผลไม่สำเร็จ",
"retry": "ลองอัปโหลดอีกครั้ง",
"retryNamed": "ลองอัปโหลดไฟล์แนบ {name} อีกครั้ง",
"remove": "ลบไฟล์แนบ",
"removeNamed": "ลบไฟล์แนบ {name}"
"removeNamed": "ลบไฟล์แนบ {name}",
"totalLimit": "ถึงขีดจำกัดจำนวนไฟล์แนบแล้ว ({limit})",
"typeLimit": "ถึงขีดจำกัดไฟล์แนบประเภทนี้แล้ว ({limit})",
"unsupportedFile": "ไม่รองรับประเภทไฟล์แนบ: {name}",
"localTypeDisabled": "แอปนี้ไม่รองรับการอัปโหลดไฟล์แนบประเภท: {type}",
"fileTooLarge": "ไฟล์แนบมีขนาดใหญ่เกินไป (สูงสุด {limit} MB): {name}",
"httpOnly": "รองรับเฉพาะ URL แบบ http/https",
"remoteDisabled": "แอปนี้ไม่รองรับไฟล์แนบจาก URL",
"unsupportedRemote": "ไม่รองรับประเภทไฟล์แนบจาก URL",
"remoteTypeDisabled": "แอปนี้ไม่รองรับไฟล์แนบ URL ประเภท: {type}",
"missingUploadId": "บริการอัปโหลดไม่ได้ส่งคืนรหัสไฟล์"
},
"agentId": "รหัสตัวแทน:",
"loadingAgent": "กำลังโหลดตัวแทน...",
@@ -101,7 +113,7 @@
"shippingOrderExtractionPendingCount": "รอข้อมูลหรือการยืนยัน {count} รายการ",
"shippingOrderExtractionIgnoredCount": "ข้ามรายการที่ไม่ใช่การจัดส่ง {count} รายการ",
"shippingOrderExtractionMissingFieldsCount": "งาน {count} รายการยังขาดข้อมูลกระบวนการ",
"shippingCandidateInvalidLine": "ทุกรายการต้องมี SKU และจำนวนมากกว่าศูนย์",
"shippingCandidateInvalidLine": "แต่ละรายการต้องมีหมายเลขชิ้นส่วนภายใน และจำนวนมากกว่าศูนย์",
"shippingCandidatePoNumber": "PO Number",
"shippingCandidateSku": "SKU",
"shippingCandidateQty": "จำนวน",
@@ -151,12 +163,11 @@
"sample": "ตัวอย่าง",
"orderDetails": "รายละเอียดคำสั่งซื้อ",
"orderRowCount": "จำนวนแถวคำสั่งซื้อ: {count}",
"orderSkuPreview": "SKU (แรก {count}): {skus}",
"skuColumnRequired": "คอลัมน์ SKU (จำเป็น)",
"orderPartNumberPreview": "หมายเลขชิ้นส่วนภายใน ({count} รายการแรก): {partNumbers}",
"partNumberColumnRequired": "คอลัมน์หมายเลขชิ้นส่วนภายใน (จำเป็น)",
"availableQtyColumnRequired": "คอลัมน์จำนวนคงเหลือ (จำเป็น)",
"reservationIdColumnOptional": "คอลัมน์ Reservation ID (ไม่บังคับ)",
"reservationIdColumnRequired": "คอลัมน์ Reservation ID (จำเป็น)",
"selectHeader": "เลือกชื่อหัวคอลัมน์",
"reservationIdNotUsed": "(ไม่ใช้ Reservation ID)",
"reupload": "อัปโหลดใหม่",
"applying": "กำลังนำไปใช้...",
"applyAndParse": "นำการจับคู่ไปใช้และแยกข้อมูล",
@@ -168,10 +179,12 @@
"statusBlocked": "ถูกบล็อก",
"statusReady": "พร้อมดำเนินการ",
"statusEmpty": "ยังไม่มีรายการคำสั่งซื้อ",
"impactHint": "Reservation ID ใช้จับคู่สต็อก หากขาดหรือไม่ถูกต้องจะบล็อกขั้นตอนสต็อกและการส่งมอบ; Source Type / Hub Code เป็นข้อมูลช่วยเลือกแหล่งสต็อกแบบเลือกได้ หากขาดจะไม่บล็อก",
"impactHint": "หมายเลขชิ้นส่วนภายใน และ Reservation ID ใช้จับคู่สินค้าคงคลัง; หมายเลขลูกค้าและ AWS ใช้ติดตามย้อนกลับ ส่วนคำใบ้แหล่งสินค้าคงคลังใช้กำหนดเส้นทางและไม่บังคับ",
"missingFields": "ฟิลด์ที่ต้องเติม",
"sourceType": "Source Type",
"hubCode": "Hub Code",
"adjudicationTitle": "การตัดสินข้ามแหล่งข้อมูล",
"score": "คะแนน {score}",
"noLines": "งานนี้ยังไม่มีรายการคำสั่งซื้อที่บันทึกไว้",
"evidenceTitle": "หลักฐานฟิลด์",
"unknownField": "ฟิลด์ไม่ทราบ",
@@ -213,6 +226,10 @@
"addLine": "เพิ่มแถว",
"reservationId": "Reservation ID",
"sku": "SKU",
"partNumber": "หมายเลขชิ้นส่วนภายใน",
"customerPartNumber": "หมายเลขชิ้นส่วนลูกค้า",
"awsPartNumber": "หมายเลขชิ้นส่วน AWS",
"inventorySourceHint": "คำใบ้แหล่งสินค้าคงคลัง",
"qty": "จำนวน",
"actions": "การทำงาน",
"editLine": "แก้ไข",
@@ -228,7 +245,7 @@
"statusLabel": "สถานะ",
"shortageBanner": "มีสต็อกขาดอยู่ จึงยังไม่ควรอัปโหลดไปยังผู้ให้บริการขนส่งต่อ กรุณาจัดการส่วนที่ขาดก่อน หรือใช้ปุ่มที่มีให้เพื่อจับคู่ใหม่ / กลับไปแก้ไขข้อมูล",
"shortageDetails": "รายละเอียดส่วนขาด",
"shortageRowDetail": "แถว {index}: Reservation ID {reservationId}, SKU {sku}, ขาด {shortage}",
"shortageRowDetail": "แถว {index}: Reservation ID {reservationId}, หมายเลขชิ้นส่วนภายใน {partNumber}, ขาด {shortage}",
"availableActions": "การทำงานที่ใช้ได้",
"stepperTitle": "ขั้นตอนการทำงาน",
"batchTitle": "ชุดงานจัดส่ง",
@@ -276,7 +293,7 @@
"diagnosisUploadFailedAdvice": "ลองงานนี้ใหม่ หากยังล้มเหลวให้ตรวจสถานะล็อกอิน รูปแบบฟิลด์ หรืออัปโหลดด้วยตนเอง",
"diagnosisShortageTitle": "การจับคู่สต็อกพบจำนวนขาด จึงยังดำเนินการส่งเต็มจำนวนไม่ได้",
"diagnosisShortageAdvice": "ระบบบล็อกการจัดส่งต่อ โปรดเติมสต็อกหรือแก้ไขใบแจ้ง แล้วจับคู่สต็อกใหม่",
"diagnosisShortageLine": "แถว {index}: Reservation {reservationId}, SKU {sku}, ต้องการ {required}, มี {available}, ขาด {shortage}",
"diagnosisShortageLine": "แถว {index}: Reservation {reservationId}, หมายเลขชิ้นส่วนภายใน {partNumber}, ต้องการ {required}, มี {available}, ขาด {shortage}",
"diagnosisShortageAdviceWithLines": "รายละเอียดส่วนขาด: {lines} โปรดเติมสต็อกหรือแก้ไขใบแจ้ง แล้วจับคู่ใหม่",
"shortageDetailsMessageTitle": "รายละเอียดสต็อกขาดของงาน {taskId} ({file}):",
"shortageNoDetails": "ไม่พบสต็อกขาดสำหรับงาน {taskId}",
+26 -9
View File
@@ -17,8 +17,20 @@
"ready": "处理完成",
"uploadFailed": "上传失败",
"parseFailed": "解析失败",
"retry": "重试上传",
"retryNamed": "重试上传附件 {name}",
"remove": "删除附件",
"removeNamed": "删除附件 {name}"
"removeNamed": "删除附件 {name}",
"totalLimit": "附件数量已达上限({limit})",
"typeLimit": "该类型附件数量已达上限({limit})",
"unsupportedFile": "不支持的附件类型:{name}",
"localTypeDisabled": "当前应用不支持上传此类型附件:{type}",
"fileTooLarge": "附件过大(上限 {limit}MB):{name}",
"httpOnly": "仅支持 http/https URL",
"remoteDisabled": "当前应用不支持 URL 附件",
"unsupportedRemote": "不支持的 URL 附件类型",
"remoteTypeDisabled": "当前应用不支持该类型 URL 附件:{type}",
"missingUploadId": "上传服务未返回文件标识"
},
"agentId": "应用 ID:",
"loadingAgent": "正在加载应用...",
@@ -101,7 +113,7 @@
"shippingOrderExtractionPendingCount": "{count} 个待补充或确认",
"shippingOrderExtractionIgnoredCount": "忽略 {count} 项非发货内容",
"shippingOrderExtractionMissingFieldsCount": "{count} 个任务仍缺流程字段",
"shippingCandidateInvalidLine": "每条订单行都必须填写 SKU 和大于 0 的数量。",
"shippingCandidateInvalidLine": "每条订单行都必须填写内部料号以及大于 0 的数量。",
"shippingCandidatePoNumber": "PO Number",
"shippingCandidateSku": "SKU",
"shippingCandidateQty": "数量",
@@ -151,12 +163,11 @@
"sample": "样例",
"orderDetails": "订单明细",
"orderRowCount": "订单行数:{count}",
"orderSkuPreview": "SKU(前{count}):{skus}",
"skuColumnRequired": "SKU 列(必填)",
"orderPartNumberPreview": "内部料号(前{count}):{partNumbers}",
"partNumberColumnRequired": "内部料号列(必填)",
"availableQtyColumnRequired": "可用数量列(必填)",
"reservationIdColumnOptional": "Reservation ID 列(可选)",
"reservationIdColumnRequired": "Reservation ID 列(必填)",
"selectHeader": "请选择表头列名",
"reservationIdNotUsed": "(不使用 Reservation ID)",
"reupload": "重新上传",
"applying": "应用中...",
"applyAndParse": "应用映射并解析",
@@ -168,10 +179,12 @@
"statusBlocked": "流转阻断",
"statusReady": "可继续",
"statusEmpty": "暂无订单行",
"impactHint": "Reservation ID 用于库存匹配,缺失或非法时会阻断进入库存与履约;Source Type / Hub Code 是可选路由线索,用于库存源选择,缺失不阻断。",
"impactHint": "内部料号与 Reservation ID 用于库存匹配;客户料号和 AWS 料号用于追溯,库存源线索用于路由,缺失不阻断。",
"missingFields": "待补字段",
"sourceType": "Source Type",
"hubCode": "Hub Code",
"adjudicationTitle": "字段交叉裁决",
"score": "评分 {score}",
"noLines": "当前任务尚无持久订单行。",
"evidenceTitle": "字段证据",
"unknownField": "未知字段",
@@ -213,6 +226,10 @@
"addLine": "新增一行",
"reservationId": "预订单号",
"sku": "料号",
"partNumber": "内部料号",
"customerPartNumber": "客户料号",
"awsPartNumber": "AWS 料号",
"inventorySourceHint": "库存源线索",
"qty": "数量",
"actions": "操作",
"editLine": "编辑",
@@ -228,7 +245,7 @@
"statusLabel": "状态",
"shortageBanner": "存在库存缺口,当前不能继续上传货代。请先处理缺口,或按可用按钮重新匹配 / 返回修订。",
"shortageDetails": "缺口明细",
"shortageRowDetail": "第 {index} 行:预订单号 {reservationId},料号 {sku},缺口 {shortage}",
"shortageRowDetail": "第 {index} 行:预订单号 {reservationId},内部料号 {partNumber},缺口 {shortage}",
"availableActions": "可用操作",
"stepperTitle": "流程步骤",
"batchTitle": "发货批次",
@@ -276,7 +293,7 @@
"diagnosisUploadFailedAdvice": "建议单独重试;若连续失败,请检查货代系统登录状态、字段格式或人工上传。",
"diagnosisShortageTitle": "库存匹配存在缺口,当前不能直接生成完整发货。",
"diagnosisShortageAdvice": "系统已阻断后续发货,请按下方缺口明细补库存或修正通知单后重新匹配。",
"diagnosisShortageLine": "第 {index} 行:预订单号 {reservationId},料号 {sku},需求 {required},可用 {available},缺口 {shortage}",
"diagnosisShortageLine": "第 {index} 行:预订单号 {reservationId},内部料号 {partNumber},需求 {required},可用 {available},缺口 {shortage}",
"diagnosisShortageAdviceWithLines": "缺口明细:{lines}。请补库存或修正通知单后重新匹配。",
"shortageDetailsMessageTitle": "任务 {taskId}({file})的库存缺口明细:",
"shortageNoDetails": "任务 {taskId} 当前未发现库存缺口。",
+26 -9
View File
@@ -17,8 +17,20 @@
"ready": "處理完成",
"uploadFailed": "上傳失敗",
"parseFailed": "解析失敗",
"retry": "重試上傳",
"retryNamed": "重試上傳附件 {name}",
"remove": "刪除附件",
"removeNamed": "刪除附件 {name}"
"removeNamed": "刪除附件 {name}",
"totalLimit": "附件數量已達上限({limit})",
"typeLimit": "此類型附件數量已達上限({limit})",
"unsupportedFile": "不支援的附件類型:{name}",
"localTypeDisabled": "目前應用程式不支援上傳此類型附件:{type}",
"fileTooLarge": "附件過大(上限 {limit}MB):{name}",
"httpOnly": "僅支援 http/https URL",
"remoteDisabled": "目前應用程式不支援 URL 附件",
"unsupportedRemote": "不支援的 URL 附件類型",
"remoteTypeDisabled": "目前應用程式不支援此類型 URL 附件:{type}",
"missingUploadId": "上傳服務未回傳檔案識別碼"
},
"agentId": "應用 ID:",
"loadingAgent": "正在加載應用...",
@@ -101,7 +113,7 @@
"shippingOrderExtractionPendingCount": "{count} 個待補充或確認",
"shippingOrderExtractionIgnoredCount": "忽略 {count} 項非出貨內容",
"shippingOrderExtractionMissingFieldsCount": "{count} 個任務仍缺流程欄位",
"shippingCandidateInvalidLine": "每條訂單行都必須填寫 SKU 和大於 0 的數量。",
"shippingCandidateInvalidLine": "每條訂單行都必須填寫內部料號以及大於 0 的數量。",
"shippingCandidatePoNumber": "PO Number",
"shippingCandidateSku": "SKU",
"shippingCandidateQty": "數量",
@@ -151,12 +163,11 @@
"sample": "樣例",
"orderDetails": "訂單明細",
"orderRowCount": "訂單行數:{count}",
"orderSkuPreview": "SKU(前{count}):{skus}",
"skuColumnRequired": "SKU 欄位(必填)",
"orderPartNumberPreview": "內部料號(前{count}):{partNumbers}",
"partNumberColumnRequired": "內部料號欄位(必填)",
"availableQtyColumnRequired": "可用數量欄位(必填)",
"reservationIdColumnOptional": "Reservation ID 欄位(選填)",
"reservationIdColumnRequired": "Reservation ID 欄位(必填)",
"selectHeader": "請選擇表頭欄位",
"reservationIdNotUsed": "(不使用 Reservation ID)",
"reupload": "重新上傳",
"applying": "套用中...",
"applyAndParse": "套用映射並解析",
@@ -168,10 +179,12 @@
"statusBlocked": "流轉阻斷",
"statusReady": "可繼續",
"statusEmpty": "暫無訂單行",
"impactHint": "Reservation ID 用於庫存匹配,缺失或非法時會阻斷進入庫存與履約;Source Type / Hub Code 是可選路由線索,用於庫存源選擇,缺失不阻斷。",
"impactHint": "內部料號與 Reservation ID 用於庫存匹配;客戶料號和 AWS 料號用於追溯,庫存源線索用於路由,缺失不阻斷。",
"missingFields": "待補欄位",
"sourceType": "Source Type",
"hubCode": "Hub Code",
"adjudicationTitle": "欄位交叉裁決",
"score": "評分 {score}",
"noLines": "目前任務尚無持久訂單行。",
"evidenceTitle": "欄位證據",
"unknownField": "未知欄位",
@@ -213,6 +226,10 @@
"addLine": "新增一行",
"reservationId": "預訂單號",
"sku": "料號",
"partNumber": "內部料號",
"customerPartNumber": "客戶料號",
"awsPartNumber": "AWS 料號",
"inventorySourceHint": "庫存來源線索",
"qty": "數量",
"actions": "操作",
"editLine": "編輯",
@@ -228,7 +245,7 @@
"statusLabel": "狀態",
"shortageBanner": "存在庫存缺口,目前不能繼續上傳貨代。請先處理缺口,或依可用按鈕重新匹配 / 返回修訂。",
"shortageDetails": "缺口明細",
"shortageRowDetail": "第 {index} 行:預訂單號 {reservationId},料號 {sku},缺口 {shortage}",
"shortageRowDetail": "第 {index} 行:預訂單號 {reservationId},內部料號 {partNumber},缺口 {shortage}",
"availableActions": "可用操作",
"stepperTitle": "流程步驟",
"batchTitle": "發貨批次",
@@ -276,7 +293,7 @@
"diagnosisUploadFailedAdvice": "建議單獨重試;若連續失敗,請檢查貨代系統登入狀態、欄位格式或人工上傳。",
"diagnosisShortageTitle": "庫存匹配存在缺口,目前不能直接生成完整發貨。",
"diagnosisShortageAdvice": "系統已阻斷後續發貨,請按下方缺口明細補庫存或修正通知單後重新匹配。",
"diagnosisShortageLine": "第 {index} 行:預訂單號 {reservationId},料號 {sku},需求 {required},可用 {available},缺口 {shortage}",
"diagnosisShortageLine": "第 {index} 行:預訂單號 {reservationId},內部料號 {partNumber},需求 {required},可用 {available},缺口 {shortage}",
"diagnosisShortageAdviceWithLines": "缺口明細:{lines}。請補庫存或修正通知單後重新匹配。",
"shortageDetailsMessageTitle": "任務 {taskId}({file})的庫存缺口明細:",
"shortageNoDetails": "任務 {taskId} 目前未發現庫存缺口。",