trade.jsp
2.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
<?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/trade/trade.js?r=${random}"></script>
<script type="text/javascript" src="${ctx }/resource/js/jquery.cookie.js"></script>
</head>
<body>
<div class="easyui-panel" >
<div class="easyui-panel" data-options="title:'查询结果'">
<!-- DataGrid -->
<table id="data-grid" class="easyui-datagrid" style="height:520px;"
data-options="fitColumns:true, singleSelect:true, url:'/trade/exchaneInfo'">
<thead>
<tr>
<th data-options="field:'id', checkbox:true"></th>
<th data-options="field:'mch_code'">藏品代码</th>
<th data-options="field:'mch_name'">藏品名称</th>
<th data-options="field:'mclose_price',formatter:trade.mclosePrice">昨收盘</th>
<th data-options="field:'open_price',formatter:trade.openPrice">今开盘</th>
<th data-options="field:'last_price',formatter:trade.lastPrice">最新价</th>
<th data-options="field:'trend',formatter:trade.trend">涨跌幅</th>
<th data-options="field:'business_amount',formatter:trade.businessAmount">成交量</th>
<th data-options="field:'business_balance',formatter:trade.businessBalance">成交金额(万)</th>
<th data-options="field:'high_price',formatter:trade.highPrice">最高价</th>
<th data-options="field:'low_price',formatter:trade.lowPrice">最低价</th>
<th data-options="field:'',formatter:trade.otcInfo">查看委托单详情</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<div id="otc-dialog" class="easyui-dialog" style="padding:5px; width: 400px; height:400px;"
data-options="closed:true, title:'委托单详情', onClose:trade.closeInterval">
<!-- DataGrid -->
<table id="info-grid" class="easyui-datagrid"
data-options="fitColumns:true, singleSelect:true">
<thead>
<tr>
<th data-options="field:'id', checkbox:true"></th>
<th data-options="field:'OTC_CODE'">藏品代码</th>
<th data-options="field:'OTC_NAME'">藏品名称</th>
<th data-options="field:'ENTRUST_NUM'">委托数量</th>
<th data-options="field:'ENTRUST_PRICE'">委托价格</th>
<th data-options="field:'OTC_PROP',formatter:trade.otcProp">委比</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</body>
</html>