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

+31 -16
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": "文档模板未通过自动建单审批",
@@ -306,7 +331,7 @@
"inventory_rpa_timeout": "RPA 执行超时",
"inventory_rpa_login_failed": "库存平台登录失败",
"inventory_rpa_export_failed": "库存报表导出失败",
"inventory_rpa_exhausted": "库存源重试次数已耗尽",
"inventory_rpa_exhausted": "库存 RPA 已失败,请选择重新获取库存或上传库存文件",
"inventory_file_missing": "未生成库存文件",
"inventory_file_empty": "库存文件为空或没有有效库存记录",
"inventory_preparation_waiting": "库存文件准备中,请稍后刷新",
@@ -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": "配置直出"
}
},