<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>信保管理-保险公司配置-修改</title>
	<style>
		.btn-info:active,
		.btn-info:focus{
			background-color:#fff;
		}
	</style>
</head>
<body>
<div class="base-extend">
	<ol class="breadcrumb" style="margin-top:0;">
		<i class="icon-chevron-sign-left newBackBtn"></i>
	  	<li>信保管理</li>
	  	<li>保险公司配置</li>
	  	<li>修改</li>
	</ol>
	<div class="detailContentBox">
		<p class="detailContentBox-title">修改</p>
		<form class="form-horizontal" id="insuranceAddForm" autocomplete="off">
			 <input type="hidden" name="insuranceId" th:value="${insuranceCorp?.id}">
			 <div class="newTabAddUpdateBox">
				<div class="row">
					<!-- 支持实施保理产品id集合 -->
					<div class="factoringProductsIds" th:each="f,fs:${insuranceCorp?.insuranceTypes}" style="display:none;">
						<div th:each="p,ps:${f?.factoringProducts}">
							<input type="text" th:value="${p?.id}">
						</div>
					</div>
					<table>
						<tr>
							<td width="15%" style="padding:0;border:none;">
							<td width="25%" style="padding:0;border:none;">
							<td width="45%" style="padding:0;border:none;">
							<td width="15%" style="padding:0;border:none;">
						</tr>
						<tr>
							<td colspan="4">
								<span class="detailContentBox-tabletitle">保险公司配置</span>
							</td>
						</tr>
						<tr>
							<td width="15%">
								<span class="required_fileds_star">保险公司名称</span>：
							</td>
							<td colspan="3" class="enter">
								<input type="text" class="form-control" name="name" maxlength="50" th:value="${insuranceCorp?.name}">
							</td>
						</tr>
						<tr>
							<td width="15%">
								<span class="required_fileds_star">保险公司简称</span>：
							</td>
							<td colspan="3" class="enter">
								<input type="text" class="form-control" name="abbreviation" maxlength="8" th:value="${insuranceCorp?.abbreviation}">
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="required_fileds_star">信用保险险种名称</span>
							</td>
							<td width="45%">
								<span class="required_fileds_star">支持实施保理产品</span>
							</td>
							<td width="15%">
								<span>操作</span>
							</td>
						</tr>
						<tr class="insuranceTr" th:each="f,fs:${insuranceCorp?.insuranceTypes}">
							<td colspan="2" class="enter">
								<input type="text" class="form-control" maxlength="50" th:value="${f?.name}">
								<span class="error" style="display:none">请输入信用保险险种</span>
							</td>
							<td width="45%" class="enter hasradio">
								<label th:each="t,ts:${factoringProducts}">
									<input type="checkbox" class="radios" th:value="${t.code}" th:pid="${t.id}">
									<span th:text="${t.name}"></span>
								</label>
								<span class="error" style="display:none">请选择支持实施保理产品</span>
							</td>
							<td width="15%" style="background-color:#fff">
								<span class="negativeInformationPlus">+增加</span>
								<span class="negativeInformationReduce">-删除</span>
							</td>
							<input type="hidden" class="insuranceTrId" th:value="${f?.id}">
						</tr>
					</table>
				</div>
			</div>
			<div class="yk_addBtns yk_addNewMsg newTabAddUpdateBtnBox">
				<button class="btn btn-white btn-info colorbtn save">保存</button>
				<button class="btn btn-white btn-info btn-cancel">关闭</button>
			</div>
		</form>
	</div>
</div>	
</body>
<script src="/js/credit/insurance/corp/corpUpdate.js"></script>
</html>