feat(shipping-notice,receipt-report): 新增收料报表功能并优化发货通知流程

清理废弃的shipping xfa ocr automark相关代码和job配置
新增收料报表管理的前端页面、路由和侧边栏入口
新增后端收料报表配置接口、数据库模型和RPA脚本
优化发货通知流程的重试策略,将shipping相关job默认不自动重试
移除废弃的库存源确认相关逻辑,更新流程门禁规则
重构订单模板的值适配器模块,新增坐标OCR值适配器
清理前端shipping菜单和action的废弃选项
更新相关文档和测试用例,调整.gitignore忽略规则
This commit is contained in:
hugo committed 2026-08-20 20:23:10 +08:00
1 parent 260465b72d
commit 1b6483a4ea
466 files changed
+32115 -33796

No files matched your search

+30 -15
View File
@@ -99,6 +99,7 @@
"applications": "應用管理",
"knowledgeBase": "知識庫",
"scheduleRuns": "排程記錄",
"receiptReports": "收料檔案",
"shippingNotice": "貨代發貨",
"shippingCustomers": "客戶主資料",
"shippingTasks": "發貨任務",
@@ -167,6 +168,24 @@
"downloadExcelFailed": "下載 Excel 失敗"
}
},
"receiptReports": {
"title": "收料檔案",
"hint": "僅顯示您作為排程接收人有權查看的原始收料歸檔檔案。",
"refresh": "重新整理",
"loading": "正在載入收料檔案...",
"empty": "暫無可下載的收料檔案",
"file": "檔案名稱",
"site": "站點",
"warehouse": "Warehouse",
"createdAt": "歸檔時間",
"expiresAt": "保留至",
"action": "操作",
"download": "下載",
"resend": "重新傳送企業微信",
"failedUnits": "失敗的收料單元",
"retry": "填寫原因後重試",
"retryReasonPrompt": "請填寫重試 {target} 的原因"
},
"shippingNotice": {
"title": "貨代發貨通知",
"subtitle": "在任務中心查看待辦列表;單票處理請進入訂單生命週期工作台。",
@@ -207,7 +226,7 @@
"diagnosticHint": "處理建議",
"responsibleParty": "責任方",
"attemptCount": "執行嘗試",
"attemptCountValue": "{current} / {max}(技術自動重試上限)",
"attemptCountValue": "第 {current} 次執行",
"viewAudit": "檢視審計",
"hideAudit": "收起審計",
"auditLoading": "正在載入審計…",
@@ -226,7 +245,6 @@
"process_gate_suggestion_adopted": "已採用規則建議",
"process_gate_suggestion_rejected": "已拒絕規則建議",
"process_gate_downstream_invalidated": "下游結果已失效",
"process_gate_technical_retry": "系統已自動重試",
"process_gate_lease_taken_over": "處理任務已由其他 Worker 接管",
"process_gate_artifact_superseded": "產物已被新版本取代",
"process_gate_permission_denied": "無權限執行該操作"
@@ -266,7 +284,6 @@
"reconcile_and_progress": "對帳並自動恢復",
"resolve_field_conflicts": "解決欄位衝突",
"retry_with_latest_rules": "依最新規則重試",
"open_inventory_source_review": "開啟庫存源覆核",
"adopt_rule_suggestion": "採用規則建議",
"keep_manual_inventory_decision": "保留人工決定",
"recheck_freeze_readiness": "重新檢查建單資格",
@@ -279,7 +296,6 @@
"retry_inventory_field_mapping": "重試庫存欄位對應",
"retry_inventory_from_field_mapping": "從欄位對應重新恢復",
"retry_inventory_from_matching": "使用目前庫存重新匹配",
"confirm_inventory_field_mapping": "確認庫存欄位對應",
"retry_inventory_matching": "重試庫存匹配",
"open_inventory_match_review": "開啟庫存匹配覆核",
"recheck_inventory_sufficiency": "重新檢查庫存滿足性",
@@ -291,6 +307,15 @@
"regenerate_manual_upload_todo": "重新產生待上傳待辦",
"mark_manual_uploaded": "確認已人工上傳"
},
"inventoryActions": {
"retryInventoryPreparation": "重新取得庫存(RPA)",
"retryInventoryMatching": "重新匹配庫存",
"openInventoryMatchReview": "處理庫存匹配",
"openShortageReview": "處理庫存缺口",
"uploadInventoryFile": "上傳庫存檔案",
"downloadInventoryFile": "下載庫存檔案",
"releaseInventoryShortage": "放行庫存缺口"
},
"reasons": {
"freeze_not_ready": "訂單尚未滿足建單/凍結條件",
"profile_not_auto_freeze_approved": "文件模板未通過自動建單審批",
@@ -321,7 +346,7 @@
"upload_platform_rejected": "貨代平台拒絕本次上傳",
"upload_result_unknown": "上傳結果暫時無法確認",
"manual_upload_pending": "請下載 Excel 後在貨代平台上傳並登記結果",
"technical_retry_exhausted": "系統自動重試已耗盡",
"technical_failure_present": "系統處理失敗,等待使用者選擇下一步動作",
"order_extraction_failed": "訂單欄位抽取失敗",
"order_extraction_cancelled": "訂單抽取已取消",
"customer_out_of_scope": "客戶不在目前業務範圍內",
@@ -616,12 +641,6 @@
"shipTo": "收貨地址",
"freightRef": "貨代單號"
},
"inventorySourceDialog": {
"title": "確認庫存查詢來源",
"hint": "請從候選清單選擇已發布的庫存源,或手動輸入庫存源編碼。",
"confirm": "確認庫存源",
"manualEntry": "手動輸入庫存源編碼"
},
"inventorySource": {
"title": "庫存查詢來源",
"sourceCode": "庫存源編碼",
@@ -631,11 +650,8 @@
"status": "判定狀態",
"method": "判定方式",
"configVersion": "設定版本",
"confirmedAt": "確認時間",
"confirmedBy": "確認人 ID",
"statusLabels": {
"resolved": "已自動解析",
"user_confirmed": "已人工確認",
"unresolved": "未解析",
"ambiguous": "多候選",
"invalid": "設定無效",
@@ -643,7 +659,6 @@
},
"methodLabels": {
"auto": "自動匹配",
"user": "人工確認",
"config": "設定直出"
}
},