From 74a515f13ad8b5a38c6e4379de0927cec93ce62f Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 23 Jun 2020 15:37:02 +0800 Subject: [PATCH] 20200623 代码提交 --- src/main/resources/templates/febs/views/modules/member/extractUsdt.html | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/member/extractUsdt.html b/src/main/resources/templates/febs/views/modules/member/extractUsdt.html index 2cf1326..3d4a5a9 100644 --- a/src/main/resources/templates/febs/views/modules/member/extractUsdt.html +++ b/src/main/resources/templates/febs/views/modules/member/extractUsdt.html @@ -164,12 +164,13 @@ elem: $view.find('table'), id: 'userTable', url: ctx + 'member/memberExtractUsdt', + totalRow: true, cols: [[ - {field: 'phone', title: '手机号码', minWidth: 120,align:'left'}, + {field: 'phone', title: '手机号码', minWidth: 120,align:'left',totalRowText: '合计'}, {field: 'email', title: '邮箱', minWidth: 200,align:'left'}, {field: 'inviteId', title: '邀请码UID', minWidth: 80,align:'center'}, - {field: 'amountCny', title: '人民币金额', minWidth: 120,align:'center'}, - {field: 'amountUsdt', title: 'USDT金额', minWidth: 120,align:'center'}, + {field: 'amountCny', title: '人民币金额', minWidth: 120,align:'center',totalRow: true}, + {field: 'amountUsdt', title: 'USDT金额', minWidth: 120,align:'center',totalRow: true}, {field: 'unitPrice', title: '单价', minWidth: 80,align:'center'}, {field: 'createTime', title: '提现时间', minWidth: 180,align:'center'}, {title: '提现状态', templet: '#order-Status', minWidth: 100,align:'center'}, @@ -180,7 +181,16 @@ {field: 'account', title: '收款账号', minWidth: 150,align:'center'}, {field: 'paymentAccount', title: '二维码', minWidth: 150,align:'center'}, {field: 'bank', title: '所属银行', minWidth: 150,align:'center'}, - {title: '操作', toolbar: '#user-option', minWidth: 150, fixed : 'right'} + {title: '操作', + templet: function (d) { + if (d.orderStatus === 2) { + return '<a lay-event="confirm" shiro:hasPermission="user:delete">付款</a>' + +'<i class="layui-icon febs-edit-area febs-blue"></i>' + +'<a lay-event="cancel" shiro:hasPermission="user:delete">拒绝</a>' + }else { + return '' + } + },minWidth: 200,align:'center'} ]] }); } -- Gitblit v1.9.1