style: 統一所有表格標題樣式為一般粗細並修正排序功能
This commit is contained in:
10
resources/js/Components/Vendor/VendorTable.tsx
vendored
10
resources/js/Components/Vendor/VendorTable.tsx
vendored
@@ -61,27 +61,27 @@ export default function VendorTable({
|
||||
<TableRow>
|
||||
<TableHead className="w-[50px] text-center">#</TableHead>
|
||||
<TableHead>
|
||||
<button onClick={() => onSort("code")} className="flex items-center hover:text-gray-900 font-semibold">
|
||||
<button onClick={() => onSort("code")} className="flex items-center hover:text-gray-900">
|
||||
編號 <SortIcon field="code" />
|
||||
</button>
|
||||
</TableHead>
|
||||
<TableHead>
|
||||
<button onClick={() => onSort("name")} className="flex items-center hover:text-gray-900 font-semibold">
|
||||
<button onClick={() => onSort("name")} className="flex items-center hover:text-gray-900">
|
||||
廠商名稱 <SortIcon field="name" />
|
||||
</button>
|
||||
</TableHead>
|
||||
<TableHead>
|
||||
<button onClick={() => onSort("owner")} className="flex items-center hover:text-gray-900 font-semibold">
|
||||
<button onClick={() => onSort("owner")} className="flex items-center hover:text-gray-900">
|
||||
負責人 <SortIcon field="owner" />
|
||||
</button>
|
||||
</TableHead>
|
||||
<TableHead>
|
||||
<button onClick={() => onSort("contact_name")} className="flex items-center hover:text-gray-900 font-semibold">
|
||||
<button onClick={() => onSort("contact_name")} className="flex items-center hover:text-gray-900">
|
||||
聯絡人 <SortIcon field="contact_name" />
|
||||
</button>
|
||||
</TableHead>
|
||||
<TableHead>
|
||||
<button onClick={() => onSort("phone")} className="flex items-center hover:text-gray-900 font-semibold">
|
||||
<button onClick={() => onSort("phone")} className="flex items-center hover:text-gray-900">
|
||||
聯絡電話 <SortIcon field="phone" />
|
||||
</button>
|
||||
</TableHead>
|
||||
|
||||
Reference in New Issue
Block a user