2d00434d0cd2c7e29c69d8354e1d01ca69f840db.svn-base 8.36 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){
					loading('正在提交,请稍等...');
					$("#btnSubmit").attr('disabled',"true");
					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);
					}
				}
			});
			$("#qllxtext").attr("readOnly","true");
			$("#djlxtext").attr("readOnly","true");
			$("#qxdmtext").attr("readOnly","true");
			$("#djsjtext").attr("readOnly","true");
			$("#qszttext").attr("readOnly","true");
		});
		
		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="#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/save?xmids=${xmid }&optype=${optype }" method="post" class="form-horizontal">
		<form:hidden path="id"/>
		<form:hidden path="xmid"/>
		<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"/>"
				   onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
		</td>
		</tr>
		<tr>
		<td class="tit">
			房屋建筑面积:
		</td>
		<td>
			<form:input path="dytdmj" htmlEscape="false" readonly="readonly" 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"/>"
				   onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
		</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 ">
				<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> 
					<c:if test="${empty VIEWS}">
					<th>操作</th> 
					</c:if>
				</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>
					<c:if test="${empty VIEWS}">
					<td>
						<a href="javascript:void(0);" onclick="Updatezrz('${regBasezrz.id}','${regBasezrz.jgrq}');">修改</a> 
					</td>
					</c:if>
				</tr>
			</c:forEach>
			</tbody>
			</table>
		</div>
	</div>
</body>
</html>