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

@@ -4,7 +4,8 @@
* 依赖:ProcessGateRecoveryCard、shipping.api、shipping-tasks.api、ManualUploadEvidenceDialog。
* 逻辑:优先展示 ui_state.process_gate 阻断信息与 next_action_code;禁止按 process_status
* 二次推导门禁动作;存在 current_blocking_gate 时不渲染旧 action_buttons(Gate 唯一真相);
* 管理员 can_handle=false 时只读;无 Gate 阻断时 wait_manual_upload 允许下载 Excel + 人工上传凭据。
* confirm_customer 打开本面板客户弹窗(非跳转复核);管理员 can_handle=false 时只读;
* 无 Gate 阻断时 wait_manual_upload 允许下载 Excel + 人工上传凭据。
*/
<script setup lang="ts">
import { computed, ref } from 'vue';
@@ -374,6 +375,7 @@ async function runAction(action: ShippingChatAction) {
}"
@refreshed="afterSuccess"
@refresh-needed="afterSuccess"
@confirm-customer="() => void openCustomerDialog()"
/>
<section
v-if="!hasBlockingGate"