regBusYwrxxForm.jsp 7.97 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);
					}
				}
			});
		});
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li><a href="${ctx}/reg/bus/regBusYwrxx/">义务人信息列表</a></li>
		<li class="active"><a href="${ctx}/reg/bus/regBusYwrxx/form?id=${regBusYwrxx.id}">义务人信息<shiro:hasPermission name="reg:bus:regBusYwrxx:edit">${not empty regBusYwrxx.id?'修改':'添加'}</shiro:hasPermission><shiro:lacksPermission name="reg:bus:regBusYwrxx:edit">查看</shiro:lacksPermission></a></li>
	</ul><br/>
	<form:form id="inputForm" modelAttribute="regBusYwrxx" action="${ctx}/reg/bus/regBusYwrxx/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" maxlength="10" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">业务号:</label>
			<div class="controls">
				<form:input path="ywh" htmlEscape="false" maxlength="20" 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 "/>
			</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 "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">是否持证人:</label>
			<div class="controls">
				<form:select path="sfczr" class="input-xlarge ">
					<form:option value="" label=""/>
					<form:options items="${fns:getDictList('yes_no')}" 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="ywrmc" htmlEscape="false" maxlength="100" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">义务人证件种类:</label>
			<div class="controls">
				<form:select path="ywrzjzl" 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="ywrzjh" htmlEscape="false" maxlength="50" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">义务人通信地址:</label>
			<div class="controls">
				<form:input path="ywrtxdz" htmlEscape="false" maxlength="200" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">义务人邮编:</label>
			<div class="controls">
				<form:input path="ywryb" htmlEscape="false" maxlength="10" 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: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: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_qlrlx')}" 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="fddbrfzr" htmlEscape="false" maxlength="100" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">法定代表人或负责人联系电话:</label>
			<div class="controls">
				<form:input path="fddbrfzrdh" htmlEscape="false" maxlength="50" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">代理人姓名:</label>
			<div class="controls">
				<form:input path="dlrmc" htmlEscape="false" maxlength="100" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">代理人联系电话:</label>
			<div class="controls">
				<form:input path="dlrdh" htmlEscape="false" maxlength="50" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">代理机构名称:</label>
			<div class="controls">
				<form:input path="dljgmc" htmlEscape="false" maxlength="200" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">备注:</label>
			<div class="controls">
				<form:input path="bz" htmlEscape="false" maxlength="300" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">备注信息:</label>
			<div class="controls">
				<form:textarea path="remarks" htmlEscape="false" rows="4" maxlength="255" class="input-xxlarge "/>
			</div>
		</div>
		<div class="form-actions">
			<shiro:hasPermission name="reg:bus:regBusYwrxx: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>