diff --git a/src/app/(dashboard)/customers/page.tsx b/src/app/(dashboard)/customers/page.tsx index 59d2415..ad1bfe8 100644 --- a/src/app/(dashboard)/customers/page.tsx +++ b/src/app/(dashboard)/customers/page.tsx @@ -54,22 +54,27 @@ export default async function CustomersPage({ /> - +
- + - - - + + + + + + + + {rows.length === 0 && ( - @@ -78,9 +83,11 @@ export default async function CustomersPage({ + - - + + + + + +
客户名称商户名称 联系人电话业务员报单时间结算人联系电话产品明细押金买断 生日业务员报单日期备注 操作
+ 暂无数据
{c.customerName} {c.contacts}{c.balanceUser} {c.phone}{c.salesman}{fmtDate(c.reportDate)}{c.detail}{c.deposit}{c.buy} {fmtDate(c.birthday)} {c.birthday && ( @@ -89,6 +96,9 @@ export default async function CustomersPage({ )} {c.salesman}{fmtDate(c.reportDate)}{c.remark}
diff --git a/src/components/ui/table.tsx b/src/components/ui/table.tsx index 1fbfa10..77a647b 100644 --- a/src/components/ui/table.tsx +++ b/src/components/ui/table.tsx @@ -2,10 +2,27 @@ import * as React from "react"; import { cn } from "@/lib/utils"; /** 统一表格外观:外层 Card 内使用 */ -export function Table({ className, ...props }: React.TableHTMLAttributes) { +export function Table({ + className, + striped, + bordered, + ...props +}: React.TableHTMLAttributes & { + striped?: boolean; + bordered?: boolean; +}) { return (
- +
); }