diff --git a/frontend/src/pages/PlatformMerchants.tsx b/frontend/src/pages/PlatformMerchants.tsx index 1f3b377..9eddeab 100644 --- a/frontend/src/pages/PlatformMerchants.tsx +++ b/frontend/src/pages/PlatformMerchants.tsx @@ -169,22 +169,22 @@ export default function PlatformMerchants() { } const columns: ColumnsType = [ - { title: 'ID', dataIndex: 'id', width: 80 }, - { title: '编码', dataIndex: 'code', width: 180, render: (v) => {v} }, - { title: '名称', dataIndex: 'name', ellipsis: true }, + { title: 'ID', dataIndex: 'id', width: 70, align: 'center' }, + { title: '编码', dataIndex: 'code', width: 160, render: (v) => {v} }, + { title: '商户名称', dataIndex: 'name', width: 200, ellipsis: true, render: (v) => {v} }, { title: '联系人', dataIndex: 'contact_name', width: 120, render: (v) => v || '-' }, - { title: '联系方式', dataIndex: 'contact_info', width: 160, render: (v) => v || '-' }, + { title: '联系方式', dataIndex: 'contact_info', width: 150, render: (v) => v || '-' }, { - title: '手续费', + title: '手续费率', key: 'fee', - width: 160, + width: 140, render: (_, r) => r.fee_type === 'fixed' ? `固定 ${r.fee_fixed_amount} 积分/单` : `${(r.fee_rate_bp / 100).toFixed(2)}%`, }, { - title: '功能', + title: '开通功能', dataIndex: 'features', width: 220, render: (v) => ( @@ -212,11 +212,12 @@ export default function PlatformMerchants() { ), }, - { title: '创建时间', dataIndex: 'created_at', width: 180, render: formatDateTime }, + { title: '创建时间', dataIndex: 'created_at', width: 170, render: formatDateTime }, { title: '操作', key: 'action', - width: 260, + width: 240, + fixed: 'right', render: (_, record) => (