|
|
@@ -10,7 +10,7 @@
|
|
|
*/
|
|
|
import { useEffect, useId, useState, type FormEvent } from "react";
|
|
|
import { PageIntro } from "../components/PageIntro";
|
|
|
-import { ArrowLeft, ArrowRight, CalendarClock, ChevronDown, Download, FileSpreadsheet, RefreshCw, Search, TriangleAlert, X } from "lucide-react";
|
|
|
+import { ArrowLeft, ArrowRight, CalendarClock, ChevronDown, Download, FileSpreadsheet, ListFilter, RefreshCw, Search, TriangleAlert, X } from "lucide-react";
|
|
|
import { Link, useLocation, useNavigate, useParams, useSearchParams } from "react-router";
|
|
|
import { Button } from "../components/ui/button";
|
|
|
import { SearchInput } from "../components/ui/search-input";
|
|
|
@@ -490,9 +490,9 @@ export function SettlementStatementListPage() {
|
|
|
<option value="">全部触发方式</option>
|
|
|
{(["manual", "auto"] as const).map((key) => <option key={key} value={key}>{TRIGGER_TYPE_TEXT[key]}</option>)}
|
|
|
</FilterSelect>
|
|
|
- <Button variant="outline" className="statement-zero-filter" aria-pressed={zero}
|
|
|
- onClick={() => filters.set("zero", zero ? "" : "1", true)}>零明细批次</Button>
|
|
|
- {hasFilter && <Button variant="ghost" onClick={() => { filters.reset(); setMonthFallback(false); }}>重置筛选</Button>}
|
|
|
+ <Button variant={zero ? "default" : "outline"} size="sm" className="h-[38px] shrink-0" aria-pressed={zero}
|
|
|
+ onClick={() => filters.set("zero", zero ? "" : "1", true)}><ListFilter size={15} aria-hidden="true" />零明细批次</Button>
|
|
|
+ {hasFilter && <Button variant="ghost" size="sm" onClick={() => { filters.reset(); setMonthFallback(false); }}>重置筛选</Button>}
|
|
|
</div>
|
|
|
|
|
|
{/* S404 触顶 ⇒ 不渲染三卡与列表(⚠️ 禁止静默截断)。 */}
|