<!-- 征信上报-基本信息修改 -->
<style>
	.viewDetailWord{
		cursor:pointer;
		display:inline-block;
		width:0.35rem !important;
	}
	.industryListBox li:hover{
		color:#fff;
	}
</style>
<form id="updatecreditEntBasicNew">
	<div class="newTabAddUpdateBox" style="top:0;position: absolute;left: 2rem;bottom: 0.5rem;">
		<div class="row">
			<input type="hidden" id="basicId" th:value="${creditEntBasic.id}">
			<table>
				<tr>
					<td colspan="4">
						<span class="detailContentBox-tabletitle">通用信息</span>
					</td>
				</tr>
				<tr>
					<td width="20%">
						<span class="">企业名称</span>：
					</td>
					<td class="enter" width="30%">
						<input type="text" class="form-control" name="entName"  th:value="${creditEntBasic?.entName}"/>
					</td>
					<td width="15%">
						<span class="">是否为事业单位</span>：
					</td>
					<td class="enter" width="35%">
						<select name="institution" class="form-control" >
							<option value="1" th:selected="${creditEntBasic?.institution == 1}">是</option>
							<option value="0" th:selected="${creditEntBasic?.institution == 0}">否</option>
						</select>
					</td>
				</tr>
				<tr>
					<td width="20%">
						<span class="">企业统一社会信用编码</span>：
					</td>
					<td class="enter" colspan="3">
						<input type="text" style="padding-right:0.35rem;" class="form-control" name="subjectSocialCreditCode" maxlength="18"  th:value="${creditEntBasic?.subjectSocialCreditCode}"/>
					</td>
				</tr>
				<tr>
					<td width="20%">
						<span class="">企业身份标识类型</span>：
					</td>
					<td class="enter" width="30%">
						<select class="form-control" name="entCertType" tag:option="entCertType" th:value="${creditEntBasic?.entCertType?.id}"></select>
					</td>
					<td width="15%">
						<span class="">企业身份标识号码</span>：
					</td>
					<td class="enter" width="35%">
						<input type="text" class="form-control" name="entCertNum" maxlength="18" th:value="${creditEntBasic?.entCertNum}"/>
					</td>
				</tr>
<!--				<tr>-->
<!--					<td width="20%">客户资料维护机构码：</td>-->
<!--					<td class="enter" colspan="3">-->
<!--						<input type="text" style="padding-right:0.35rem;" class="form-control" name="cimoc" readOnly th:value="${creditEntBasic?.cimoc}"/>-->
<!--					</td>-->
<!--				</tr>-->
			</table>
		</div>
		
		<div class="row">
			<table>
				<tr>
					<td colspan="4">
						<span class="detailContentBox-tabletitle">客户基本信息-基础数据项</span>
					</td>
				</tr>
				<tr>
					<td width="20%">
						<span class="">客户资料类型</span>：
					</td>
					<td class="enter" width="30%">
						<select name="customerType" class="form-control" >
							<option value="2" th:selected="${creditEntBasic?.customerType == '2'}">授信业务客户资料</option>
							<option value="1" th:selected="${creditEntBasic?.customerType == '1'}">基本存款账户客户资料</option>
						</select>
					</td>
					<td width="15%">
						<span class="">存续状态</span>：
					</td>
					<td class="enter" width="35%">
						<select class="form-control" name="etpStatus" tag:option="etpStatus" th:value="${creditEntBasic?.etpStatus?.id}"></select>
					</td>
				</tr>
				<tr>
					<td width="20%">
						<span class="">组织机构类型</span>：
					</td>
					<td class="enter" width="30%">
						<input type="hidden" class="form-control" name="orgTypeBack" th:value="${creditEntBasic?.orgType?.id}"/>
						<select class="form-control" name="orgType" th:value="${creditEntBasic?.orgType?.id}"></select>
					</td>
					<td width="15%">
						<span class="">组织机构类型细分</span>：
					</td>
					<td class="enter" width="35%">
						<input type="hidden" class="form-control" name="orgSubTypeBack" th:value="${creditEntBasic?.orgSubType?.id}"/>
						<select class="form-control" name="orgSubType"></select>
					</td>
				</tr>
				<tr>
					<td width="20%">
						<span class="">国别代码</span>：
					</td>
					<td class="enter" width="30%">
						<input type="text" class="form-control" name="nationality" th:value="${creditEntBasic?.nationality}"/>
					</td>
					<td width="15%">
						<span class="">登记地址</span>：
					</td>
					<td class="enter" width="35%">
						<input type="text" class="form-control" name="regAdd" th:value="${creditEntBasic?.regAdd}"/>
					</td>
				</tr>
				<tr>

				</tr>
				<tr>
					<td width="20%">
						<span class="">登记地址行政区划</span>：
					</td>
					<td colspan="3" id="regAreaCode" style="background:#fff;position:relative;" th:originalcode="${creditEntBasic?.admDivOfReg}">
						<span class="originalVal" th:text="${creditEntBasic?.admDivOfRegStr}"></span>
					</td>
				</tr>
				<tr>
					<td width="20%">
						<span class="">成立日期</span>：
