rationDetail.jsp 3.78 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/rationDetail.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;&nbsp;&nbsp;<input name="sellUserId" class="easyui-textbox search-input">
						</td>
						<td>
							收购方:&nbsp;&nbsp;&nbsp;&nbsp;<input name="buyUserId" class="easyui-textbox search-input">
						</td>
						<td></td>
					</tr>
					<tr>
						<td>
							托管单号:<input name="applyNo" class="easyui-textbox search-input"  data-options="formatter:App.formatDate" >
						</td>
						<td>
							起始日期:<input name="startDate" class="easyui-datebox search-input"  data-options="formatter:App.formatDate">
						</td>
						<td>
							结束日期:<input name="endDate" class="easyui-datebox search-input">
						</td>
						<td>
							配售状态:
							<select name="rationStatus" class="easyui-combobox search-input">
								<option value="1">配售成功</option>
								<option value="0">配售失败</option>
							</select>
						</td>
						<td>
							<a href="javascript:RationDetail.search();" class="easyui-linkbutton search-button" data-options="iconCls:'icon-search'">搜索</a>
							<a href="javascript:RationDetail.export()" 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, selectOnCheck:true, pageSize:20, showFooter:true">
				<thead>
			        <tr>
			        	<th data-options="field:'id', checkbox:true"></th>
			        	<th data-options="field:'apply_no'">托管单号</th>
			        	<th data-options="field:'otc_code'">藏品代码</th>
			            <th data-options="field:'otc_name'">藏品名称</th>
			            <th data-options="field:'sell_user_id'">出让方会员号</th>
			            <th data-options="field:'buy_user_id'">收购方会员号</th>
			            <th data-options="field:'approval_count'">鉴定通过数量</th>
			        	<th data-options="field:'fund'">发生金额(元)</th>
			        	<th data-options="field:'stock_amount'">配售数量</th>
			        	<th data-options="field:'ration_status', formatter:RationDetail.rationResult">配售结果</th>
			            <th data-options="field:'registration', formatter:RationDetail.registration">确权状态</th>
			            <th data-options="field:'cost_price_status', formatter:RationDetail.formatCostPrice">成本价</th>
			        	<th data-options="field:'create_by'">操作人</th>
			            <th data-options="field:'create_at'">操作时间</th>
			            <th data-options="field:'remark',fitColumns:false, formatter:RationDetail.formatRemark" width="200px">备注</th>
			        </tr>
			    </thead>
			    <tbody></tbody>
			</table>
		</div>
	</div>
	
</body>
</html>