From dbefb900898d19874b90b9de98c5c5730943cd2f Mon Sep 17 00:00:00 2001 From: kkfluous Date: Thu, 16 Apr 2026 22:49:43 +0800 Subject: [PATCH] =?UTF-8?q?feat(scheduling):=20add=20metrics=20row=20(?= =?UTF-8?q?=E5=BD=93=E5=89=8D/=E9=A2=84=E4=BC=B0=E5=B9=B4=E7=BB=88/?= =?UTF-8?q?=E8=80=83=E6=A0=B8)=20for=20current=20vehicle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/scheduling/SuggestionDetail.tsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/modules/scheduling/SuggestionDetail.tsx b/src/modules/scheduling/SuggestionDetail.tsx index a9152ad..e6b973f 100644 --- a/src/modules/scheduling/SuggestionDetail.tsx +++ b/src/modules/scheduling/SuggestionDetail.tsx @@ -110,6 +110,24 @@ export default function SuggestionDetail({ suggestion: s, onClose, onNotifySucce 日均 {Math.round(v.customerAvgDaily)} km + + {/* Metrics row — same style as candidates */} +
+
+
+
当前
+
{fmtKm(v.currentYearMileage)}
+
+
+
预估年终
+
= 1 ? 'text-emerald-600' : 'text-rose-500'}`}>{fmtKm(v.currentYearMileage + v.customerAvgDaily * v.daysLeft)}
+
+
+
考核
+
{fmtKm(v.yearTarget)}
+
+
+
{/* Reason — structured lines */}