fundRecord.jsp 5.34 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" %>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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/jquery-date/jquery-ui-1.10.1.css" rel="stylesheet" />
	<link href="${ctx }/resource/css/jquery-date/siena.datepicker.css" rel="stylesheet" />
	<link href="${ctx }/resource/css/jquery-date/santiago.datepicker.css" rel="stylesheet" />
	<link href="${ctx }/resource/css/jquery-date/latoja.datepicker.css" rel="stylesheet" />
	<link href="${ctx }/resource/css/jquery-date/lugo.datepicker.css" rel="stylesheet" />
	<link href="${ctx }/resource/css/jquery-date/cangas.datepicker.css" rel="stylesheet" />
	<link href="${ctx }/resource/css/jquery-date/vigo.datepicker.css" rel="stylesheet" />
	<link href="${ctx }/resource/css/jquery-date/nigran.datepicker.css" rel="stylesheet" />
	<link href="${ctx }/resource/js/utils/page/page.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="${ctx }/resource/js/utils/jquery/jquery-ui-1.10.1.min.js"></script>
	<script type="text/javascript" src="${ctx }/resource/js/utils/jquery/jquery.ui.datepicker-zh-cn.js"></script>
	<script type="text/javascript" src="${ctx }/resource/js/user/fundRecord.js"></script>
	<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">
		$(function(){
		    $('#pageToolbar').Paging({
				pagesize : '${params.rows }',
				count : '${params._total}',
				toolbar : true,
				current : Number('${params.page}'),
				callback : function(page, size, count) {
					$("#page").val(page);
					$("#rows").val(size);
					$("#search-form").submit();
				}
			});
		});
	</script>
</head>
<body>
<jsp:include page="${ctx }/view/common/header.jsp" />
	<div class="bigbox">
        <jsp:include page="${ctx }/view/common/menu.jsp" />
        <div class="etlist rightbox0"  style="margin-top: 28px">
			<h2 style="text-align: left;">资金流水</h2>
			<div class="crossline"></div>
			<div class="clear"></div>
        	<form id="search-form" action="${ctx }/user/fundRecord" method="get" class="searchform">
				<input type="hidden" id="page" name="page"/>
				<input type="hidden" id="rows" name="rows" />
	        	<span>起始日期:</span><input id="start_date" name="start_date" value="${params.start_date }" readonly="readonly" />
	        	<span>结束日期:</span><input id="end_date" name="end_date" value="${params.end_date }" readonly="readonly" />
	        	<span>
	        	资金类别:</span>
	        	<select name="en_business_flag">
	        		<option value="">全部</option>
	        		<c:forEach var="type" items="${types }">
	        			<option value="${type.sysKey }"
	        			<c:if test="${params.en_business_flag == type.sysKey }"> selected="selected"</c:if>
	        			>${type.sysValue }</option>
	        		</c:forEach>
	        	</select>
	        	<input type="submit" value="查询" />
        	</form>
            <table border="0" class="etlistbg entrusttable"  cellpadding="0" cellspacing="0">
                <thead>
                    <tr id="head">
                        <td width="5%">&nbsp;</td>
                        <td width="18%">款项</td>
                        <td width="15%">发生金额</td>
                        <td width="15%">后资金额</td>
                        <td width="23%">交易时间</td>
                        <!-- <td width="23%">说明</td> -->
                    </tr>
                </thead>
                <tbody>
                	<c:if test="${empty funds }">
                		<tr>
                			<td style="background:#f2f2f2;" colspan="10"><img style="width:65%" src="${ctx }/resource/images/noData.png"></img></td>	
                		</tr>
               		</c:if>
                	<c:forEach var="fund" items="${funds }" varStatus="status">
                    <tr height="40">
                        <td>${status.index + 1 }</td>
                        <td>${fund.BUSINESS_FLAG }</td>
                        <td><fmt:formatNumber value="${fund.OCCUR_BALANCE }" pattern=",###.##" minFractionDigits="2" /></td>
                        <td><fmt:formatNumber value="${fund.POST_BALANCE }" pattern=",###.##" minFractionDigits="2" /></td>
                        <td class="state">${fund.CURR_DATE_TIME }</td>
                        <!-- <td>${fund.remark }</td> -->
                    </tr>
                    </c:forEach>
                </tbody>
            </table>
            <c:if test="${params._total >= 10 }">
		  		<div id="pageToolbar"></div>
		   	</c:if>
        </div>
        <div class="clear"></div>
    </div>

<jsp:include page="${ctx }/view/common/bottom.jsp" />
</body>
</html>