Compare commits
No commits in common. "1843a16dd7cf315b9b7e9804cd3d58a71895efe2" and "be674e694d6b33974b7f37cba045278895c07918" have entirely different histories.
1843a16dd7
...
be674e694d
|
|
@ -209,7 +209,8 @@ const ListPage: React.FC = () => {
|
||||||
{
|
{
|
||||||
title: '联系电话',
|
title: '联系电话',
|
||||||
dataIndex: 'billing_phone',
|
dataIndex: 'billing_phone',
|
||||||
render: (_, record) => record.shipping?.phone || record.billing?.phone,
|
render: (_, record) => record.shipping?.phone || record.billing?.phone,
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '州',
|
title: '州',
|
||||||
|
|
@ -751,16 +752,8 @@ const Detail: React.FC<{
|
||||||
valueEnum={ORDER_STATUS_ENUM}
|
valueEnum={ORDER_STATUS_ENUM}
|
||||||
/>
|
/>
|
||||||
<ProDescriptions.Item label="金额" dataIndex="total" />
|
<ProDescriptions.Item label="金额" dataIndex="total" />
|
||||||
<ProDescriptions.Item label="客户邮箱" dataIndex="customer_email" />
|
<ProDescriptions.Item label="客户邮箱" dataIndex="customer_email" />
|
||||||
<ProDescriptions.Item label="联系电话" span={3}
|
<ProDescriptions.Item label="联系电话" dataIndex="billing_phone" />
|
||||||
render={(_, record) => { return (
|
|
||||||
<div>
|
|
||||||
<span>
|
|
||||||
{record?.shipping?.phone || record?.billing?.phone || '-'}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}} />
|
|
||||||
<ProDescriptions.Item label="交易Id" dataIndex="transaction_id" />
|
<ProDescriptions.Item label="交易Id" dataIndex="transaction_id" />
|
||||||
<ProDescriptions.Item label="IP" dataIndex="customer_id_address" />
|
<ProDescriptions.Item label="IP" dataIndex="customer_id_address" />
|
||||||
<ProDescriptions.Item label="设备" dataIndex="device_type" />
|
<ProDescriptions.Item label="设备" dataIndex="device_type" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue