|  |  |  | 
|---|
|  |  |  | <div class="layui-fluid layui-anim febs-anim" id="febs-user" lay-title="会员充值USDT记录"> | 
|---|
|  |  |  | <div class="layui-fluid layui-anim febs-anim" id="febs-user" lay-title="会员充值USDT"> | 
|---|
|  |  |  | <div class="layui-row febs-container"> | 
|---|
|  |  |  | <div class="layui-col-md12"> | 
|---|
|  |  |  | <div class="layui-card"> | 
|---|
|  |  |  | 
|---|
|  |  |  | <option value="0"></option> | 
|---|
|  |  |  | <option value="1">新建</option> | 
|---|
|  |  |  | <option value="2">已付款</option> | 
|---|
|  |  |  | <option value="3">已审核</option> | 
|---|
|  |  |  | <option value="4">撤单</option> | 
|---|
|  |  |  | <option value="5">系统取消</option> | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  | 
|---|
|  |  |  | var orderStatus = { | 
|---|
|  |  |  | 1: {title: '新建' , color: 'gray'}, | 
|---|
|  |  |  | 2: {title: '已付款' , color: 'red'}, | 
|---|
|  |  |  | 3: {title: '已审核' , color: 'green'}, | 
|---|
|  |  |  | 4: {title: '撤单' , color: 'gray'}, | 
|---|
|  |  |  | 5: {title: '系统取消' , color: 'blue'} | 
|---|
|  |  |  | }[d.orderStatus]; | 
|---|
|  |  |  | 
|---|
|  |  |  | elem: $view.find('table'), | 
|---|
|  |  |  | id: 'userTable', | 
|---|
|  |  |  | url: ctx + 'member/memberChargeUsdt', | 
|---|
|  |  |  | totalRow: true, | 
|---|
|  |  |  | cols: [[ | 
|---|
|  |  |  | {field: 'phone', title: '手机号码'}, | 
|---|
|  |  |  | {field: 'email', title: '邮箱'}, | 
|---|
|  |  |  | {field: 'memberId', title: '邀请码UID'}, | 
|---|
|  |  |  | {field: 'amountCny', title: '人民币金额'}, | 
|---|
|  |  |  | {field: 'amountUsdt', title: 'USDT金额'}, | 
|---|
|  |  |  | {field: 'unitPrice', title: '单价'}, | 
|---|
|  |  |  | {field: 'createTime', title: '充值时间', minWidth: 180}, | 
|---|
|  |  |  | {title: '付款状态', templet: '#order-Status'}, | 
|---|
|  |  |  | {field: 'orderNo', title: '订单编号'}, | 
|---|
|  |  |  | {field: 'paymentName', title: '收款人'}, | 
|---|
|  |  |  | {field: 'paymentAccount', title: '收款账号'}, | 
|---|
|  |  |  | {title: '收款方式', templet: '#payment-Type'}, | 
|---|
|  |  |  | {title: '操作', toolbar: '#user-option', minWidth: 140, fixed : 'right'} | 
|---|
|  |  |  | {field: 'phone', title: '手机号码', minWidth: 120,align:'left',totalRowText: '合计'}, | 
|---|
|  |  |  | {field: 'email', title: '邮箱', minWidth: 200,align:'left'}, | 
|---|
|  |  |  | {field: 'inviteId', title: '邀请码UID', 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'}, | 
|---|
|  |  |  | {field: 'orderNo', title: '订单编号', minWidth: 150,align:'center'}, | 
|---|
|  |  |  | {field: 'paymentName', title: '收款人', minWidth: 150,align:'center'}, | 
|---|
|  |  |  | {field: 'paymentAccount', title: '收款账号', minWidth: 150,align:'center'}, | 
|---|
|  |  |  | {title: '收款方式', templet: '#payment-Type', minWidth: 100,align:'center'}, | 
|---|
|  |  |  | {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'} | 
|---|
|  |  |  | ]] | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|