feat(shipping-notice): 新增发货通知自动上传功能与候选资格评估

- 在环境配置中新增 SHIPPING_NOTICE_AUTO_UPLOAD_ENABLED 选项,默认关闭,需显式开启以支持自动上传。
- 引入新的 pytest.ini 文件,增加测试标记以支持自动化测试。
- 删除不再使用的 seed_shipping_notice_agents.py 文件,简化代码库。
- 更新相关 API,增强发货通知与候选资格评估功能,支持多种筛选条件。
- 增强文档与代码注释,反映新的业务逻辑与功能要求。
This commit is contained in:
hugo committed 2026-08-02 19:26:35 +08:00
1 parent cef3d5b26a
commit 3a9fbac2fc
226 files changed
+25010 -2098

No files matched your search

+7
View File
@@ -297,6 +297,7 @@
"SHIPPING_CUSTOMER_SHADOW_NOT_FOUND": "Shadow resolution sample not found.",
"SHIPPING_CUSTOMER_SHADOW_LABEL_REQUIRED": "Select a standard customer as the human label.",
"SHIPPING_CUSTOMER_CONFIRMATION_REQUIRED": "The standard customer is not confirmed. Select the official customer first.",
"SHIPPING_CUSTOMER_REQUIRED_BEFORE_TASK": "Customer must be confirmed before creating a task. Select a standard customer first.",
"SHIPPING_CUSTOMER_CONFIRMATION_CUSTOMER_REQUIRED": "Select a standard customer.",
"SHIPPING_CUSTOMER_CASE_REQUIRED": "The shipping task is missing its required business case and cannot confirm a customer.",
"SHIPPING_NOTICE_REVISION_CASE_MISSING": "The revision target is missing its required business case and cannot create a revision.",
@@ -370,6 +371,12 @@
"SHIPPING_REVIEW_DRAFT_VERSION_REQUIRED": "A valid draft version is required.",
"SHIPPING_REVIEW_DRAFT_VERSION_MISMATCH": "The draft was updated in another window. Refresh and try again.",
"SHIPPING_REVIEW_FIELD_INVALID": "The review field is not in this order's frozen schema.",
"SHIPPING_REVIEW_FIELD_CONFLICT_NOT_FOUND": "Pre-build field conflict was not found or is already resolved.",
"SHIPPING_REVIEW_FIELD_CONFLICT_OPTION_INVALID": "Select a valid conflict option.",
"SHIPPING_REVIEW_FIELD_CONFLICT_VALUE_REQUIRED": "Enter a custom field value.",
"SHIPPING_REVIEW_FIELD_CONFLICT_FIELD_UNKNOWN": "Conflict field is not in the frozen schema.",
"SHIPPING_REVIEW_FIELD_CONFLICT_LINE_MISSING": "The conflict line is missing from the draft.",
"SHIPPING_REVIEW_DUPLICATE_CANDIDATE_MISSING": "The review case has no order candidate for duplicate handling.",
"SHIPPING_REVIEW_INVENTORY_CANDIDATES_INVALID": "Manual inventory source candidates are invalid. Select enabled sources and provide a reason.",
"SHIPPING_REVIEW_INVENTORY_ROUTING_ADOPT_INVALID": "Cannot adopt the rule suggestion: this line has no valid pending rule result.",
"SHIPPING_REVIEW_INVENTORY_ROUTING_KEEP_INVALID": "Cannot keep the manual result: this line has no pending rule suggestion.",