From 962978ad6ae381d38a50857db01bc38101eff46f Mon Sep 17 00:00:00 2001
From: ouyangxq <775153912@qq.com>
Date: Thu, 8 Oct 2026 18:08:42 +0800
Subject: [PATCH] fix(pda): restore whole-trip departure and handover after
merge
---
src/pages/dispatch/dispatch.vue | 36 ++++++++++++++++++----------
tests/fulfillment-workflows.test.mjs | 29 ++++++++++++++++++++++
2 files changed, 52 insertions(+), 13 deletions(-)
diff --git a/src/pages/dispatch/dispatch.vue b/src/pages/dispatch/dispatch.vue
index 9459b59..033ed8a 100644
--- a/src/pages/dispatch/dispatch.vue
+++ b/src/pages/dispatch/dispatch.vue
@@ -26,21 +26,23 @@
- 待处理排车任务{{ tasks.length }} 个任务
+ 排车任务{{ tasks.length }} 个任务
暂无排车拣货任务可刷新列表,或直接扫描排车单号恢复作业。
+
{{ current.dispatchNo || '—' }}{{ statusLabel(current.status) }}
- 任务号 {{ current.taskNo || '—' }} · 车牌 {{ current.vehiclePlate || '—' }}
+ 任务号 {{ current.taskNo || '—' }} · {{ departed ? '原发车车牌' : '车牌' }} {{ current.vehiclePlate || '—' }}
+ {{ current.pickBlockReason || '请先通过调度审核再拣货' }}
{{ plannedPackages }}计划箱数{{ pickedPackages }}已拣箱数{{ remainingPackages }}待拣箱数
@@ -69,12 +71,14 @@
- 发车门禁
+ 整车发车
+ 车次 {{ current.tripNo }} · 共 {{ current.tripDispatchCount }} 张排车单
+ {{ current.driverWarning }}
服务端仍显示 {{ remainingPackages }} 箱未拣,不允许发车。
该排车任务已执行发车,不可重复提交。
{{ current.departBlockReason || '当前排车暂不满足发车条件,请刷新后重试。' }}
- 拣货已完成且全部箱数核平,可以发车。
-
+ 本车所有排车单已就绪,确认后将一并发车。
+
@@ -87,7 +91,8 @@