regBusFwgmdjqsshow.jsp 10.5 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('正在提交,请稍等...');
					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();
		});
		
		window.onload = function() { 
			$("#qxdmtext").attr("disabled","disabled");
			//初始化置灰
			$("#ywxltext").attr("disabled","disabled");
			$("#cqlytext").attr("disabled","disabled");
			$("#djlxtext").attr("disabled","disabled");
			$("#qllxtext").attr("disabled","disabled");
			$("#fwjgtext").attr("disabled","disabled");
			$("#fwxztext").attr("disabled","disabled");
			$("#ghyttext").attr("disabled","disabled");
		}; 
		
		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 winOpenUpdateQlr(id) {
			var bdcdyh = $("#bdcdyhtext").val();
			//弹出窗口的宽度; 
			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/bus/regBusQlr/qlrgmform?YWH=${YWH}&BDCDYH="+bdcdyh+"&id=" + id + "&XG=1", "newwindow", "height=" + iHeight + ",width=" + iWidth + ",top=" + iTop + ",left=" + iLeft + ",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function getUrl(){
			var url = "${ctx}/reg/bus/regBusFdcq2/editgmdjsave?id=${regBusFdcq2.id}";
			$("#inputForm").attr("action",url);
		}
	</script>
</head>
<body>
	<ul id="regBusFdcq2" class="nav nav-tabs">
		<li class="active"><a href="#regBusFdcq2gmdjForm" data-toggle="tab">房地产权信息</a></li>
	</ul><br/>
	<div id="myTabContent" class="tab-content">
		<div align="center" class="tab-pane fade in active" id="regBusFdcq2gmdjForm">
		<form:form id="inputForm" modelAttribute="regBusFdcq2" action="#" onsubmit="getUrl();" method="post" class="form-horizontal">
			<sys:message content="${message}"/>
			<table class="table-form">
				<tr>
					<td class="tit" width="12%">业务编号</td>
					<td width="17%" >
						<form:input path="ywh" htmlEscape="false"  readonly="true" maxlength="20" class="input-large required"/>
					</td>
					<td class="tit" width="12%">不动产单元号</td>
					<td width="26%" >
						<form:input path="bdcdyh" id="bdcdyhtext" htmlEscape="false" maxlength="28"  readonly="true" class="input-xlarge required"/>
						<span class="help-inline"><font color="red">*</font> </span>
					</td>	
					<td class="tit" width="12%">登记类型</td>
					<td width="19%">
						<form:select path="djlx" id="djlxtext" class="input-large">
							<form:option value="" label=""/>
							<form:options items="${fns:getDictList('reg_bus_djlx')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
						</form:select>
					</td>
				</tr>
				<tr>
					<td class="tit">房地坐落</td>
					<td colspan="3">
						<form:textarea path="fdzl" value="${FDZL }" rows="3" htmlEscape="false" readonly="true" maxlength="200" class="input-xxlarge "/>
					<td width="11%" class="tit">权利类型</td>
					<td>
						<form:select path="qllx" id="qllxtext" class="input-large">
							<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>
				</tr>
				<tr>
					<td class="tit">登记原因</td>
					<td colspan="3">
						<form:textarea path="djyy"   rows="2" htmlEscape="false"  readonly="true"  maxlength="200" class="input-xxlarge required"/>
						<span class="help-inline"><font color="red">*</font> </span>
					<td class="tit">产权来源</td>
					<td colspan="3">
						<form:select path="cqly" id="cqlytext" class="input-large">
							<form:option value="" label=""/>
							<form:options items="${fns:getDictList('reg_bus_cqly')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
						</form:select>
					</td>
				</tr>
				<tr>
					<td class="tit">土地使用权人</td>
					<td colspan="3">
						<form:textarea path="tdsyqr" value="${TDSYQR }" htmlEscape="false" maxlength="50" readonly="true" class="input-xxlarge "/>
					</td>
					<td class="tit">业务细类</td>
					<td>
						<form:select path="ywxl" id="ywxltext" class="input-large">
							<form:option value="" label=""/>
							<form:options items="${fns:getDictList('reg_bus_ywxl')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
						</form:select>
					</td>
				</tr>
				<tr>
					
					<td class="tit">房屋规划用途</td>
					<td>
						<form:select path="ghyt" id="ghyttext" class="input-large required">
							<form:option value="" label=""/>
							<form:options items="${fns:getDictList('reg_bus_fwyt')}" 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="fdcjyjg" htmlEscape="false"  readonly="true"  class="input-medium  number"/>万元
					</td>
					<td class="tit">套内建筑面积</td>
					<td>
						<form:input path="zyjzmj" htmlEscape="false" readonly="true" class="input-medium  number"/>
					</td>
				</tr>
				<tr>
					<td class="tit">房屋性质</td>
					<td>
						<form:select path="fwxz" id="fwxztext" class="input-large ">
							<form:option value="" label=""/>
							<form:options items="${fns:getDictList('reg_bus_fwxz')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
						</form:select>
					</td>
					<td class="tit">房屋结构</td>
					<td>
						<form:select path="fwjg" id="fwjgtext"  class="input-large ">
							<form:option value="" label=""/>
							<form:options items="${fns:getDictList('reg_bus_fwjg')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
						</form:select>
					</td>
					<td class="tit">建筑面积</td>
					<td>
						<form:input path="jzmj" readonly="true" htmlEscape="false" class="input-medium  number"/>
					</td>
				</tr>
				<tr>
					<td class="tit">独用土地面积</td>
					<td>
						<form:input path="dytdmj" htmlEscape="false" readonly="true" class="input-medium  number"/>
					</td>
					<td class="tit">分摊土地面积</td>
					<td>
						<form:input path="fttdmj" htmlEscape="false" readonly="true" class="input-medium  number"/>
					</td>
					<td class="tit">分摊建筑面积</td>
					<td>
						<form:input path="ftjzmj" htmlEscape="false" readonly="true" class="input-medium  number"/>
					</td>
				</tr>
				<tr>
					<td class="tit">土地使用起始时间</td>
					<td>
						<input name="tdsyqssj" type="text" maxlength="20" readonly="true"  class="input-medium Wdate"
						value="<fmt:formatDate value="${regBusFdcq2.tdsyqssj}" pattern="yyyy-MM-dd"/>"
						onclick="WdatePicker({dateFmt:'yyyy-MM-dd' });"/>
						
					</td>
					<td class="tit">土地使用结束时间</td>
					<td>
						<input name="tdsyjssj" type="text" maxlength="20" readonly="true"  class="input-medium Wdate"
							value="<fmt:formatDate value="${regBusFdcq2.tdsyjssj}" pattern="yyyy-MM-dd"/>"
							onclick="WdatePicker({dateFmt:'yyyy-MM-dd' });"/>
					</td>
					<td class="tit">不动产权证号</td>
					<td>
						<form:input path="bdcqzh" htmlEscape="false" readonly="true" maxlength="50" class="input-large"/>
					</td>
					
				</tr>
				<tr>
					<td class="tit">总层数</td>
					<td>
						<form:input path="zcs" htmlEscape="false" maxlength="4" readonly="true" class="input-medium  digits"/>
					</td>
					<td class="tit">所在层</td>
					<td>
						<form:input path="szc" htmlEscape="false" maxlength="4" readonly="true" class="input-medium  digits"/>
					</td>
					<td class="tit">要素代码</td>
					<td><form:input path="ysdm" htmlEscape="false" value="${YSDM}" maxlength="10" readonly="true"  class="input-medium "/></td>
				</tr>			    
				<tr>
					<td class="tit">登簿人</td>
					<td>
						<form:input path="dbr" htmlEscape="false"  readonly="true" maxlength="50" class="input-medium"/>
					</td>
					<td class="tit">竣工时间</td>
					<td>
						<input name="jgsj" type="text" maxlength="20"  readonly="readonly"  class="input-medium Wdate required"
							value="${regBusFdcq2.jgsj}"
							onclick="WdatePicker({dateFmt:'yyyy-MM-dd' });"/>
					</td>
					<td class="tit">区县代码</td>
					<td>
						<form:select path="qxdm" id="qxdmtext" class="input-large ">
							<form:option value="${QXDM}" label="${QXDMMC}"/>
							<form:options items="${fns:getDictList('reg_bus_xq')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
						</form:select>
					</td>
				</tr>			    
				<tr>
					<td class="tit">登记时间</td>
					<td>
						<!-- 更新 -->
						<c:if test="${not empty regBusFdcq2.djsj}">
							<input name="djsj" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate"
							value="<fmt:formatDate value="${regBusFdcq2.djsj}" pattern="yyyy-MM-dd HH:mm:ss"/>"
								onclick="WdatePicker({dateFmt:'yyyy-MM-dd' });"/>
						</c:if>
						<!-- 新增 -->
						<c:if test="${empty regBusFdcq2.djsj}">
							<input name="djsj" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate"
								onclick="WdatePicker({dateFmt:'yyyy-MM-dd' });"/>
						</c:if> 
					</td>
					<td class="tit">登记机构</td>
					<td>
						<form:input path="djjg"   htmlEscape="false" readonly="true" maxlength="200" class="input-medium"/>
					</td>
						<td class="tit">附记</td>
					<td >
						<form:textarea path="fj" htmlEscape="false"   readonly="true"  rows="1" maxlength="300" class="input-large "/>
					</td>
					
				</tr>
			</table>
			<div class="form-actions">
			<input id="btnCancel" class="btn" type="button" value="返 回" onclick="window.close()"/>
		</div>
		</form:form>
		</div>
	</div>
</body>
</html>