zhjZdjgmsbForm.jsp 4.07 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}/zhj/zhjZdjgmsb/">智慧局权属结构描述表列表</a></li>
		<li class="active"><a href="${ctx}/zhj/zhjZdjgmsb/form?id=${zhjZdjgmsb.id}">智慧局权属结构描述表<shiro:hasPermission name="zhj:zhjZdjgmsb:edit">${not empty zhjZdjgmsb.id?'修改':'添加'}</shiro:hasPermission><shiro:lacksPermission name="zhj:zhjZdjgmsb:edit">查看</shiro:lacksPermission></a></li>
	</ul><br/>
	<form:form id="inputForm" modelAttribute="zhjZdjgmsb" action="${ctx}/zhj/zhjZdjgmsb/save" method="post" class="form-horizontal">
		<form:hidden path="id"/>
		<sys:message content="${message}"/>		
		<div class="control-group">
			<label class="control-label">bdcdyh:</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">djqdm:</label>
			<div class="controls">
				<form:input path="djqdm" htmlEscape="false" maxlength="9" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">djqmc:</label>
			<div class="controls">
				<form:input path="djqmc" htmlEscape="false" maxlength="50" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">djzqdm:</label>
			<div class="controls">
				<form:input path="djzqdm" htmlEscape="false" maxlength="12" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">djzqmc:</label>
			<div class="controls">
				<form:input path="djzqmc" htmlEscape="false" maxlength="50" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">bdcqzh:</label>
			<div class="controls">
				<form:input path="bdcqzh" htmlEscape="false" maxlength="200" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">zl:</label>
			<div class="controls">
				<form:input path="zl" htmlEscape="false" maxlength="2000" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">zdmj:</label>
			<div class="controls">
				<form:input path="zdmj" htmlEscape="false" maxlength="50" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">qszt:</label>
			<div class="controls">
				<form:input path="qszt" htmlEscape="false" maxlength="2" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">成功标志 空无操作 0发送 1发送失败:</label>
			<div class="controls">
				<form:input path="cgbz" htmlEscape="false" maxlength="2" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">失败原因:</label>
			<div class="controls">
				<form:input path="errormsg" htmlEscape="false" maxlength="2000" class="input-xlarge "/>
			</div>
		</div>
		<div class="form-actions">
			<shiro:hasPermission name="zhj:zhjZdjgmsb: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>