<!--						<input type="text" th:value="${creditEntBasic?.establishDate}">-->
					</td>
					<td class="enter" width="30%">
						<input type="text" class="form-control" readOnly name="establishDate" th:value="${creditEntBasic?.establishDate}"/>
						<span class="deleteTime" style="right:0.45rem;top:0.08rem;">×</span>
					</td>
					<td width="15%">
						<span class="">营业许可证到期日</span>：
					</td>
					<td class="enter" width="35%">
						<input type="text" class="form-control" readOnly name="bizEndDate" th:value="${creditEntBasic?.bizEndDate}"/>
						<span class="deleteTime" style="right:0.45rem;top:0.08rem;">×</span>
					</td>
				</tr>
				<tr>
					<td width="20%">
						<span class="">经营(业务)范围</span>：
					</td>
					<td class="enter" colspan="3">
						<textarea class="form-control" style="resize:none;padding:0.05rem 0.35rem 0.05rem 0.1rem;padding-right:0.35rem !important;" rows="3" name="bizRange" th:text="${creditEntBasic?.bizRange}"></textarea>
					</td>
				</tr>
				<tr>
					<td width="20%">
						<span class="">行业分类</span>：
					</td>
					<td class="enter" width="30%">
						<ul class="allIndustry" style="display:none;"></ul>
						<input type="text" readOnly id="ecoIndusCate" class="form-control">
						<div class="entCustomerListBox industryListBox" style="position:absolute !important;z-index:999;background-color: #fff;border: 1px solid #ccc;box-shadow: 0px 0px 2px 2px rgba(62, 192, 230,0.3);display:none;">
							<input type="text" class="form-control" style="margin:0.05rem auto;width:97%;border-color: #5AC4FC;box-shadow: inset 0 1px 1px rgba(90,196,252,.075), 0 0 8px rgba(90,196,252,.6);" placeholder="可输入关键词查询">
							<button class="btn btn-info btn-white colorbtn" style="position:absolute;right:0;top:0.05rem;height:0.34rem;width:0.3rem;text-align:center;padding-left:0;padding-right:0;">查</button>
							<ul style="overflow:auto;"></ul>
						</div>
						<input type="hidden" id="ecoIndusCateBack" th:value="${creditEntBasic?.ecoIndusCate}">
					</td>
					<td width="15%">
						<span class="">经济类型</span>：
					</td>
					<td class="enter" width="35%">
						<select class="form-control" name="ecoType" tag:option="ecoType" th:value="${creditEntBasic?.ecoType?.id}"></select>
					</td>
				</tr>
				<tr>
					<td width="20%">
						<span class="">注册资本(币种)</span>：
					</td>
					<td class="enter" width="30%">
<!--						<input type="text" class="form-control" name="regCapCurrency" th:value="${creditEntBasic?.regCapCurrency}"/>-->
						<select class="form-control" name="regCapCurrency" tag:option="currencyType" th:value="${creditEntBasic?.regCapCurrency?.id}"></select>
					</td>
					<td width="15%">
						<span class="">注册资本(金额)</span>：
					</td>
					<td class="enter" width="35%">
						<input type="text" class="form-control" name="regCap" th:value="${creditEntBasic?.regCap}"/>
					</td>
				</tr>
				<tr>
					<td width="15%">
						<span class="">注册资本(字符)</span>：
					</td>
					<td class="enter" colspan="3">
						<input type="text" class="form-control" name="regCapStr" th:value="${creditEntBasic?.regCapStr}"/>
					</td>
				</tr>
				<tr>
					<td width="20%">
						<span class="">企业规模</span>：
					</td>
					<td class="enter" width="30%">
						<select name="entScale" class="form-control">
							<option value="2" th:selected="${creditEntBasic?.entScale == '2'}">大型</option>
							<option value="3" th:selected="${creditEntBasic?.entScale == '3'}">中型</option>
							<option value="4" th:selected="${creditEntBasic?.entScale == '4'}">小型</option>
							<option value="5" th:selected="${creditEntBasic?.entScale == '5'}">微型</option>
							<option value="9" th:selected="${creditEntBasic?.entScale == '9'}">无需划型</option>
							<option value="X" th:selected="${creditEntBasic?.entScale == 'X'}">未知</option>
						</select>
					</td>
					<td width="15%">
						<span class="">联系地址</span>：
					</td>
					<td class="enter" width="35%">
						<input type="text" class="form-control" name="conAdd" th:value="${creditEntBasic?.conAdd}"/>
					</td>

				</tr>
				<tr>
					<td width="15%">
						<span class="">联系地址行政区划</span>：
					</td>
					<td colspan="3" id="conAreaCode" style="background:#fff;position:relative;" th:originalcode="${creditEntBasic?.conAddDistrictCode}">
						<span class="originalValue" th:text="${creditEntBasic?.conAddDistrictStr}"></span>
					</td>
				</tr>
				<tr>
					<td width="20%">
						<span class="">联系电话</span>：
					</td>
					<td class="enter" width="30%">
						<input type="text" class="form-control" name="conPhone" th:value="${creditEntBasic?.conPhone}"/>
					</td>
					<td width="15%">
						<span class="">财务部联系电话</span>：
					</td>
					<td class="enter" width="35%">
						<input type="text" class="form-control" name="finConPhone" th:value="${creditEntBasic?.finConPhone}"/>
					</td>
				</tr>
			</table>
		</div>
		
	</div>
	<div class="row" style="position:absolute;bottom:0;left:2rem;right:0;padding:0 0.4rem;height:0.42rem;">
		<button id="creditReportingBackBtn" class="btn btn-info btn-white" style="float:right;margin:0;">取消</button>
		<button id="creditReportingSaveBtn" class="btn btn-info btn-white colorbtn" style="float:right;margin:0;margin-right:0.1rem">保存</button>
	</div>
</form>
<script src="/js/credit/pbccrcNew/updateOrgbaseInfo.js"></script>
