entrust.jsp 3.89 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/user/entrust.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" method="post">
				<table class="search-table">
					<tr>
						<td>
							会员号:<input name="fund_account" class="easyui-textbox search-input">
						</td>
						<td>
							产品代码:<input name="otc_code" class="easyui-textbox search-input">
						</td>
						<td>
							托管状态:
							<select name="status" class="easyui-combobox search-input" data-options="editable: false">
								<option value="" selected="selected">全部</option>
								<option value="0">未申请</option>
								<option value="1">申请成功</option>
								<option value="2">申请失败</option>
								<option value="3">作废</option>
							</select>
						</td>
						<td>
							交付方式:
							<select name="picking_type" class="easyui-combobox search-input" data-options="editable: false">
								<option value="" selected="selected">全部</option>
								<option value="01">上门交付</option>
								<option value="02">物流交付</option>
							</select>
						</td>
					</tr>
					<tr>
						<td>
							起始日期:<input name="startDate" data-options="formatter:App.formatDate" class="easyui-datebox search-input">
						</td>
						<td>
							结束日期:<input name="endDate" data-options="formatter:App.formatDate" class="easyui-datebox search-input">
						</td>
						<td>&nbsp;</td>
						<td>
							<a href="javascript:Entrust.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: false, fit:true, pagination:true, idField: 'id',
					rownumbers:true, toolbar:'#toolbar', selectOnCheck:true, pageSize:20, url:'/user/entrust/search'">
				<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:'fund_account'">会员号</th>
			        	<th data-options="field:'apply_count'">申请数量</th>
			        	<th data-options="field:'picking_type',formatter:Entrust.formatPickintType">交付方式</th>
			        	<th data-options="field:'accept_name'">退件收件人</th>
			        	<th data-options="field:'mobile'">退件人手机</th>
			        	<th data-options="field:'addressx'">退件地址</th>
			            <th data-options="field:'create_at'">提交时间</th>
			            <th data-options="field:'status',formatter:Entrust.formatStatus">托管状态</th>
			            <th data-options="field:'result'">申请结果</th>
			            <th data-options="field:'update_by'">操作人</th>
			            <th data-options="field:'update_at'">操作时间</th>
			        </tr>
			    </thead>
			    <tbody></tbody>
			</table>
		</div>
		<div id="toolbar">
			<a href="javascript:Entrust.openEntrust()" class="easyui-linkbutton" data-options="iconCls:'icon-add'">批量申请</a>
			<a href="javascript:Entrust.cancelEntrust()" class="easyui-linkbutton" data-options="iconCls:'icon-add'">批量作废</a>
		</div>
	</div>
</body>
</html>