feat(shipping-notice): 完善订单解析、模板管理与库存 RPA 流程

- 优化订单文档解析、补充合并与坐标重建
- 完善订单模板校验、发布及前端管理界面
- 改进库存 RPA 下载回退与工作流处理
- 补充后端、前端及 RPA 自动化测试
- 更新 Shipping Notice 技术文档与四语言文案
This commit is contained in:
hugo committed 2026-09-09 09:10:10 +08:00
1 parent c4a27324c8
commit 8f2f568f92
46 files changed
+1745 -265

No files matched your search

@@ -4451,8 +4451,10 @@ watch(
) return;
// 只响应后端 current 阶段的真实推进:用户点击已完成阶段只会改路由,
// 绝不能触发自动跳转而被带回当前阶段。
// 无 lifecycle_stage 深链 = 尚未钉工作面,视为仍跟随系统(与「仍停在旧 current」同权)。
const requested = String(route.query.lifecycle_stage || '').trim();
if (requested !== previousStage) return;
const followingSystem = !requested || requested === previousStage;
if (!followingSystem) return;
if (lifecycleStagePinnedByUserForCase.value === String(activeCase.value?.case_no || '').trim()) return;
const previousIndex = LIFECYCLE_STAGE_CODES.indexOf(previousStage);
const currentIndex = LIFECYCLE_STAGE_CODES.indexOf(currentStage);