diff --git a/src/modules/scheduling/SuggestionDetail.tsx b/src/modules/scheduling/SuggestionDetail.tsx index 91c6144..f4b544b 100644 --- a/src/modules/scheduling/SuggestionDetail.tsx +++ b/src/modules/scheduling/SuggestionDetail.tsx @@ -101,8 +101,11 @@ export default function SuggestionDetail({ suggestion: s, onClose, onNotifySucce {fmtRate(v.completionRate)} - {/* Customer info */} -
+ {/* Customer + dept/manager info */} +
+ {v.department && {v.department}} + {v.manager && {v.manager}} + {(v.department || v.manager) && |} 客户 {v.customer || '-'} 日均 {Math.round(v.customerAvgDaily)} km
diff --git a/src/modules/scheduling/SuggestionList.tsx b/src/modules/scheduling/SuggestionList.tsx index 95a384b..620e943 100644 --- a/src/modules/scheduling/SuggestionList.tsx +++ b/src/modules/scheduling/SuggestionList.tsx @@ -56,8 +56,10 @@ export default function SuggestionList({ suggestions, onSelect }: Props) { {v.region}
- {v.customer || '-'} - 日均 {Math.round(v.customerAvgDaily)} km + {v.department && {v.department}} + {v.manager && {v.manager}} + {v.customer || '-'} + 日均 {Math.round(v.customerAvgDaily)} 完成 = 1 ? 'text-emerald-600' : v.completionRate >= 0.5 ? 'text-amber-600' : 'text-rose-500'}`}>{fmtRate(v.completionRate)}