configRecord.jsp 2.51 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/configRecord.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>
					</tr>
					<tr>
						<td>起始分配日期:</td>
						<td><input name="beginDate"
							class="easyui-datebox search-input"></td>
						<td>结束分配日期:</td>
						<td><input name="endDate"
							class="easyui-datebox search-input"></td>
						<td colspan="2">
							<a href="javascript:configRecord.search()"
							class="easyui-linkbutton search-button" data-options="iconCls:'icon-search'">搜索</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: false, fit:true, pagination:true, idField: 'id',
					rownumbers:true, toolbar:'#toolbar', selectOnCheck:true, pageSize:20, url:'/config/record/search'">
				<thead>
					<tr>
						<th data-options="field:'Id', checkbox:true"></th>
						<th	data-options="field:'otcCode'">藏品代码</th>
						<th	data-options="field:'otcName'">藏品名称</th>
						<th data-options="field:'userId'">会员编号</th>
						<th data-options="field:'position'">持仓数量</th>
						<th data-options="field:'buyTotal'">累计买入量</th>
						<th	data-options="field:'percent'">分配比例</th>
						<th data-options="field:'quota'">权益数量</th>
						<th	data-options="field:'validEndDate'">作废日期</th>
						<th data-options="field:'updateAt'">操作日期</th>
						<th data-options="field:'updateBy'">操作人</th>
					</tr>
				</thead>
				<tbody></tbody>
			</table>
		</div>

	</div>
</body>
</html>