【JSP开源代码栏目提醒】:网学会员为广大网友收集整理了,updateQyxx.jsp,希望对大家有所帮助!
<%@ page contentType="text/html; charset=gb2312"%>
<%@ page import="com.domain.CqyxxForm"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改区域信息</title>
<style type="text/css">
<!--
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
}
td{
font-size:9pt;
}
.style1 {font-size: 11pt}
-->
</style>
</head>
<script language="
JavaScript">
function RgTest(){
if(document.form.qymc.value==""){
window.alert("请输入区域名称");
document.form.qymc.focus();
return false;
}
if(document.form.qyjb.value==""){
window.alert("请输入区域级别");
document.form.qyjb.focus();
return false;
}
if(document.form.zscd.value==""){
window.alert("请输入区域重视程度");
document.form.zscd.focus();
return false;
}
if(document.form.qygml.value==""){
window.alert("请输入区域购买能力描述");
document.form.qygml.focus();
return false;
}
if(document.form.bz.value==""){
window.alert("请输入备注");
document.form.bz.focus();
return false;
}
return true;
}
</script>
<body>
<table width="579" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td> </td>
</tr>
</table>
<table width="579" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top" bgcolor="#FFFFFF"> <table width="579" height="487" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top" bgcolor="#FFFFFF"><table width="579" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="2%" height="28"> </td>
<td width="9%" background="images/circle.jpg"> </td>
<td width="89%" bgcolor="#FFFFFF"><span class="style2 style1">修改区域信息</span></td>
</tr>
<tr style="line-height:2px">
<td width="2%" height="5"> </td>
<td height="5" colspan="2" bgcolor="#D4D0C8"> </td>
</tr>
<tr align="center" valign="top" bgcolor="#FFFFFF">
<td height="454" colspan="3"><br>
<%CqyxxForm qyxxForm=(CqyxxForm)request.getAttribute("form");%>
<div align="center">
<form name="form" method="post" action="cqyxxUpdate.do?id=<%=qyxxForm.getId()%>" onSubmit="return RgTest()">
<table width="419" border="0" cellpadding="2" cellspacing="1" bgcolor="#666666">
<tr>
<td width="120" height="28" align="right" bgcolor="#ffcc33">区域编号:</td>
<td width="268" bgcolor="#FFFFFF"><input name="id" type="hidden" value="<%=qyxxForm.getId()%>">
<%=qyxxForm.getId()%></td>
</tr>
<tr>
<td height="28" align="right" bgcolor="#ffcc33">区域名称:</td>
<td bgcolor="#FFFFFF"><input name="qymc" type="text" value="<%=qyxxForm.getQymc()%>" size="28"></td>
</tr>
<tr>
<td height="28" align="right" bgcolor="#ffcc33">区域级别:</td>
<td bgcolor="#FFFFFF"><input name="qyjb" type="text" value="<%=qyxxForm.getQyjb()%>" size="28"></td>
</tr>
<tr>
<td height="28" align="right" bgcolor="#ffcc33">区域重视程度:</td>
<td bgcolor="#FFFFFF"><input name="zscd" type="text" value="<%=qyxxForm.getZscd()%>" size="28"></td>
</tr>
<tr>
<td height="28" align="right" bgcolor="#ffcc33">区域购买能力描述:</td>
<td bgcolor="#FFFFFF"><input name="qygml" type="text" value="<%=qyxxForm.getQygml()%>" size="28"></td>
</tr>
<tr>
<td height="28" align="right" bgcolor="#ffcc33">备注:</td>
<td bgcolor="#FFFFFF"><textarea name="bz" cols="35" rows="5"><%=qyxxForm.getBz()%></textarea></td>
</tr>
</table>
<input type="submit" name="Submit2" value="提交">
<input type="reset" name="Submit" value="重置">
</form>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>