quotaConvert.jsp 3.72 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/quotaConvert.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" enctype="multipart/form-data">
				<table class="search-table">
					<tr>
						<td><label>会员号:</label><input name="userId"
							class="easyui-textbox search-input" maxlength="6"></td>
						<td><label>藏品代码:</label><input name="otcCode"
							class="easyui-textbox search-input" maxlength="6"></td>
						<td><label>藏品名称:</label><input name="otcName"
							class="easyui-textbox search-input" maxlength="6"></td>
						<td><label>业务类型:</label><select id="type" class="easyui-combobox"
							name="type" style="width: 80px;">
								<option value="" selected="selected">--全部--</option>
								<option value="0">额度转持仓</option>
								<option value="1">持仓转额度</option>
						</select></td>	
					</tr>
					<tr>
						<td><label>状态:&nbsp;&nbsp;&nbsp;</label><select id="exportStatus" class="easyui-combobox"
							name="exportStatus" style="width: 80px;">
								<option value="0" selected="selected">未导出</option>
								<option value="1">已导出</option>
								<option value="2">已确权</option>
						</select></td>	
						<td><label>创建起始日期:</label><input name="startDate"
							data-options="formatter:App.formatDate"
							class="easyui-datebox search-input"></td>
						<td><label>创建结束日期:</label><input name="endDate"
							data-options="formatter:App.formatDate"
							class="easyui-datebox search-input"></td>
						<td><a href="javascript:quotaConvert.search()"
							class="easyui-linkbutton search-button"
							data-options="iconCls:'icon-search'">查询</a>
							<a href="javascript:quotaConvert.export()"
							class="easyui-linkbutton search-button">导出</a>
							<a href="javascript:quotaConvert.ensure()"
							class="easyui-linkbutton search-button">确认已确权</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: 'quota'">申请转换数量</th>
			        	<th data-options="field: 'postQuota'">实际转换数量</th>
			        	<th data-options="field: 'type', formatter:quotaConvert.type">业务类型</th>
			        	<th data-options="field: 'createAt'">创建日期</th>
			        	<th data-options="field: 'updateAt'">导出日期</th>
			        	<th data-options="field: 'exportStatus', formatter:quotaConvert.exportStatus">状态</th>
			        </tr>
			    </thead>
			</table>
		</div>
	</div>
</body>
</html>