collectionStorage.jsp 4.82 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/collectionStorage.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>
							会员号:<input name="fundAccount" class="easyui-textbox search-input">
						</td>
						<td>
							托管状态:
							<select name="applyType" class="easyui-combobox search-input" 
								data-options="editable:false">
								<option value="">全部</option>
								<option value="2">待鉴定</option>
								<option value="3">鉴定不通过</option>
								<option value="4">待入库</option>
								<option value="5">已入库</option>
								<option value="6">已确权</option>
								<option value="7">申请取消</option>
							</select>
						</td>
					</tr>
					<tr>
						<td>
							托管单号:<input name="applyNo" class="easyui-textbox search-input">
						</td>
						<td>
							内部流转号:<input name="innercirculatNo" class="easyui-textbox search-input">
						</td>
						<td><a href="javascript:CollectionStorage.search();" class="easyui-linkbutton search-button" 
							data-options="iconCls:'icon-search'">搜索</a>
						</td>
						<td>
						</td>
					</tr>
				</table>
			</form>
		</div>
		
		<div class="easyui-panel" data-options="height:'80%',title:'查询结果'">
			<div id="toolbar">
				<a href="javascript:CollectionStorage.beforeVote()" class="easyui-linkbutton">鉴定否决</a>
				<a href="javascript:CollectionStorage.cancel()" class="easyui-linkbutton">取消托管</a>
				<a href="javascript:CollectionStorage.storage()" class="easyui-linkbutton">入库</a>
				<a href="javascript:CollectionStorage.export()" class="easyui-linkbutton">导出确权文件</a>
			</div>
			<!-- DataGrid -->
			<table id="data-grid" class="easyui-datagrid" 
				data-options="fitColumns:true, fit:true, pagination:true,
					rownumbers:true, toolbar:'#toolbar', selectOnCheck:true, pageSize:20">
				<thead>
			        <tr>
			        	<th data-options="field:'id', checkbox:true"></th>
			        	<th data-options="field:'APPLY_NO'">托管单号</th>
			        	<th data-options="field:'INNERCIRCULAT_NO'">内部流转号</th>
			            <th data-options="field:'APPLY_DATE'">托管申请日期</th>
			            <th data-options="field:'FUND_ACCOUNT'">会员号</th>
			            <th data-options="field:'OTC_CODE'">藏品代码</th>
			            <th data-options="field:'OTC_NAME'">藏品名称</th>
			            <th data-options="field:'APPLY_TYPE', formatter:CollectionStorage.applyType">申请状态</th>
			            <th data-options="field:'APPLY_COUNT'">申请数量</th>
			        	<th data-options="field:'APPROVAL_COUNT'">通过数量</th>
			        	<th data-options="field:'BACK_AMOUNT'">退还数量</th>
			        	<th data-options="field:'APPRAISAL_FARE'">鉴定费</th>
			            <th data-options="field:'TRUSTEE_FARE'">挂牌费</th>
			            <th data-options="field:'OPERATOR_NAME'">操作人</th>
			        	<th data-options="field:'STORAGE_DATE'">入库时间</th>
			        	<th data-options="field:'REMARK'">备注</th>
			        </tr>
			    </thead>
			    <tbody></tbody>
			</table>
		</div>
	</div>

	<!-- Add Form -->
	<div id="add-dialog" class="easyui-dialog" style="padding: 10px; width: 330px;" 
		data-options="closed:true, title:'编辑', modal:true, buttons:'#add-dialog-buttons'">
		<form id="add-form" method="post" data-options="novalidate: false">
			<input id="applyNo" name="applyNo" type="hidden" />
			<ul class="simple-ul">
				<li>
					<label style="width: 100px;">鉴定不通过数量:</label> 
					<input name="backAmount" class="easyui-numberbox search-input"
						data-options="required:true" />
				</li>
			</ul>
		</form>
	</div>
	<div id="add-dialog-buttons" style="text-align:center;">
		<a href="javascript:CollectionStorage.vote()" class="easyui-linkbutton c6 search-button" 
			data-options="iconCls:'icon-ok'">提交</a>
    	<a href="javascript:App.closeAddDialog()" class="easyui-linkbutton search-button" 
    		data-options="iconCls:'icon-cancel'">取消</a>
	</div>
</body>
</html>