feat(shipping-freight-auto-upload): 新增货代发货Excel连接级自动上传全链路功能
为提升货代上传的自动化程度,减少人工操作,本提交实现完整的连接级自动上传功能,包含以下变更: - 新增数据库迁移与ShippingRpaProfile模型字段,存储连接级上传配置 - 完善RPA自动上传触发、回调与状态管理逻辑,支持三态结果与人工兜底 - 优化聊天界面任务卡片加载与按钮渲染,修复无文案幽灵按钮问题
This commit is contained in:
1 parent
06c18b3c7c
commit
434c04ed2d
30 files changed
+1574
-185
No files matched your search
@@ -1150,6 +1150,12 @@ def list_freight_notice_groups_for_task(
|
||||
'business_no': business_no,
|
||||
'po_number': po_number,
|
||||
'upload_status': notice.upload_status,
|
||||
'upload_mode': notice.upload_mode,
|
||||
'upload_attempt': notice.upload_attempt,
|
||||
'upload_error_code': notice.upload_error_code,
|
||||
# 逐单失败原因:优先取最近一次上传的错误正文,回退到任务级 error_message。
|
||||
'upload_error_message': (notice.upload_error_message or notice.error_message or '')[:500] or None,
|
||||
'pending_human_reason': notice.pending_human_reason,
|
||||
'export_file_name': notice.export_file_name,
|
||||
'available_actions': available_actions,
|
||||
'lines': _notice_line_summary_for_task(notice),
|
||||
|
||||
Reference in new issue
Block a user