正在分析
{lastPlan.kind === "flow"
? "交退换车"
: CATEGORY_LABELS[lastPlan.category]}
{GROUP_LABELS[lastPlan.groupBy]}
{lastPlan.start && (
{lastPlan.start} — {lastPlan.end}
)}
{Object.entries(lastPlan.filters).map(([dimension, values]) => (
))}
{Object.entries(lastPlan.excludeFilters || {}).map(
([dimension, values]) => (
),
)}
{!!lastPlan.vehicleIds?.length && (
已选 {lastPlan.vehicleIds.length} 台车辆
)}
{lastPlan.exception && (
{lastPlan.exception === "overdue"
? "已超过预计完成时间"
: lastPlan.exception === "dueSoon"
? "即将到期"
: "未填写预计完成时间"}
)}
{Object.keys(lastPlan.filters).length > 0 ||
Object.keys(lastPlan.excludeFilters || {}).length > 0 ||
lastPlan.vehicleIds?.length ||
lastPlan.exception ? (
) : null}