rationInviteDetail.jsp 3.23 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/ration/rationInviteDetail.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" action="" method="post">
				<table class="search-table">
					<tr>
						<td>
							藏品代码:<input name="otcCode" class="easyui-textbox search-input">
						</td>
						<td>
							藏品名称:<input name="otcName" class="easyui-textbox search-input">
						</td>
						<td>
							&nbsp;出让方:<input name="sellUserId" class="easyui-textbox search-input">
						</td>
						<td>
							收购方:<input name="buyUserId" class="easyui-textbox search-input">
						</td>
						<td></td>
					</tr>
					<tr>
						<td>
							起始日期:<input name="startDate" class="easyui-datetimebox search-input"  data-options="formatter:App.formatDate">
						</td>
						<td>
							结束日期:<input name="endDate" class="easyui-datetimebox search-input">
						</td>
						<td>
							交割状态:
							<select name="rationStatus" class="easyui-combobox search-input">
								<option value=""></option>
								<option value="1">交割成功</option>
								<option value="0">交割失败</option>
							</select>
						</td>
						<td><a href="javascript:RationInviteDetail.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:'otc_code'">藏品代码</th>
			            <th data-options="field:'otc_name'">藏品名称</th>
			            <th data-options="field:'buy_user_id'">认购方方用户编号</th>
			            <th data-options="field:'sell_user_id'">出让方方用户编号</th>
			            <th data-options="field:'ration_status', formatter:RationInviteDetail.rationResult">交割状态</th>
			            <th data-options="field:'stock_amount'">交割数量</th>
			        	<th data-options="field:'fund'">发生金额(元)</th>
			        	<th data-options="field:'create_by'">操作人</th>
			            <th data-options="field:'create_at'">操作时间</th>
			            <th data-options="field:'remark',fitColumns:false, formatter:RationInviteDetail.formatRemark" width="200px">备注</th>
			        </tr>
			    </thead>
			    <tbody></tbody>
			</table>
		</div>
	</div>
	
</body>
</html>