feat: 完成權限管理系統、統一頁面標題樣式與表格對齊規範

This commit is contained in:
2026-01-13 13:30:51 +08:00
parent 6770a4ec2f
commit ecfcbb93ed
28 changed files with 2333 additions and 34 deletions

View File

@@ -20,7 +20,7 @@ export function PurchaseOrderActions({
};
return (
<div className="flex justify-end gap-2">
<div className="flex justify-center gap-2">
<Link href={`/purchase-orders/${order.id}`}>
<Button
variant="outline"

View File

@@ -174,7 +174,7 @@ export default function PurchaseOrderTable({
<SortIcon field="status" />
</button>
</TableHead>
<TableHead className="text-right font-semibold"></TableHead>
<TableHead className="text-center font-semibold"></TableHead>
</TableRow>
</TableHeader>
<TableBody>
@@ -214,7 +214,7 @@ export default function PurchaseOrderTable({
<TableCell>
<PurchaseOrderStatusBadge status={order.status} />
</TableCell>
<TableCell>
<TableCell className="text-center">
<PurchaseOrderActions
order={order}
/>