quotaConvert.jsp
3.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?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>状态: </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>