From 78f60c94e6a4791030313503c03dd308ced836bf Mon Sep 17 00:00:00 2001 From: luorijun Date: Wed, 30 Apr 2025 17:47:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A8=A1=E5=9E=8B=E6=9E=9A?= =?UTF-8?q?=E4=B8=BE=E5=AD=97=E6=AE=B5=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/admin/bills/page.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/admin/bills/page.tsx b/src/app/admin/bills/page.tsx index 264004f..a9647b0 100644 --- a/src/app/admin/bills/page.tsx +++ b/src/app/admin/bills/page.tsx @@ -19,7 +19,7 @@ import Page from '@/components/page' import Link from 'next/link' const filterSchema = zod.object({ - type: zod.enum(['all', '0', '1', '2']).default('all'), + type: zod.enum(['all', '3', '1', '2']).default('all'), create_after: zod.date().optional(), create_before: zod.date().optional(), }) @@ -111,7 +111,7 @@ export default function BillsPage(props: BillsPageProps) { 全部 - 充值 + 充值 消费 退款 @@ -176,7 +176,7 @@ export default function BillsPage(props: BillsPageProps) { }, { accessorKey: 'type', header: `类型`, cell: ({row}) => (
- {row.original.type === 0 && ( + {row.original.type === 2 && (
充值