From 62caaece670b9ca7b61fd8bc8e2aaef2b1707417 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 29 Jun 2020 18:54:07 +0800
Subject: [PATCH] 20200629  代码提交

---
 src/main/resources/templates/febs/views/modules/member/extractUsdt.html |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 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 0bcb899..dcc6bec 100644
--- a/src/main/resources/templates/febs/views/modules/member/extractUsdt.html
+++ b/src/main/resources/templates/febs/views/modules/member/extractUsdt.html
@@ -17,7 +17,7 @@
                                         <div class="layui-input-inline">
                                             <select name="orderStatus">
                                                 <option value="0"></option>
-                                                <option value="1">待审核</option>
+                                                <option value="1">待付款</option>
                                                 <option value="2">已付款</option>
                                                 <option value="3">已审核</option>
                                                 <option value="4">撤单</option>
@@ -51,7 +51,7 @@
 <script type="text/html" id="order-Status">
     {{#
     var orderStatus = {
-    1: {title: '待审核' , color: 'gray'},
+    1: {title: '待付款' , color: 'gray'},
     2: {title: '已付款' , color: 'red'},
     3: {title: '已审核' , color: 'green'},
     4: {title: '撤单' , color: 'gray'},
@@ -169,8 +169,8 @@
                 	{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',totalRowText: '合计'},
-                    {field: 'amountUsdt', title: 'USDT金额', minWidth: 120,align:'center',totalRowText: '合计'},
+                    {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'},
@@ -181,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 === 1) {
+                            	return '<a lay-event="confirm" shiro:hasPermission="user:delete">付款</a>'
+                            	+'<i class="layui-icon febs-edit-area febs-blue">&#xe7a4;</i>'
+                            	+'<a lay-event="cancel" shiro:hasPermission="user:delete">拒绝</a>'
+                            }else {
+                                return ''
+                            }
+                        },minWidth: 200,align:'center'}
                 ]]
             });
         }

--
Gitblit v1.9.1