<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8"/>
<title>在线查询-同步-企业基本信息</title>
<link rel="stylesheet" href="/css/external/enterPriseBusiness/enterPriseBusiness.css" type="text/css">
</head>
<body>
	<input type="hidden" id="syncId" th:value="${dataVo?.companyRight?.id}">
	<input type="hidden" id="syncurl" value="/enterPriseBusiness/do_synchBusinessInfo">
	<div class="entryBox">
		<p class="entryTitle">
			<label>
				<input type="checkbox" id="checkall"><span>企业基本信息</span>
			</label>
		</p>	
		<div class="entryautobox">
			<div class="entryNoData">
				<p>暂无需要同步的数据</p>
			</div>
			<!-- companyLeft?.企查查 -->
			<!-- companyRight?.本地 -->
			<div th:class="${dataVo?.companyRight?.enterpriseCN !=dataVo?.companyLeft?.Name}?'entryItembox entryItemTotal':'hide entryItemTotal'">
				<div class="entryItemLocal">
					<label for="enterpriseCN">
						<input type="checkbox" id="enterpriseCN">公司名称：<span name="enterpriseCN" th:text="${dataVo?.companyRight?.enterpriseCN}"></span>
					</label>
				</div>
				<div class="entryItemQichacha">
					<label>
						（企查查）公司名称：<span name="enterpriseCN" th:text="${dataVo?.companyLeft?.Name}"></span>
					</label>
				</div>
			</div>
			<div th:class="${dataVo?.companyRight?.socialCreditCode !=dataVo?.companyLeft?.CreditCode}?'entryItembox entryItemTotal':'hide entryItemTotal'">
				<div class="entryItemLocal">
					<label for="socialCreditCode">
						<input type="checkbox" id="socialCreditCode">统一社会信用代码：<span name="socialCreditCode" th:text="${dataVo?.companyRight?.socialCreditCode}"></span>
					</label>
				</div>
				<div class="entryItemQichacha">
					<label>
						（企查查）统一社会信用代码：<span name="socialCreditCode" th:text="${dataVo?.companyLeft?.CreditCode}"></span>
					</label>
				</div>
			</div>
			<div th:class="${dataVo?.companyRight?.economicType!=dataVo?.companyLeft?.EconKind}?'entryItembox entryItemTotal':'hide entryItemTotal'">
				<div class="entryItemLocal">
					<label for="economicType">
						<input type="checkbox" id="economicType">企业类型：<span name="economicType" th:text="${dataVo?.companyRight?.economicType}"></span>
					</label>
				</div>
				<div class="entryItemQichacha">
					<label>
						（企查查）企业类型：<span name="economicType" th:text="${dataVo?.companyLeft?.EconKind}"></span>
					</label>	
				</div>
			</div>
			<div th:class="${dataVo?.companyRight?.legalPerson !=dataVo?.companyLeft?.OperName}?'entryItembox entryItemTotal':'hide entryItemTotal'">
				<div class="entryItemLocal">
					<label for="legalPerson">
						<input type="checkbox" id="legalPerson">法定代表人：<span name="legalPerson" th:text="${dataVo?.companyRight?.legalPerson}"></span>
					</label>
				</div>
				<div class="entryItemQichacha">
					<label>
						（企查查）法定代表人：<span name="legalPerson" th:text="${dataVo?.companyLeft?.OperName}"></span>
					</label>
				</div>
			</div>
			<div th:class="${dataVo?.companyRight?.registeredCapital !=dataVo?.companyLeft?.RegistCapi}?'entryItembox entryItemTotal':'hide entryItemTotal'">
				<div class="entryItemLocal">
					<label for="registeredCapital">
						<input type="checkbox" id="registeredCapital">注册资本：<span name="registeredCapital" th:text="${dataVo?.companyRight?.registeredCapital}"></span>
					</label>
				</div>
				<div class="entryItemQichacha">
					<label>
						（企查查）注册资本：<span name="registeredCapital" th:text="${dataVo?.companyLeft?.RegistCapi}"></span>
					</label>
				</div>
			</div>
			<div th:class="${#calendars.format(dataVo?.companyRight?.startDate,'yyyy-MM-dd') !=#calendars.format(dataVo?.companyLeft?.StartDate,'yyyy-MM-dd')}?'entryItembox entryItemTotal':'hide entryItemTotal'">
				<div class="entryItemLocal">
					<label for="startDate">
						<input type="checkbox" id="startDate">成立时间：<span name="startDate" th:text="${#calendars.format(dataVo?.companyRight?.startDate,'yyyy-MM-dd')}"></span>
					</label>
				</div>
				<div class="entryItemQichacha">
					<label>
						（企查查）成立时间：<span name="startDate" th:text="${#calendars.format(dataVo?.companyLeft?.StartDate,'yyyy-MM-dd')}"></span>
					</label>
				</div>
			</div>
			<div th:class="${#calendars.format(dataVo?.companyRight?.operatingPeriodFrom,'yyyy-MM-dd') !=#calendars.format(dataVo?.companyLeft?.TermStart,'yyyy-MM-dd')}?'entryItembox entryItemTotal':'hide entryItemTotal'">
				<div class="entryItemLocal">
					<label for="operatingPeriodFrom">
						<input type="checkbox" id="operatingPeriodFrom">营业期限自：<span name="operatingPeriodFrom" th:text="${#calendars.format(dataVo?.companyRight?.operatingPeriodFrom,'yyyy-MM-dd')}"></span>
					</label>
				</div>
				<div class="entryItemQichacha">
					<label>
						（企查查）营业期限自：<span name="operatingPeriodFrom" th:text="${#calendars.format(dataVo?.companyLeft?.TermStart,'yyyy-MM-dd')}"></span>
					</label>
				</div>
			</div>
			<div th:class="${#calendars.format(dataVo?.companyRight?.operatingPeriodEnd,'yyyy-MM-dd') !=#calendars.format(dataVo?.companyLeft?.specialTeamEnd,'yyyy-MM-dd')}?'entryItembox entryItemTotal':'hide entryItemTotal'">
				<div class="entryItemLocal">
					<label for="operatingPeriodEnd">
						<input type="checkbox" id="operatingPeriodEnd">营业期限至：<span name="operatingPeriodEnd" th:text="${#calendars.format(dataVo?.companyRight?.operatingPeriodEnd,'yyyy-MM-dd')}"></span>
					</label>
				</div>
				<div class="entryItemQichacha">
					<label>
						（企查查）营业期限至：<span name="operatingPeriodEnd" th:text="${#calendars.format(dataVo?.companyLeft?.specialTeamEnd,'yyyy-MM-dd')}"></span>
					</label>
				</div>
			</div>
			<div th:class="${dataVo?.companyRight?.registOrgan !=dataVo?.companyLeft?.BelongOrg}?'entryItembox entryItemTotal':'hide entryItemTotal'">
				<div class="entryItemLocal">
					<label for="registOrgan">
						<input type="checkbox" id="registOrgan">登记机关：<span name="registOrgan" th:text="${dataVo?.companyRight?.registOrgan}"></span>
					</label>
				</div>
				<div class="entryItemQichacha">
					<label>
						（企查查）登记机关：<span name="registOrgan" th:text="${dataVo?.companyLeft?.BelongOrg}"></span>
					</label>
				</div>
			</div>
			<div th:class="${dataVo?.companyRight?.registStatus?.name !=dataVo?.companyLeft?.registStatus?.name}?'entryItembox entryItemTotal':'hide entryItemTotal'">
				<div class="entryItemLocal">
					<label for="registStatus">
						<input type="checkbox" id="registStatus">登记状态：<span th:text="${dataVo?.companyRight?.registStatus?.name}"></span>
						<span name="registStatus" style="display:none" th:text="${dataVo?.companyRight?.registStatus?.id}"></span>
					</label>
				</div>
				<div class="entryItemQichacha">
					<label>
						（企查查）登记状态：<span th:text="${dataVo?.companyLeft?.registStatus?.name}"></span>
						<span name="registStatus" style="display:none" th:text="${dataVo?.companyLeft?.registStatus?.id}"></span>
					</label>
				</div>
			</div>
			<div th:class="${dataVo?.companyRight?.registNo!=dataVo?.companyLeft?.No}?'entryItembox entryItemTotal':'hide entryItemTotal'">
				<div class="entryItemLocal">
					<label for="registNo">
						<input type="checkbox" id="registNo">注册号：<span name="registNo" th:text="${dataVo?.companyRight?.registNo}"></span>
					</label>
				</div>
				<div class="entryItemQichacha">
					<label>
						（企查查）注册号：<span name="registNo" th:text="${dataVo?.companyLeft?.No}"></span>
					</label>
				</div>
			</div>
			<div th:class="${#calendars.format(dataVo?.companyRight?.checkDate,'yyyy-MM-dd') !=#calendars.format(dataVo?.companyLeft?.CheckDate,'yyyy-MM-dd')}?'entryItembox entryItemTotal':'hide entryItemTotal'">
				<div class="entryItemLocal">
					<label for="checkDate">
						<input type="checkbox" id="checkDate">核准日期：<span name="checkDate" th:text="${#calendars.format(dataVo?.companyRight?.checkDate,'yyyy-MM-dd')}"></span>
					</label>
				</div>
				<div class="entryItemQichacha">
					<label>
						（企查查）核准日期：<span name="checkDate" th:text="${#calendars.format(dataVo?.companyLeft?.CheckDate,'yyyy-MM-dd')}"></span>
					</label>
				</div>
			</div>
			<div th:class="${dataVo?.companyRight?.address !=dataVo?.companyLeft?.Address}?'entryItembox entryItemTotal':'hide entryItemTotal'">
				<div class="entryItemLocal">
					<label for="address">
						<input type="checkbox" id="address">注册（登记）地址：<span name="address" th:text="${dataVo?.companyRight?.address}"></span>
					</label>
				</div>
				<div class="entryItemQichacha">
					<label>
						（企查查）注册（登记）地址：<span name="address" th:text="${dataVo?.companyLeft?.Address}"></span>
					</label>
				</div>
			</div>
			<div th:class="${dataVo?.companyRight?.businessScope !=dataVo?.companyLeft?.Scope}?'entryItembox entryItemTotal':'hide entryItemTotal'">
				<div class="entryItemLocal">
					<label for="businessScope">
						<input type="checkbox" id="businessScope">经营（业务）范围：<span name="businessScope" th:text="${dataVo?.companyRight?.businessScope}"></span>
					</label>
				</div>
				<div class="entryItemQichacha">
					<label>
						（企查查）经营（业务）范围：<span name="businessScope" th:text="${dataVo?.companyLeft?.Scope}"></span>
					</label>
				</div>
			</div>
		</div>
	</div>
	<button id="syncSure" class="colorbtn">同步</button>
</body>
<script src="/js/enterPriseBusiness/entry/synchEnterpriseBasic.js"></script>
</html>