changeLastPrice.jsp
3.24 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/ration/changeLastPrice.js?r=${random}"></script>
<style type="text/css">
.add-label{
text-align: right;
}
</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="mchCode" class="easyui-numberbox search-input">
</td>
<td><a href="javascript:ChangeLastPrice.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:'查询结果'">
<div id="toolbar">
<a href="javascript:ChangeLastPrice.lastPrice()" class="easyui-linkbutton">修改开盘价</a>
</div>
<!-- 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:'MCH_CODE'">藏品代码</th>
<th data-options="field:'MCH_NAME'">藏品名称</th>
<th data-options="field:'MCLOSE_PRICE'">收盘价</th>
<th data-options="field:'LAST_PRICE'">开盘价</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<div id="price-dialog" class="easyui-dialog" style="padding: 10px; width: 450px;height: 220px;"
data-options="closed:true, title:'修改开盘价', modal:true, buttons:'#price-dialog-buttons'">
<form id="price-form" method="post" data-options="novalidate: false">
<ul class="simple-ul">
<li>
<label style="width:120px;">藏品编号:</label>
<input name="mchCode" id="mchCode" class="easyui-numberbox add-input" data-options="required:true" readonly="readonly">
</li>
<li>
<label style="width:120px;">藏品名称:</label>
<input id="mchName" class="easyui-textbox add-input" data-options="required:true" readonly="readonly">
</li>
<li>
<label style="width:120px;">开盘价:</label>
<input name="lastPrice" id="lastPrice" class="easyui-numberbox add-input" data-options="required:true,precision:2">
</li>
</ul>
</form>
</div>
<div id="price-dialog-buttons" style="text-align:center;">
<a href="javascript:ChangeLastPrice.lastPriceChange()" class="easyui-linkbutton c6 search-button" data-options="iconCls:'icon-ok'">确认</a>
<a href="javascript:App.closeDialog('price-dialog','price-form')" class="easyui-linkbutton search-button" data-options="iconCls:'icon-cancel'">取消</a>
</div>
</body>
</html>