|
@@ -26,7 +26,10 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
|
title: '第三方支付订单号', dataIndex: 'merchantOrderNo', label: '订单明细', align: 'center', width: 85, default: 4,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
- { title: '玩家ID', dataIndex: 'gameUserId', label: '订单明细', align: 'center', width: 65, default: 5 },
|
|
|
+ {
|
|
|
+ title: '玩家ID', dataIndex: 'gameUserId', label: '订单明细', align: 'center', width: 65, default: 5,
|
|
|
+ render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
+ },
|
|
|
{
|
|
|
title: '玩家账号', dataIndex: 'username', label: '订单明细', align: 'center', width: 95, default: 6,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
@@ -73,7 +76,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
|
},
|
|
|
{
|
|
|
title: '玩家充值游戏应用类型', dataIndex: 'orderGameClassify', label: '订单明细', align: 'center', width: 80, default: 14,
|
|
|
- render: (a: string) => (<span>{gameClassifyEnum[a]}</span>)
|
|
|
+ render: (a: string, b: any) => (<WidthEllipsis value={gameClassifyEnum[a]} />)
|
|
|
},
|
|
|
{
|
|
|
title: '充值产品名称', dataIndex: 'productName', label: '订单明细', align: 'center', width: 85, default: 15,
|
|
@@ -85,7 +88,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
|
},
|
|
|
{
|
|
|
title: '订单实付金额', dataIndex: 'realAmount', label: '订单明细', align: 'center', width: 80, default: 17, sorter: true,
|
|
|
- render: (a: any) => <Statistic value={a || 0} precision={2} />
|
|
|
+ render: (a: any, b: any) => <Statistic value={a || 0} valueStyle={b?.day === '总计' ? { color: 'red' } : {}} precision={2} />
|
|
|
},
|
|
|
{
|
|
|
title: '购买商品', dataIndex: 'productName', label: '订单明细', align: 'center', width: 95, default: 18,
|
|
@@ -103,7 +106,10 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
|
title: '收款账户', dataIndex: 'payAccountId', label: '订单明细', align: 'center', width: 95, default: 21,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
- { title: '游戏区服', dataIndex: 'serverName', label: '订单明细', align: 'center', width: 85, default: 22 },
|
|
|
+ {
|
|
|
+ title: '游戏区服', dataIndex: 'serverName', label: '订单明细', align: 'center', width: 85, default: 22,
|
|
|
+ render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
+ },
|
|
|
{
|
|
|
title: '游戏角色', dataIndex: 'roleName', label: '订单明细', align: 'center', width: 85, default: 23,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|