6ad62304324b5e1aac7f0c25639283b6938043b4.svn-base 10.1 KB
1<%@ 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();
			$("#djlxtext").attr("readOnly","true");
			$("#ghyttext").attr("readOnly","true");
			$("#qszttext").attr("readOnly","true");
			$("#qllxtext").attr("readOnly","true");
			$("#qxdmtext").attr("readOnly","true");
		});
		
		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 winOpen() {
			var iWidth=1100; 
	       	var iHeight=600;
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
	       	window.open("${ctx}/reg/base/regBaseXm/list?zchinfo=1&ywh=${YWH}","lpxxwindow",	
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}

		function Updatezrz(ids,jgrq){
			var iWidth=600; 
	       	var iHeight=400;
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
			window.open("${ctx}/reg/base/regBaseZrz/zrzjgrqupdate?ids="+ids,"111",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li><a href="#regBusQlrList" data-toggle="tab">权利人信息</a></li>
		<li><a href="#regBuszrzlist" data-toggle="tab">房屋信息</a></li>
		<li class="active"><a href="#regBusFdcq1Form" data-toggle="tab">项目内多幢房屋信息</a></li>
	</ul><br/>
	<div id="myTabContent" class="tab-content">
	<div class="tab-pane fade in active" id="regBusFdcq1Form">
	<form:form id="inputForm" modelAttribute="regBusFdcq1" action="${ctx}/reg/bus/regBusFdcq1/dzHousePropertySave?YWH=${YWH}&optype=${optype}&DJLX=${DJLX}&ids=${ids}&ybdcqzh=${ybdcqzh}" 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" 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" value="${scjzmj}" 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" 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" 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" 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" 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 }">
			<input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"/>&nbsp;</c:if>
			<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
		</div>
	</form:form>
	</div>
	
		<div class="tab-pane fade" id="regBuszrzlist">
			<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> 
				</tr>
			</thead>
			<tbody>
			<c:forEach items="${fwpage.list}" var="regBasezrz">
				<tr>
					<td>
						${regBasezrz.bdcdyh}
					</td>
					<td>
						<fmt:formatDate value="${regBasezrz.jgrq}" pattern="yyyy-MM-dd"/>
					</td>
					<td>
						${regBasezrz.xmmc}
					</td>
					<td>
						${regBasezrz.gzwmc}
					</td>
					<td>
						${fns:getDictLabel(regBasezrz.ghyt, 'reg_bus_fwyt', '')}
					</td>
					<td>
						${regBasezrz.scjzmj}
					</td>
					<td>
						<a href="javascript:void(0);" onclick="Updatezrz('${regBasezrz.id}','${regBasezrz.jgrq}');">修改</a> 
					</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>