xiaoyong931011
2020-06-23 8c7c2cadd5ec68b66b9a0c6afc0434c4513c1135
src/main/resources/templates/febs/views/modules/trademanage/contractHoldOrder.html
@@ -89,8 +89,9 @@
                elem: $view.find('table'),
                id: 'userTable',
                url: ctx + 'tradeManage/contractHoldOrder',
                totalRow: true,
                cols: [[
                    {field: 'phone', title: '手机号', minWidth: 100,align:'left'},
                    {field: 'phone', title: '手机号', minWidth: 100,align:'left',totalRowText: '合计'},
                    {field: 'email', title: '邮箱', minWidth: 200,align:'left'},
                    {field: 'inviteId', title: '邀请码UID', minWidth: 120,align:'center'},
                    {field: 'orderNo', title: '订单编号', minWidth: 200,align:'center'},
@@ -98,10 +99,17 @@
                    {title: '交易类型', templet: '#tradeType', minWidth: 80,align:'center'},
                    {field: 'symbol', title: '币种', minWidth: 100,align:'center'},
                    {field: 'symbolCnt', title: '手数', minWidth: 80,align:'center'},
                    {field: 'rewardRatio', title: '实时盈亏', minWidth: 120,align:'center'},
                    {field: 'rewardRatio', title: '实时盈亏',
                       templet: function (d) {
                            if (d.rewardRatio > 0) {
                                return '<span style="color:green;">' + d.rewardRatio + '</span>'
                            }else {
                                return '<span style="color:red;">' + d.rewardRatio + '</span>'
                            }
                        },minWidth: 120,align:'center',totalRow: true},
                    {field: 'symbolSku', title: '币种规格', minWidth: 120,align:'center'},
                    {field: 'openingPrice', title: '开仓价', minWidth: 100,align:'center'},
                    {field: 'openingFeeAmount', title: '开仓手续费', minWidth: 120,align:'center'},
                    {field: 'openingFeeAmount', title: '开仓手续费', minWidth: 120,align:'center',totalRow: true},
                    {field: 'bondAmount', title: '保证金', minWidth: 120,align:'center'},
                    {field: 'leverRatio', title: '杠杆倍率', minWidth: 120,align:'center'},
                    {field: 'stopLossPrice', title: '止损价', minWidth: 120,align:'center'},