1
This commit is contained in:
@@ -97,12 +97,12 @@ const LogTableList: React.FC = () => {
|
||||
},
|
||||
{
|
||||
title: '支付类型',
|
||||
dataIndex: 'businessPayType',
|
||||
dataIndex: 'orderPlatform',
|
||||
valueType: 'text',
|
||||
search: true,
|
||||
render: (_: any, record: any) => {
|
||||
let color = record.businessPayType == 1 ? 'volcano' : record.businessPayType == 2 ? 'orange' : 'red'
|
||||
return <Tag color={color}>{record.businessPayType == 1 ? '微信' : record.businessPayType == 2 ? '支付宝' : '钱包'}</Tag>
|
||||
let color = record.orderPlatform == 1 ? 'volcano' : record.orderPlatform == 2 ? 'orange' : 'red'
|
||||
return <Tag color={color}>{record.orderPlatform == 2 ? '微信' : record.orderPlatform == 3 ? '支付宝' : record.orderPlatform == 1 ? '钱包' : '-'}</Tag>
|
||||
},
|
||||
renderFormItem: (
|
||||
_,
|
||||
@@ -110,9 +110,9 @@ const LogTableList: React.FC = () => {
|
||||
form,
|
||||
) => {
|
||||
const statusMap = [
|
||||
{ label: '微信', value: 1 },
|
||||
{ label: '支付宝', value: 2 },
|
||||
{ label: '钱包', value: 3 },
|
||||
{ label: '微信', value: 2 },
|
||||
{ label: '支付宝', value: 3 },
|
||||
{ label: '钱包', value: 1 },
|
||||
]
|
||||
return <Select
|
||||
{...fieldProps}
|
||||
|
||||
Reference in New Issue
Block a user