refactor(Order/List): 更新退款相关状态标签为更简洁的表达
refund_approved 已退款 refund_cancelled 已完成
This commit is contained in:
parent
37c8518289
commit
87534c4d22
|
|
@ -128,11 +128,13 @@ const ListPage: React.FC = () => {
|
|||
},
|
||||
{
|
||||
key: 'refund_approved',
|
||||
label: '退款申请已通过',
|
||||
label: "已退款",
|
||||
// label: '退款申请已通过',
|
||||
},
|
||||
{
|
||||
key: 'refund_cancelled',
|
||||
label: '已取消退款',
|
||||
label: "已完成"
|
||||
// label: '已取消退款',
|
||||
},
|
||||
// {
|
||||
// key: 'pending_refund',
|
||||
|
|
@ -765,7 +767,8 @@ const Detail: React.FC<{
|
|||
<ProDescriptions.Item label="金额" dataIndex="total" />
|
||||
<ProDescriptions.Item label="客户邮箱" dataIndex="customer_email" />
|
||||
<ProDescriptions.Item label="联系电话" span={3}
|
||||
render={(_, record) => { return (
|
||||
render={(_, record) => {
|
||||
return (
|
||||
<div>
|
||||
<span>
|
||||
{record?.shipping?.phone || record?.billing?.phone || '-'}
|
||||
|
|
|
|||
Loading…
Reference in New Issue