<!-- 企业浏览-分支机构-修改分支机构 -->
<input type="hidden" value="update" id="type"/>
<div class="modal fade" id="myModal-updateEnterpriseBranches" data-backdrop="static">
	<div class="modal-dialog" style="width:980px;">
	<form class="form-horizontal" id="addUpdateEnterPriseBranchesForm">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal">
				<i aria-hidden="true" class="icon icon-times" style="font-size:18px"></i><span class="sr-only">关闭</span>
			</button>
			<h4 class="modal-title">修改分支机构</h4>
		</div>
		<div class="modal-content" style="max-height:470px;overflow-y:auto;overflow-x:hidden;">
			<span tag:token/>
			<div class="row" style="margin-top:20px;padding-right:20px;">
				<div class="form-group">
					<label class="col-xs-2 required">所属企业名称：</label>
					<div class="col-xs-10">
						<input type="hidden" name="enterpriseBusinessInfo.id" th:value="${entBranches?.enterpriseBusinessInfo?.id}"/>
						<input type="hidden" name="id" th:value="${entBranches.id}"/>
						<input type="text" disabled style="background-color:#eee;color:#808080;"
							id="enterpriseCN" class="form-control" th:value="${entBranches?.enterpriseBusinessInfo?.enterpriseCN}">
					</div>
				</div>
				<div class="form-group">
					<label for="branchName" class="col-xs-2 required">分支机构名称：</label>
					<div class="col-xs-4">
						<input type="text" name="branchName" maxlength="50"
							id="branchName" class="form-control" th:value="${entBranches?.branchName}">
					</div>
					<label for="registNo" class="col-xs-2">注册号：</label>
					<div class="col-xs-4">
						<input type="text" name="registNo" maxlength="18"
							id="registNo" class="form-control" th:value="${entBranches?.registNo}">
					</div>
				</div>
				<div class="form-group">
					<label for="registeredCapital" class="col-xs-2">注册资本：</label>
					<div class="col-xs-4">
						<input type="text" name="registeredCapital"
							id="registeredCapital" class="form-control" th:value="${entBranches?.registeredCapital}">
					</div>
					<label for="legalPerson" class="col-xs-2">法定代表人：</label>
					<div class="col-xs-4">
						<input type="text" name="legalPerson" maxlength="30"
							id="legalPerson" class="form-control" th:value="${entBranches?.legalPerson}">
					</div>
				</div>
				<div class="form-group">
					<label for="registOrgan" class="col-xs-2">登记机关：</label>
					<div class="col-xs-4">
						<input type="text" name="registOrgan" maxlength="50"
							id="registOrgan" class="form-control" th:value="${entBranches?.registOrgan}">
					</div>
					<label for="startDate" class="col-xs-2">成立日期：</label>
					<div class="col-xs-4">
						<input type="text" name="startDate"
							id="startDate" class="form-control" th:value="${#calendars.format(entBranches?.startDate,'yyyy-MM-dd')}">
						<span class="deleteTime">×</span>
					</div>
				</div>
				<div class="form-group">
					<label for="remark" class="col-xs-2">备注：</label>
					<div class="col-xs-10">
						<textarea  style="resize:none" name="remark" id="remark" class="form-control autosize-transition" rows="5" maxlength='500' th:text="${entBranches?.remark}"></textarea>
					</div>
				</div>
			</div>
		</div>
		<div class="modal-footer">
			<button class="btn btn-primary addSure">确定</button>
			<button class="btn btn-default canclebtn" data-dismiss="modal">取消</button>
		</div>
	</form>
	</div>
</div>
<script src="/js/enterPriseBusiness/branches/enterPriseBranchesAddUpdate.js"></script>