quotaClearPast.jsp 2.88 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"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html>
<head>
<jsp:include page="${ctx }/WEB-INF/view/meta.jsp"></jsp:include>
<script type="text/javascript"
	src="${ctx}/resource/js/quota/quotaClearPast.js?r=${random}"></script>
</head>
<body>
	<div class="easyui-panel" data-options="fit:true">
		<div class="easyui-panel" style="padding: 10px;"
			data-options="title:'查询条件', collapsible:true, width:'100%', height:'20%'">
			<form id="search-form" method="post" accept-charset="UTF-8">
				<table class="search-table">
					<tr>
						<td>藏品代码:</td>
						<td><input name="otcCode" class="easyui-textbox search-input"></td>
						<td>会员编号:</td>
						<td><input name="userId" class="easyui-textbox search-input"></td>
						<td>状态:</td>
						<td><select name="quota"
							class="easyui-combobox search-input"
							data-options="editable: false">
								<option value="" selected="selected">全部</option>
								<option value="1">已清除</option>
								<option value="2">未清除</option>
						</select></td>
						
					</tr>
					<tr>
						<td>有效结束日期:</td>
						<td><input name="endTime"
							class="easyui-datebox search-input"></td>
						<td><a href="javascript:quotaClearPast.search()"
							class="easyui-linkbutton search-button" data-options="iconCls:'icon-search'">查询</a>
						</td>
						<td><a href="javascript:quotaClearPast.cancel()"
							class="easyui-linkbutton search-button" style="width:100px;">清除过期额度</a>
						</td>
					</tr>
				</table>
			</form>
		</div>


		<div class="easyui-panel" data-options="height:'80%',title:'查询结果'">
			<!-- DataGrid -->
			<table id="data-grid" class="easyui-datagrid" 
				data-options="fitColumns:true, singleSelect: true, fit:true, pagination:true, idField: 'id',
					rownumbers:true, toolbar:'#toolbar', selectOnCheck:true, pageSize:20,">
				<thead>
			        <tr>
                        <th data-options="field:'id', checkbox:true"></th>
			        	<th data-options="field: 'userId'">会员号</th>
			        	<th data-options="field: 'otcAccount'">股东代码</th>
			        	<th data-options="field: 'otcCode'">藏品代码</th>
			        	<th data-options="field: 'otcName'">藏品名称</th>
			        	<th data-options="field: 'validEndDate'">有效期结束时间</th>
			        	<th data-options="field: 'quota',formatter:quotaClearPast.formatStatus">状态</th>
			        	<th data-options="field: 'updateAt',formatter:quotaClearPast.formatUpdateAt">操作日期</th>
			        	<th data-options="field: 'updateBy',formatter:quotaClearPast.formatUpdateBy">操作人</th>
			        </tr>
			    </thead>
			</table>
		</div>
	</div>
	
</body>
</html>