<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-

scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<LINK rel="Bookmark" href="/favicon.ico">
<LINK rel="Shortcut Icon" href="/favicon.ico" />
<link href="${pageContext.request.contextPath }/common/admin/css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath }/common/admin/css/H-ui.admin.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath }/common/admin/skin/default/skin.css" rel="stylesheet" type="text/css" id="skin" />
<link href="${pageContext.request.contextPath }/common/admin/lib/Hui-iconfont/1.0.1/iconfont.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath }/common/admin/css/style.css" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>提现记录</title>
</head>
<body>

	<div class="pd-20">
	
	
			<div class="formControls col-10">
				提现通过总金额：${sumMoney/100 }
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				提现驳回总金额：${sumMoney3/100 }
				
				
			</div>
	<form id="adminlist">
		<table class="table table-border table-bordered table-bg">
			<thead>
				<tr>
					<th scope="col" colspan="9">提现历史记录列表</th>
				</tr>
				<tr class="text-c">
					<th width="130">收款人</th>
					<th width="90">提现人民币</th>
					<th width="150">提现时间</th>
					<th width="130">提现人电话</th>
					<th width="130">所属银行</th>
					<th width="130">银行卡号</th>
					<th width="80">提现状态</th>
					<th width="100">备注</th>
				</tr>
			</thead>
			<tbody>
				<c:if test="${! (empty list) }">
					<c:forEach items="${list }" var="infolist">
					
						<tr class="text-c" id="${infolist.withdrawalsLogsId }">
							<td >${infolist.withdrawalsUsername }</td>
							<td>${infolist.withdrawalsLogsAmount / 100 }</td>
							<td><fmt:formatDate value="${infolist.withdrawalsLogsDate }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
							<td>${infolist.withdrawalsTel }</td>
							<td style="font-weight: 600;">${infolist.withdrawalsBankName }</td>
							<td>${infolist.withdrawalsCardNo }</td>
							<td>${infolist.withdrawalsStatus==1?'<font color=green >提现成功</font>':''}${infolist.withdrawalsStatus==2?'<font >处理中</font>':''}${infolist.withdrawalsStatus==3?'<font color=red >提现失败</font>':''}</td>
							<td>${infolist.withdrawalsRemark }</td>
							
						
					</c:forEach>
				</c:if>
				<c:if test="${empty list }">
				<tr class="text-c">
					<td colspan="11">没有查询到数据</td>
				</tr>
			</c:if>
			</tbody>
		</table>
		<div align="right" class="mt-10 mb-10 mr-10">
			<%@include file="/common/other/paper/pager.jsp"%>
  		</div>
  		</form>
	</div>
	<script type="text/javascript" src="${pageContext.request.contextPath }/common/admin/lib/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/common/admin/lib/layer/1.9.3/layer.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/common/admin/js/H-ui.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/common/admin/js/H-ui.admin.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/common/admin/js/tips.js"></script> 
	<script type="text/javascript" src="${pageContext.request.contextPath }/common/admin/My97DatePicker/WdatePicker.js"></script> 
	<script type="text/javascript">
	function dataValidation(){
		if($("#withdrawUsername").val()!=null){
			 //收款人姓名数据验证
			if(!commonLengthJdg('withdrawUsername',1,30,null,true)){
				layer.msg("收款人姓名长度为1-30位",{icon: 2,time:2000});
				return false;
			}
		}
	}
	
	function showhide(trid){
		
		
		
		
		
		var html = $("<tr><td colspan='9' style='border-top: 2px solid red; font-size:15px;' class='text-c'>历史取款记录</td></tr><tr style='border: 2px solid red;' class='text-c'>"+
				"<td style='border: 1px solid red;border-right: 0;'>真是姓名</td>"+
				"<td style='border: 1px solid red;border-right: 0;'>200.0</td>"+
				"<td style='border: 1px solid red;border-right: 0;'>2016-10-09 15:00:30</td>"+
				"<td style='border: 1px solid red;border-right: 0;'>13744448888</td>"+
				"<td style='border: 1px solid red;border-right: 0;'>这是支行</td>"+
				"<td style='border: 1px solid red;border-right: 0;'>6214985788594033</td>"+
				"<td style='border: 1px solid red;border-right: 0;'><font >提现成功</font></td>"+
				"<td style='border: 1px solid red;border-right: 0;'>aaaaaaaa</td>"+
				"<td style='border: 1px solid red;border-right: 0;'></td></tr>");
		$("#"+trid).after(html);
		
		
	}
	

</script>
</body>
</html>