feat(shipping-notice): 新增发货批次和任务管理功能,支持批次创建与任务处理

This commit is contained in:
hugo committed 2026-06-17 20:45:19 +08:00
1 parent 457f0f4e5e
commit 634dee4b81
81 files changed
+9088 -3625

No files matched your search

@@ -1,3 +1,11 @@
"""
services/shipping_notice/export.py
用途:生成发货通知对应的货代出货 Excel,并管理模板与导出文件存储路径。
依赖:openpyxl、app.models.ShippingTask、path_utils、Flask current_app 配置。
逻辑:由 fulfillment_workflow.generate_excel 调用本文件,根据任务数据填充模板后返回导出文件路径。
"""
from __future__ import annotations
from datetime import datetime