<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="/WEB-INF/tld/fns.tld" prefix="fns" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<link type="text/css" rel="stylesheet" href="<c:url value='/resources/versions-2.0/dist/css/bootstrap.min.css' />" />
<link type="text/css" rel="stylesheet" href="<c:url value='/resources/versions-2.0/dist/css/public.css' />" />
<link type="text/css" rel="stylesheet" href="<c:url value='/resources/versions-2.0/dist/css/insure/write-application.css' />" />
<link type="text/css" rel="stylesheet" href="<c:url value='/resources/version_new/css/idangerous.swiper2.7.6.css' />" />
<link type="text/css" rel="stylesheet" href="<c:url value='/resources/version_new/css/basic.css' />" />
<link rel="stylesheet" href="<c:url value='/resources/versions-2.0.2/css/laydate.css' />">
<link rel="stylesheet" href="<c:url value='/resources/versions-2.0.2/css/animate.min.css' />">
<link rel="stylesheet" href="<c:url value='/resources/versions-2.0.2/css/applicant.css' />">
<style>
	body{
		min-width: 900px
	}
	.details-popover {
		display: block;
		position: inherit;
		width: 100%;
		left: 0;
		margin-left: 0;
		z-index: 0;
		background: #ffffff;
		padding-bottom: 0;
		top: 0;
	}
	.query-result table thead tr th {
		font-size: 14px;
	}
	.query-result table tbody tr td {
		font-size: 14px;
	}
</style>
<div class="details-popover animated" style="position: absolute!important;">
<div class="popover-cont">
	<div class="popo-title">
		<div class="title-img clearfix">
			<img src="${ productDto.min_insurance_draw }" />
			<div class="title-wed">
				<p><span>保单号: <i>${payVo.external_reference }</i></span></p>
				<p><span>总保费金额: <i>${empty payVo.fact_total_amount ? payVo.predict_total_amount : payVo.fact_total_amount }元</i></span></p>
			</div>
			<%--<a target="_blank" href="<c:url value='${payVo.pay_inform_path }'/>">缴费通知单</a>
			<c:if test="${not empty payVo.pay_order_path }">
				<a target="_blank" href="<c:url value='${payVo.pay_order_path }'/>">缴费凭证</a>
			</c:if>--%>
		</div>
	</div>
	<div class="tab-content" id="preservationPaysArea" style="margin-top: 10px;overflow: auto;padding: 32px 30px;">
		<div class="query-result w-99-auto">
			<table class="table">
				<thead>
				<tr>
					<th>暂批改单号</th>
					<th>批改类型</th>
					<th>生效时间</th>
					<th>批改状态</th>
					<th>增员</th>
					<th>减员</th>
					<th>替换</th>
					<th>保全金额</th>
				</tr>
				</thead>
				<tbody>
				<c:choose>
					<c:when test="${empty recordVoList }">
						<td colspan="8" class="text-center">暂无记录！</td>
					</c:when>
					<c:otherwise>
						<c:forEach items="${recordVoList }" var="iprVo">
							<tr>
								<td>${iprVo.revise_serial_number }</td>
								<td>${fns:getDictLabel (iprVo.revise_type,"revise_type","")}</td>
								<td>${iprVo.inception_date }</td>
								<td>${fns:getDictLabel (iprVo.revise_status,"revise_status","")}</td>
								<td>${empty iprVo.add_count ? '0' : iprVo.add_count}</td>
								<td>${empty iprVo.minus_count ? '0' : iprVo.minus_count}</td>
								<td>${empty iprVo.replace_count ? '0' : iprVo.replace_count}</td>
								<td>${iprVo.total_premium }</td>
							</tr>
						</c:forEach>
					</c:otherwise>
				</c:choose>
				</tbody>
			</table>
		</div>
	</div>
</div>
</div>

<script type="text/javascript" src="<c:url value='/resources/script/jquery-1.10.2.min.js' />"></script>
<script type="text/javascript" src="<c:url value='/resources/versions-2.0/js/bootstrap.min.js' />"></script>
<script type="text/javascript" src="<c:url value='/resources/version_new/js/idangerous.swiper2.7.6.js' />"></script>
<script type="text/javascript" src="<c:url value='/resources/version_new/js/jquery.nav.js' />"></script>
<script type="text/javascript" src="<c:url value='/resources/version_new/js/clipboard.min.js' />"></script>
<script type="text/javascript" src="<c:url value='/resources/version_new/js/layer/layer.js' />"></script>
<script type="text/javascript" src="<c:url value='/resources/js/checkInputChangeStyle.js'/>"></script>
<script type="text/javascript" src="<c:url value='/resources/versions-2.0.2/js/laydate.js' />"></script>

<script src="<c:url value='/resources/versions-2.0.2/js/jquery.zoom.js' />"></script>
<script type="text/javascript" src="<c:url value='/resources/versions-2.0.2/js/laydate.js' />"></script>
<script src="<c:url value='/resources/versions-2.0.2/js/corrections.js?1' />"></script>
<script src="<c:url value='/resources/js/extendPagination.js'/>" type="text/javascript"></script>