b26e77dac3806b1c3c2ca52efa105a16420cc81d.svn-base 8.47 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();
					winBack();
				},
				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);
					}
				}
			});
		});
		function winBack()
		{ 
		     if(window.opener) {
	            	fWindowText1 = window.opener.document.getElementById("qlrtext"); 
	            	fWindowText1.value = document.getElementById("qlr").value; 
	            	window.close(); 
		     } 
		}
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li><a href="${ctx}/reg/bus/regBusQlr/">权利人信息列表</a></li>
		<li class="active"><a href="${ctx}/reg/bus/regBusQlr/form?id=${regBusQlr.id}">权利人信息<shiro:hasPermission name="reg:bus:regBusQlr:edit">${not empty regBusQlr.id?'修改':'添加'}</shiro:hasPermission><shiro:lacksPermission name="reg:bus:regBusQlr:edit">查看</shiro:lacksPermission></a></li>
	</ul><br/>
	<form:form id="inputForm" modelAttribute="regBusQlr" action="${ctx}/reg/bus/regBusQlr/save" method="post" class="form-horizontal">
		<form:hidden path="id"/>
		<sys:message content="${message}"/>		
		<div class="control-group">
			<label class="control-label">要素代码:</label>
			<div class="controls">
				<form:input path="ysdm" htmlEscape="false" value="${YSDM}" maxlength="10" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">不动产单元号:</label>
			<div class="controls">
				<form:input path="bdcdyh" htmlEscape="false" maxlength="28" class="input-xlarge required"/>
				<span class="help-inline"><font color="red">*</font> </span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">顺序号:</label>
			<div class="controls">
				<form:input path="sxh" htmlEscape="false" maxlength="6" class="input-xlarge  digits"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">权利人名称:</label>
			<div class="controls">
				<form:input path="qlrmc" id="qlr" htmlEscape="false" maxlength="100" class="input-xlarge required"/>
				<span class="help-inline"><font color="red">*</font> </span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">不动产权证号:</label>
			<div class="controls">
				<form:input path="bdcqzh" htmlEscape="false" maxlength="50" class="input-xlarge required"/>
				<span class="help-inline"><font color="red">*</font> </span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">权证印刷序列号:</label>
			<div class="controls">
				<form:input path="qzysxlh" htmlEscape="false" maxlength="100" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">编是否持证人:</label>
			<div class="controls">
				<form:select path="sfczr" class="input-xlarge required">
					<form:option value="" label=""/>
					<form:options items="${fns:getDictList('yes_no')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
				</form:select>
				<span class="help-inline"><font color="red">*</font> </span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">证件种类:</label>
			<div class="controls">
				<form:select path="zjzl" class="input-xlarge ">
					<form:option value="" label=""/>
					<form:options items="${fns:getDictList('reg_bus_zjlx')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
				</form:select>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">证件号:</label>
			<div class="controls">
				<form:input path="zjh" htmlEscape="false" maxlength="50" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">发证机关:</label>
			<div class="controls">
				<form:input path="fzjg" htmlEscape="false" maxlength="200" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">所属行业:</label>
			<div class="controls">
				<form:input path="sshy" htmlEscape="false" maxlength="6" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">国家/地区:</label>
			<div class="controls">
				<form:select path="gj" class="input-xlarge ">
					<form:option value="" label=""/>
					<form:options items="${fns:getDictList('reg_bus_gjhdq')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
				</form:select>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">户籍所在省市:</label>
			<div class="controls">
				<form:input path="hjszss"  htmlEscape="false" maxlength="200" class="input-xlarge "/>
				<!--<form:select path="hjszss" class="input-xlarge ">
					<form:option value="" label=""/>
					<form:options items="${fns:getDictList('reg_bus_ss')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
				</form:select>-->
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">性别:</label>
			<div class="controls">
				<form:select path="xb" class="input-xlarge ">
					<form:option value="" label=""/>
					<form:options items="${fns:getDictList('sex')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
				</form:select>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">电话:</label>
			<div class="controls">
				<form:input path="dh" htmlEscape="false" maxlength="50" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">地址:</label>
			<div class="controls">
				<form:textarea path="dz" htmlEscape="false" rows="4" maxlength="200" class="input-xxlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">邮编:</label>
			<div class="controls">
				<form:input path="yb" htmlEscape="false" maxlength="10" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">工作单位:</label>
			<div class="controls">
				<form:input path="gzdw" htmlEscape="false" maxlength="100" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">电子邮件:</label>
			<div class="controls">
				<form:input path="dzyj" htmlEscape="false" maxlength="50" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">权利人类型:</label>
			<div class="controls">
				<form:select path="qlrlx" class="input-xlarge ">
					<form:option value="" label=""/>
					<form:options items="${fns:getDictList('reg_bus_qllx')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
				</form:select>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">权利比例:</label>
			<div class="controls">
				<form:input path="qlbl" htmlEscape="false" maxlength="100" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">共有方式:</label>
			<div class="controls">
				<form:select path="gyfs" class="input-xlarge ">
					<form:option value="" label=""/>
					<form:options items="${fns:getDictList('reg_bus_gyfs')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
				</form:select>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">共有情况:</label>
			<div class="controls">
				<form:textarea path="gyqk" htmlEscape="false" rows="4" maxlength="500" class="input-xxlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">备注:</label>
			<div class="controls">
				<form:textarea path="bz" htmlEscape="false" rows="4" maxlength="300" class="input-xxlarge "/>
			</div>
		</div>
		<div class="form-actions">
			<shiro:hasPermission name="reg:bus:regBusQlr:edit"><input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"/>&nbsp;</shiro:hasPermission>
			<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
		</div>
	</form:form>
</body>
</html>