📄 clsmngadd.jsp
字号:
<%@ page language = "java" contentType = "text/html; charset=gb2312"%>
<%@ page import="com.huawei.icd30.agt.util.OperatorFlagCode"%>
<%
String fclassid = (String)request.getAttribute("classid");
String ftitle = (String)request.getAttribute("title");
%>
<html>
<head>
<title>类别添加</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript" src="./agt/public/js/clsmng.js"></script>
<script language="javascript">
function mySubmit1()
{
if (document.forms[0].title.value == "")
{
alert("类别名称不能为空,请输入!");
return false;
}
else if (document.forms[0].describle.value.length > 50)
{
alert("类别描述应不多于50个字符,您的输入超长,请删减!");
return false;
}
document.forms[0].submit();
}
function back()
{
history.go(-1);
}
</script>
<link href="/agt/public/css/gb.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="B7D5F9">
<form action="/ClsMngOperatorAction.do" method="post">
<table width="539" border="0" cellpadding="3" cellspacing="1" class="table-cs1">
<tr>
<td width="72" height="25" align="center" class="td-cs1">父类别名称</td>
<td width="452" class="td-cs2"> <input name ="fathertitle" type="text" disabled class="input2" value="<%=ftitle%>" size="35" ></td>
</tr>
<tr>
<td height="25" align="center" class="td-cs1">类别名称</td>
<td class="td-cs2"> <input name ="title" type="text" class="input2" value="" size="35" maxlength=25></td>
</tr>
<tr>
<td align="center" valign="top" class="td-cs1">类别描述</td>
<td class="td-cs2"> <textarea name ="describle" cols="50" rows="6" class="remark" value=""></textarea></td>
</tr>
</table>
<table width="539" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="35" align="center">
<table width="40%" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<td><input name="save" type="image" onclick="mySubmit1();return false;" src="/agt/public/images/save.gif" width="82" height="22" border="0" onmouseover="this.src='/agt/public/images/'+ this.name + '_2.gif';" onmouseout="this.src='/agt/public/images/'+ this.name + '.gif'"></td>
<td><input name="back" type="image" onclick="back();return false;" src="/agt/public/images/back.gif" width="82" height="22" border="0" onmouseover="this.src='/agt/public/images/'+ this.name + '_2.gif';" onmouseout="this.src='/agt/public/images/'+ this.name + '.gif'"></td>
</tr>
</table>
</td>
</tr>
</table>
<input type="hidden" name="fatherid" value="<%=fclassid%>">
<input type="hidden" name="operatorFlag" value="<%=OperatorFlagCode.CLSMNG_SAVE%>">
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -