<!-- 征信上报-基本信息 -->
<div class="newTabAddUpdateBox" style="top:0;position: absolute;left: 2rem;bottom: 0.5rem;">
	<div class="row">
		<table>
			<tr>
				<td colspan="4">
					<span class="detailContentBox-tabletitle">通用信息</span>
				</td>
			</tr>
			<tr>
				<td width="20%">企业名称：</td>
				<td width="30%" style="background:#fff;" th:text="${creditEntBasic?.entName}"></td>
				<td width="15%">是否为事业单位：</td>
				<td width="35%" style="background:#fff;" th:text="${creditEntBasic?.institution}=='1'?'是':'否'"></td>
			</tr>
			<tr>
				<td width="20%">企业统一社会信用编码：</td>
				<td colspan="3" style="background:#fff;" th:text="${creditEntBasic?.subjectSocialCreditCode}"></td>
			</tr>
			<tr>
				<td width="20%">企业身份标识类型：</td>
				<td width="30%" style="background:#fff;" th:text="${creditEntBasic?.entCertType?.name}"></td>
				<td width="15%">企业身份标识号码：</td>
				<td width="35%" style="background:#fff;" th:text="${creditEntBasic?.entCertNum}"></td>
			</tr>
<!--			<tr>-->
<!--				<td width="20%">客户资料维护机构码：</td>-->
<!--				<td colspan="3" style="background:#fff;" th:text="${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%">客户资料类型：</td>
				<td width="30%" style="background:#fff;" th:text="${creditEntBasic?.customerType}==2?'授信业务客户资料':'基本存款账户客户资料'"></td>
				<td width="15%">存续状态：</td>
				<td width="35%" style="background:#fff;" th:text="${creditEntBasic?.etpStatus?.name}"></td>
			</tr>
			<tr>
				<td width="20%">组织机构类型：</td>
				<td width="30%" style="background:#fff;" th:text="${creditEntBasic?.orgType?.name}"></td>
				<td width="15%">组织机构类型细分：</td>
				<td width="35%" style="background:#fff;" th:text="${creditEntBasic?.orgSubType?.name}"></td>
			</tr>
			<tr>
				<td width="20%">国别代码：</td>
				<td width="30%" style="background:#fff;" th:text="${creditEntBasic?.nationality}"></td>
				<td width="15%">登记地址：</td>
				<td width="35%" style="background:#fff;" th:text="${creditEntBasic?.regAdd}"></td>
			</tr>
			<tr>
				<td width="20%">登记地址行政区划：</td>
				<td colspan="3" style="background:#fff;" th:text="${creditEntBasic?.admDivOfRegStr}"></td>
			</tr>
			<tr>
				<td width="20%">成立日期：</td>
				<td width="30%" style="background:#fff;" th:text="${creditEntBasic?.establishDate}"></td>
				<td width="15%">营业许可证到期日：</td>
				<td width="35%" style="background:#fff;" th:text="${creditEntBasic?.bizEndDate}"></td>
			</tr>
			<tr>
				<td width="20%">经营(业务)范围：</td>
				<td colspan="3" style="background:#fff;" th:text="${creditEntBasic?.bizRange}"></td>
			</tr>
			<tr>
				<td width="20%">行业分类：</td>
				<td width="30%" style="background:#fff;" th:text="${creditEntBasic?.ecoIndusCate}"></td>
				<td width="15%">经济类型：</td>
				<td width="35%" style="background:#fff;" th:text="${creditEntBasic?.ecoType?.name}"></td>
			</tr>
			<tr>
				<td width="20%">注册资本(币种)：</td>
				<td width="30%" style="background:#fff;" th:text="${creditEntBasic?.regCapCurrency?.name}"></td>
				<td width="15%">注册资本(金额)：</td>
				<td width="35%" style="background:#fff;" class="moneyAmount" th:text="${creditEntBasic?.regCap}"></td>
			</tr>
			<tr>
				<td width="20%">注册资本(字符)：</td>
				<td colspan="3" style="background:#fff;" th:text="${creditEntBasic?.regCapStr}"></td>
			</tr>
			<tr>
				<td width="20%">企业规模：</td>
				<td width="30%" class="enter">
					<select name="entScale" class="form-control" disabled>
						<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%">联系地址：</td>
				<td width="35%" style="background:#fff;" th:text="${creditEntBasic?.conAdd}"></td>
			</tr>
			<tr>
				<td width="20%">联系地址行政区划：</td>
				<td colspan="3" style="background:#fff;" th:text="${creditEntBasic?.conAddDistrictStr}"></td>
			</tr>
			<tr>
				<td width="20%">联系电话：</td>
				<td width="30%" style="background:#fff;" th:text="${creditEntBasic?.conPhone}"></td>
				<td width="15%">财务部联系电话：</td>
				<td width="35%" style="background:#fff;" th:text="${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="creditReportingViewBtn" class="btn btn-info btn-white colorbtn" style="float:right;margin:0;" tag:hasPermission="updateCreditReportingV2_baseInfo">修改</button>
</div>
<script>
	$(function(){
		if( $('#companySocialCreditCode').val()!='' ){// 查看进入时不显示
			$('#creditReportingViewBtn').hide();
		};
		
		$('.moneyAmount').each(function(i,ele){
			$(ele).text(commaDelimiter($(ele).text()))
		})
		
		$("#creditReportingViewBtn").click(function(){
			$(".yk_businessTabContentBox").load('/creditEntBusiness/basic/updateCreditEntBasic?entBusInfoId='+enterPriseBusinessQuery.enterPriseDomesticCompanyId)
		})
	})
</script>