kiting.jsp 6.79 KB
<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib  uri="http://java.sun.com/jsp/jstl/fmt"   prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html>
<head>
	<jsp:include page="${ctx }/view/common/meta.jsp" />
	<link href="${ctx }/resource/css/detail.css" rel="stylesheet" type="text/css" />
	<link href="${ctx }/resource/css/home.css" rel="stylesheet" type="text/css" />
	<link href="${ctx }/resource/css/member.css" rel="stylesheet" type="text/css" />
	<link href="${ctx }/resource/css/style.css" rel="stylesheet" type="text/css" />
	<link href="${ctx }/resource/js/utils/page/page.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="${ctx}/resource/js/utils/page/query.js"></script>
	<script type="text/javascript" src="${ctx}/resource/js/utils/page/page.js"></script>
	<script type="text/javascript" src="${ctx }/resource/js/pay/kiting.js"></script>
	<STYLE type="text/css">
	.kitcss {
	text-align: center;margin-top:-18px;margin-left:-50px;height:30px;
	}
	</STYLE>
	<script type="text/javascript">
		$(function(){
		    $('#pageToolbar').Paging({
				pagesize : '${params._limit }',
				count : '${params._total}',
				toolbar : true,
				current : Number('${params._page}'),
				callback : function(page, size, count) {
					$("#page").val(page);
					$("#rows").val(size);
					window.location.href = '${ctx }/user/kiting?_page=' + page + '&_limit=' + size;
				}
			});
		});
	</script>
</head>
<body>
	<jsp:include page="${ctx }/view/common/header.jsp" />
	<div class="bigbox">
		<jsp:include page="${ctx }/view/common/menu.jsp" />

		<div class="rightbox0" style="margin-top: 28px;">
			<input type="hidden" id="page" name="_page"/>
			<input type="hidden" id="rows" name="_limit" />
			<h2 class="title" style="text-align: left;">提现</h2>
			<div class="crossline"></div>
			<div class="quick-pay in-cash">
			
			
			<!-- <form id="kitingForm" action="${ctx }/user/kiting" method="post">
				<p>
					<label>可用余额:</label> <span><fmt:formatNumber type="number" maxFractionDigits="2" minFractionDigits="2" value="${balance.enable_balance }" /> 元</span>
				</p>
				<p>
					<label>银行账户:</label> <span>${bank.BANK_ACCOUNT }(${bank.OPEN_BANK_NAME })${bank.CLIENT_NAME }</span>
				</p>
				<p>
					<label>提现金额:</label>
					<input type="text" name="amount" id="txtAmount" maxlength="8" />元
				</p>
				<p>
					<label>支行名称:</label>
					<input type="text" name="subBranch" maxlength="12" />
				</p>
				<p>
					<label>短信验证码:</label>
					<input type="text" name="validCode" id="validCode" maxlength="6" />
					<input type="button" id="btnValidCode" value="发送验证码" />
				</p>
				<input type="hidden" name="_token_kiting" value="${sessionScope._token_kiting }" />
				<a class="submit" id="payNow">立即提现</a>
			</form> -->
			
			
			<form id="kitingForm" action="${ctx }/user/kiting" method="post">
				<p>
					<label>可用余额:</label> <span><fmt:formatNumber type="number" maxFractionDigits="2" minFractionDigits="2" value="${balance.CURRENT_BALANCE }" /></span>
				</p>
				<p>
					<label>银行账户:</label> <span>${bank.BANK_ACCOUNT }(${bank.OPEN_BANK_NAME })${bank.CLIENT_NAME }</span>
				</p>
				<p>
					<label>支行名称:</label><input type="text" name="subBranch" id="subBranch" value="${subBranch }" />
					
				</p>
				
				
				<p>
					<label>提现金额:</label>
					<input type="text" name="amount" placeholder="单笔提现不得少于10元"  id="txtAmount" maxlength="8" value="${balance.CURRENT_BALANCE }"  readonly="readonly"/>
				</p>
				
				<p>
					<label>手续费:</label> <span id="kitFare">0.00</span><span class="xyfInfo">(单笔 0.3%,最低 2 元,最高 200 元)</span>
				</p>
				<p>
					<label>实际到账:</label> <span id="payable" class="xyfImportantNum">0.00</span>
				</p>
				<p>
					<label>短信验证码:</label>
					<input type="text" name="validCode" id="validCode" maxlength="6" />
					<input type="button" id="btnValidCode" value="获取验证码" />
				</p>
				
				<p>
					<span class="prompt_text" style="padding-left:200px;" id="code_text"></span>
				</p>
				<input type="hidden" name="_token_kiting" value="${sessionScope._token_kiting }" />
				<input type="hidden" name="token_kiting" value="${token_kiting}" />
				<a class="submit" id="payNow">立即提现</a>
<!-- 				<span id="xyfKiting" class="xyfInfo" id="xyfChargeInfo" value="" style="font-size:22px;text-align: center;">单笔提现不得少于10元 </span> -->
			<!-- <DIV  class="etlist">
			<span  id="xyfKit" class="xyfInfo" id="xyfChargeInfo" value="" style="font-size:22px;"></span>
			</DIV> -->
			</form>
			<input type="hidden" value="${balance.enable_balance }" id="enableBalance" />
			<input type="hidden" value="${message }" id="hidMessage" />
			</div>
			<div id="xyfKitingNoteList">
				<ul>
					<h3>注意事项</h3>
					<li><span>·</span>单笔提现不得少于10元,不得高于200万</li>
					<li><span>·</span>提现手续费单笔0.3%,最低2元,最高200元</li>
					<li><span>·</span>提现处理时间:周一至周五9:00-17:00(节假日除外)</li>
					<li><span>·</span>提现申请提交成功后,资金预计在1-3个工作日(双休日或法定假日顺延)到账,请您注意查收。</li>
					<li><span>·</span>如有任何问题,请联系客服:400-969-0800</li>
				</ul>
			</div>
			<a name="maoLocation"></a>
			<h2 style="text-align: left;">提现记录:</h2>
			<hr/>
			<table cellspacing='0' class="xyfKitingList">
		 		<tr>
		 			<th>申请时间</th>
					<th>申请金额</th>
					<th>手续费</th>
					<th>到账金额</th>
					<th>状态</th>
				</tr>
			 	<tbody id="chargeList"  class="xyfTableTr">
				<c:forEach items="${orders}" var="order" varStatus="status">
					<tr>
						<td>${order.kitAt }</td>
						<td>${order.kitAmount }</td>
						<td>${order.kitFare }</td>
						<td>${order.payableAmount }</td>
						<td>${order.kitStatus }</td>
					</tr>
				</c:forEach>
			 	</tbody>
			</table>
			<c:if test="${params._total >= 10 }">
  					<div id="pageToolbar"></div>
   			</c:if>
		</div>
	</div>
	
	<div class="clear"></div>

	<!-- 提现结果弹窗 -->
	<div class="easyDialog_wrapper ND cyberBankin-popUp" id="ensure">
		<div class="easyDialog_content" style="border-top: 3px solid #d81e31;">
			<div class="easyDialog_text" id="showMessage">申请成功/申请失败</div>
			<div class="easyDialog_footer">
				<button class="btn_highlight" id="closeBtn">确定</button>
			</div>
		</div>
	</div>
	<jsp:include page="${ctx }/view/common/bottom.jsp" />
</body>
</html>