position.jsp 4.83 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"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html>
<head>
	<jsp:include page="${ctx }/view/common/meta.jsp" />
	<link href="${ctx }/resource/css/member.css" rel="stylesheet" type="text/css" />
	<link href="${ctx }/resource/css/tab-slide.css" rel="stylesheet" type="text/css" />
	<link href="${ctx }/resource/css/trade.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="${ctx }/resource/js/user/pick/position.js"></script>
	<script type="text/javascript" src="${ctx }/resource/js/user/pick/pick.js"></script>
	<script type="text/javascript">
		var errorMessage = '${ resultInfo.message }';
	</script>
</head>
<body>
	<jsp:include page="${ctx }/view/common/header.jsp" />
	<div class="bigbox">
		<jsp:include page="${ctx }/view/common/menu.jsp" />
		<div class="etlist rightbox0 self position" style="margin-top: 28px">
			<div class="title-btn">
				<h2 style="text-align: left;">提货申请</h2>
				<a href="${ctx }/user/pick/record" class="red-btn pick-record">提货记录</a>
			</div>
			<div id="aaetip1" ><p  style="text-align:left "><a href="http://www.aaepro.com" style="color:blue" target="blank">亚洲艺术品交易所</a>(简称“亚交所”)是一家定位于全球艺术品交易投资业务的跨国企业,邮票钱币交易板块将于8月10日正式启动。</p></div>
			<div class="crossline"></div>
			<div class="tab-slide bottom-border">
				<a class="tab-seletced" href="${ctx }/user/position">普通提货</a>
				<%-- <a class="attention" href="${ctx }/user/position/pack">封装提货</a>
				<a class="attention" href="${ctx }/user/warehouses">网点自提</a> --%>
			</div>
			<div class="clear"></div>
			<div class="pick-msg">
				<!-- 没有数据 -->
				<c:if test="${empty positions }">
					<div style="background: #f2f2f2; margin: 5px 0;">
						<img style="width: 65%" src="${ctx }/resource/images/noData.png" />
					</div>
				</c:if>
				<!-- 有数据 -->
				<c:if test="${!empty positions }">
				<table cellpadding='0' cellspacing='0' id="pickTable">
					<thead>
						<tr>
							<th width="30%">藏品代码</th>
							<th class="left-font">藏品名称</th>
							<th>可提数量</th>
							<th width="25%">提货数量</th>
						</tr>
					</thead>
					<tbody>
						<c:forEach items="${positions }" var="position">
							<c:if test="${position.enable_amount > 0.0 }">
							<tr>
								<td>${position.otc_code }</td>
								<td class="left-font">${position.otc_name }</td>
								<td><fmt:formatNumber pattern="#####" value="${position.enable_amount }" /></td>
								<td>
									<input type="number"  name="occurAmount" min="1" maxlength="5"  value="${position.enable_amount}"  style="display: none"
										onkeyup="this.value=this.value.replace(/\D/g,'')"
										onafterpaste="this.value=this.value.replace(/\D/g,'')" />
									<span>${position.enable_amount }</span>
								</td>
							</tr>
							</c:if>
						</c:forEach>
					</tbody>
				</table>
				</c:if>
				<form id="pickForm" action="${ctx }/user/pick" method="post">
					<p class="pick-person">
						<span>提货方式:</span> 
						<label><input type="radio" name="pickType" value="3" title="转赵涌在线" />转赵涌在线</label> 
						<label><input type="radio" name="pickType" value="1" title="上门自提" />上门自提</label> 
						<label><input type="radio" name="pickType" value="2" title="顺丰到付" />顺丰到付</label> 
						<input type="button" class="red-btn" id="btnNormalPick" value="下一步" />
					</p>
					<input type="hidden" id="hidApplys" name="applys" />
					<input type="hidden" name="pack" value="0" />
				</form>
				<div id="aaetip2">
					<h4 style="text-align:left " >温馨提示:</h4>
					<div class="content-msg">
						
						<div class="tip" style="padding-left: 3%;">
							<p>• 提货成功可于次日登录<a href="http://www.aaepro.com" style="color:blue" target="blank">亚交所官网www.aaepro.com</a>账户查看。</p>
							<p>• 首次登录亚交所可使用原账号密码</p>
							<p>• 如有问题请拨打客服热线 400-969-0800</p>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="clear"></div>
	</div>
	<!-- 结果弹窗 -->5
	<div class="easyDialog_wrapper entrust ensure" id="ensure">
		<div class="easyDialog_content" style="border-top: 3px solid #d81e31;">
			<div class="easyDialog_text" id="entrust_result">请选择提货方式</div>
			<div class="easyDialog_footer">
				
				<button class="btn_highlight " onclick="window.location.reload()">确定</button>
			</div>
		</div>
	</div>
	<jsp:include page="${ctx }/view/common/bottom.jsp" />
</body>
</html>