regBusFdcq1GuidezydjForm.jsp 10.6 KB
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>房地产权转移登记信息管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			//$("#name").focus();
			$("#inputForm").validate({
				submitHandler: function(form){
					document.getElementById("btnSubmit").disabled="disabled";
					document.getElementById("btnCancel").disabled="disabled";
					loading('正在提交,请稍等...');
					form.submit();
				},
				errorContainer: "#messageBox",
				errorPlacement: function(error, element) {
					$("#messageBox").text("输入有误,请先更正。");
					if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
						error.appendTo(element.parent().parent());
					} else {
						error.insertAfter(element);
					}
				}
			});
			views();
			var ftfs = "${ftfs}";
			if(ftfs == "1"){
				$("#zdftfstext").attr("readOnly",true);
			}
             $("#qszttext").attr("readOnly",true);
			$("#qxdmtext").attr("readOnly",true);
			$("#djlxtext").attr("readOnly",true);
			$("#qllxtext").attr("readOnly",true);
			if($("#cqlytext").val() == "1" || $("#cqlytext").val() == "4"){
				$("#htbhtext").addClass("required");
				$("#htbhtext").after("<span id='addhtbhtext' class='help-inline'><font color='red'>*</font></span>");		
			}else{
				$("#htbhtext").removeClass("required");
				$("#addhtbhtext").remove();
			}
		});
		
		
		function DoAfterDialogForBdcdyh(bdcdyhofz){
			$("#bdcdyhtext").html(bdcdyhofz);
		}
		
		function views(){
			var viewid = "${VIEWS}";
			if(viewid == undefined || viewid == null || viewid ==""){
				return;
			}
			$("input:not(:button,:submit,:hidden),select,textarea").attr("disabled","disabled");
		}

		function getUrl(){
			
				var jid = window.opener.getjid();
				var url = "${ctx}/reg/bus/regBusFdcq1/zydjsave?YWH=${YWH}&DJLX=${DJLX}&jid="+jid;
				$("#inputForm").attr("action",url);
			
		}

		function htbhbt(){
			if($("#cqlytext").val() == "1" || $("#cqlytext").val() == "4"){
				$("#htbhtext").removeClass("required");
				$("#addhtbhtext").remove();
				$("#htbhtext").addClass("required");
				$("#htbhtext").after("<span id='addhtbhtext' class='help-inline'><font color='red'>*</font></span>");		
			}else{
				$("#htbhtext").removeClass("required");
				$("#addhtbhtext").remove();
			}
		}
		
	</script>
