pointRecord.jsp
3.6 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?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/user/pointRecord.js?r=${random}"></script>
<style type="text/css">
.add-label{
text-align: right;
}
.simple-table tr td{
text-align: center;
}
</style>
</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" action="" method="post">
<table class="search-table">
<tr>
<td>
会员号:<input name="userId" class="easyui-textbox search-input">
</td>
<td>
发生类型:
<select name="appendType" class="easyui-combobox search-input">
<option value="" selected="selected">全部</option>
<option value="0,1">增加</option>
<option value="2,3">减少</option>
</select>
</td>
<td>
任务编号:<input name="activeId" class="easyui-textbox search-input">
</td>
<td>
流水类型:
<select name="businessType" class="easyui-combobox search-input">
<option value="">全部</option>
<option value="0">活动获取</option>
<option value="1">配额补发</option>
<option value="2">兑换商品</option>
<option value="3">配额过期</option>
</select>
</td>
</tr>
<tr>
<td>
起始日期:<input name="startDate" data-options="formatter:App.formatDate" class="easyui-datebox search-input">
</td>
<td>
结束日期:<input name="endDate" data-options="formatter:App.formatDate" class="easyui-datebox search-input">
</td>
<td>
藏品代码:<input name="otcCode" class="easyui-textbox search-input">
</td>
<td> </td>
<td>
<a href="javascript:pointRecord.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:true, fit:true, pagination:true, idField: 'id',
rownumbers:true, toolbar:'#toolbar', selectOnCheck:true, pageSize:20,showFooter:true">
<thead>
<tr>
<th data-options="field:'id', checkbox:true"></th>
<th data-options="field:'activeId'">任务编号</th>
<th data-options="field:'userId'">会员号</th>
<th data-options="field:'otcCode'">藏品代码</th>
<th data-options="field:'otcName'">藏品名称</th>
<th data-options="field:'businessType', formatter:pointRecord.formatStatus">流水类型</th>
<th data-options="field:'occurCount'">发生数量</th>
<th data-options="field:'remainCount'">剩余数量</th>
<th data-options="field:'postCount'">发生后数量</th>
<th data-options="field:'createAt'">操作时间</th>
<th data-options="field:'expiredDate'">作废日期</th>
<th data-options="field:'remark'">备注</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</body>
</html>