</head>
<body>
	<ul id="regBusFdcq2s" class="nav nav-tabs">
		<li><a href="#regBusQlrList" data-toggle="tab">转出方信息</a></li> 
		<li><a href="#regBusFdList" data-toggle="tab">房屋信息</a></li>
		<li class="active"><a href="#regBusFdcq2zydjForm" data-toggle="tab">房地产权(项目内多幢房屋)转移登记信息 <shiro:hasPermission name="reg:bus:regBusFdcq2:edit"></shiro:hasPermission><shiro:lacksPermission name="reg:bus:regBusFdcq2:edit">查看</shiro:lacksPermission></a></li>
	</ul><br/>
	<div id="myTabContent" class="tab-content">
	<div align="center" class="tab-pane fade in active" id="regBusFdcq2zydjForm">
	<form:form id="inputForm" modelAttribute="regBusFdcq1" action="#" onsubmit="getUrl();" method="post" class="form-horizontal">
		<form:hidden path="id"/>
		<sys:message content="${message}"/>
		<table class="table-form">
		<tr>
		<td class="tit">
			业务号:
		</td>
		<td>
			<form:input path="ywh" readonly="true" htmlEscape="false" maxlength="20" class="input-xlarge "/>
		</td>
		<td class="tit">
			要素代码:
		</td>
		<td>
			<form:input path="ysdm" readonly="true" htmlEscape="false" maxlength="10" class="input-xlarge "/>
		</td>
		</tr>
		<tr>
		<td class="tit">
			不动产单元号:
		</td>
		<td>
			<form:input path="bdcdyh" readonly="true" htmlEscape="false" maxlength="28" class="input-xlarge required"/>
			<span class="help-inline"><font color="red">*</font> </span>
		</td>
		<td class="tit">
			土地使用权人:
		</td>
		<td>
			<form:input path="tdsyqr" readonly="true" htmlEscape="false" maxlength="50" class="input-xlarge required"/>
			<span class="help-inline"><font color="red">*</font> </span>
		</td>
		</tr>
		<tr>
		<td class="tit">
			权利类型:
		</td>
		<td>
			<form:select id="qllxtext" path="qllx" class="input-xlarge required">
				<form:option value="" label=""/>
				<form:options items="${fns:getDictList('reg_bus_qllx')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
			</form:select>
			<span class="help-inline"><font color="red">*</font> </span>
		</td>
		<td class="tit">
			登记类型:
		</td>
		<td>
			<form:select id="djlxtext" path="djlx" class="input-xlarge required">
				<form:option value="" label=""/>
				<form:options items="${fns:getDictList('reg_bus_djlx')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
			</form:select>
			<span class="help-inline"><font color="red">*</font> </span>
		</td>
		</tr>
		<tr>
		<td class="tit">
			宗地面积:
		</td>
		<td>
			<form:input path="zdmj" readonly="true" htmlEscape="false" class="input-xlarge  number"/>
		</td>
		<td class="tit">
			土地使用起始时间:
		</td>
		<td>
			<input name="tdsyqssj" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate"
				   value="<fmt:formatDate value="${regBusFdcq1.tdsyqssj}" pattern="yyyy-MM-dd"/>"/>
		</td>
		</tr>
		<tr>
		<td class="tit">
			房屋建筑面积:
		</td>
		<td>
			<form:input path="dytdmj" readonly="true" htmlEscape="false" class="input-xlarge  number"/>
		</td>
		<td class="tit">
			土地使用结束时间:
		</td>
		<td>
			<input name="tdsyjssj" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate"
				   value="<fmt:formatDate value="${regBusFdcq1.tdsyjssj}" pattern="yyyy-MM-dd"/>"
		/>
		</td>
		</tr>
		<tr>
		<td class="tit">
			分摊土地面积:
		</td>
		<td>
			<form:input path="fttdmj" readonly="true" htmlEscape="false" class="input-xlarge  number"/>
		</td>
		<td class="tit">
			登记时间:
		</td>
		<td>
			<input id="djsjtext" name="djsj" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate "
				   value="<fmt:formatDate value="${regBusFdcq1.djsj}" pattern="yyyy-MM-dd"/>"/>
		</td>
		</tr>
		<tr>
		<td class="tit">
			不动产权证号:
		</td>
		<td>
			<form:input path="bdcqzh" readonly="true" htmlEscape="false" maxlength="50" class="input-xlarge "/>
		</td>
		<td class="tit">
			权属状态:
		</td>
		<td>
			<form:select id="qszttext" path="qszt" class="input-large required">
				<form:option value="" label=""/>
				<form:options items="${fns:getDictList('reg_bus_qszt')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
			</form:select>
		</td>
		</tr>
		<tr>
		<td class="tit">
			区县代码:
		</td>
		<td>
			<form:select id="qxdmtext" path="qxdm" class="input-xlarge required">
				<form:option value="" label=""/>
				<form:options items="${fns:getDictList('reg_bus_xq')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
			</form:select>
			<span class="help-inline"><font color="red">*</font> </span>
		</td>
		<td class="tit">
			登记机构:
		</td>
		<td>
			<form:input path="djjg" htmlEscape="false" maxlength="200" readonly="true" class="input-xlarge"/>
		</td>
		</tr>
		<tr>
		<td class="tit">
			登簿人:
		</td>
		<td>
			<form:input path="dbr" htmlEscape="false" maxlength="50" readonly="true" class="input-xlarge"/>
		</td>
		<td class="tit">
			房地产交易价格:
		</td>
		<td>
			<form:input path="fdcjyjg" readonly="true" htmlEscape="false" class="input-xlarge  number"/>
		</td>
		</tr>
		<tr>
		<td class="tit">
			登记原因:
		</td>
		<td>
			<form:textarea path="djyy" htmlEscape="false" rows="4" maxlength="500" class="input-xlarge required"/>
			<span class="help-inline"><font color="red">*</font> </span>
		</td>
		<td class="tit">
			房地坐落:
		</td>
		<td>
			<form:textarea path="fdzl" readonly="true" htmlEscape="false" rows="4" maxlength="200" class="input-xlarge required"/>
			<span class="help-inline"><font color="red">*</font> </span>
		</td>
		</tr>
		<tr>
		<td class="tit">
			附记:
		</td>
		<td colspan="2">
			<form:textarea path="fj" htmlEscape="false" rows="4" maxlength="300" class="input-xxlarge "/>
		</td>
		</tr>
		</table>
		<div class="form-actions">
			<c:if test="${empty VIEWS}">
				<shiro:hasPermission name="reg:bus:regBusFdcq1:view"><input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"/>&nbsp;</shiro:hasPermission>
			</c:if>
			<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
		</div>
	</form:form>
	</div>
     <div class="tab-pane fade" id="regBusFdList">
		<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>不动产单元号</th>
				<th>房屋编码</th>
				<th>建筑物名称</th>
				<th>坐落</th>
				<th>总层数</th>
				<th>室号部位</th> 
				<th>户型结构</th> 
				<th>房屋性质</th> 
				<th>房屋类型</th> 
				<th>建筑面积</th> 
				<th>土地分摊面积</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${fwpage.list}" var="regBaseH">
			<tr>
				<td>
					${regBaseH.bdcdyh}
				</td>
				<td>
					${regBaseH.fwbm}
				</td>
				<td>
					${regBaseH.jgzwmc}
				</td>
				<td>
					${regBaseH.zl}
				</td>
				<td>
					${regBaseH.sjcs}
				</td> 
				<td>
					${regBaseH.shbw}
				</td>
				<td>
					${fns:getDictLabel(regBaseH.hxjg, 'reg_bus_hxjg', '')}
				</td>
				<td>
					${fns:getDictLabel(regBaseH.fwxz, 'reg_bus_fwxz', '')}
				</td>
				<td>
					${fns:getDictLabel(regBaseH.fwlx, 'reg_bus_fwlx', '')}
				</td>
				<td>
					${regBaseH.scjzmj}
				</td>
				<td>
					${regBaseH.fttdmj}
				</td>
			</tr>
		</c:forEach>
		</tbody>
		</table>
	</div>
	
	
	<div class="tab-pane fade" id="regBusQlrList">
		<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>顺序号</th>
				<th>不动产单元号</th>
				<th>权利人名称</th>
				<th>证件种类</th>
				<th>证件号</th>
				<th>权利人类型</th>
				<th>权利比例</th>
				<th>共有情况</th>
				<th>共有详情</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${qlrpage.list}" var="regBusQlr">
			<tr>
				<td>
					${regBusQlr.sxh}
				</td> 
				<td>
					${regBusQlr.bdcdyh}
				</td>
				<td>
					${regBusQlr.qlrmc}
				</td>
				<td>
					${fns:getDictLabel(regBusQlr.zjzl, 'reg_bus_zjlx', '')}
				</td>
				<td>
					${regBusQlr.zjh}
				</td>
				<td>
					${fns:getDictLabel(regBusQlr.qlrlx, 'reg_bus_qlrlx', '')}
				</td>
				<td>
					${regBusQlr.qlbl}
				</td> 
				<td>
					${fns:getDictLabel(regBusQlr.gyfs, 'reg_bus_gyfs', '')}
				</td>
				<td>
					${regBusQlr.gyqk}
				</td>
			</tr>
		</c:forEach>
		</tbody>
		</table>
	</div>
	</div>
</body>
</html>