updateQyxx.jsp
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:4k
源码类别:

企业管理

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <%@ page import="com.domain.CqyxxForm"%>
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  6. <title>修改区域信息</title>
  7. <style type="text/css">
  8. <!--
  9. body {
  10. background-color: #000000;
  11. margin-left: 0px;
  12. margin-top: 0px;
  13. }
  14. td{
  15. font-size:9pt;
  16. }
  17. .style1 {font-size: 11pt}
  18. -->
  19. </style>
  20. </head>
  21. <script language="JavaScript">
  22. function RgTest(){
  23. if(document.form.qymc.value==""){
  24. window.alert("请输入区域名称");
  25. document.form.qymc.focus();
  26. return false;
  27. }
  28. if(document.form.qyjb.value==""){
  29. window.alert("请输入区域级别");
  30. document.form.qyjb.focus();
  31. return false;
  32. }
  33. if(document.form.zscd.value==""){
  34. window.alert("请输入区域重视程度");
  35. document.form.zscd.focus();
  36. return false;
  37. }
  38. if(document.form.qygml.value==""){
  39. window.alert("请输入区域购买能力描述");
  40. document.form.qygml.focus();
  41. return false;
  42. }
  43. if(document.form.bz.value==""){
  44. window.alert("请输入备注");
  45. document.form.bz.focus();
  46. return false;
  47. }
  48. return true;
  49. }
  50. </script>
  51. <body> 
  52. <table width="579"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> 
  53.   <tr> 
  54.     <td>&nbsp;</td> 
  55.   </tr> 
  56. </table> 
  57. <table width="579" border="0" cellpadding="0" cellspacing="0"> 
  58.   <tr> 
  59.     <td align="left" valign="top" bgcolor="#FFFFFF"> <table width="579" height="487"  border="0" cellpadding="0" cellspacing="0"> 
  60.         <tr> 
  61.           <td align="left" valign="top" bgcolor="#FFFFFF"><table width="579" border="0" cellpadding="0" cellspacing="0"> 
  62.               <tr> 
  63.                 <td width="2%" height="28">&nbsp;</td> 
  64.                 <td width="9%" background="images/circle.jpg">&nbsp;</td> 
  65.                 <td width="89%" bgcolor="#FFFFFF"><span class="style2 style1">修改区域信息</span></td> 
  66.               </tr> 
  67.               <tr style="line-height:2px"> 
  68.                 <td width="2%" height="5">&nbsp;</td> 
  69.                 <td height="5" colspan="2" bgcolor="#D4D0C8">&nbsp;</td> 
  70.               </tr> 
  71.               <tr align="center" valign="top" bgcolor="#FFFFFF"> 
  72.                 <td height="454" colspan="3"><br> 
  73.                   <%CqyxxForm qyxxForm=(CqyxxForm)request.getAttribute("form");%> 
  74.                   <div align="center"> 
  75.                   <form name="form" method="post" action="cqyxxUpdate.do?id=<%=qyxxForm.getId()%>" onSubmit="return RgTest()"> 
  76.                     <table width="419" border="0" cellpadding="2" cellspacing="1" bgcolor="#666666"> 
  77.                       <tr> 
  78.                         <td width="120" height="28" align="right" bgcolor="#ffcc33">区域编号:</td> 
  79.                         <td width="268" bgcolor="#FFFFFF"><input name="id" type="hidden" value="<%=qyxxForm.getId()%>"> 
  80.                           <%=qyxxForm.getId()%></td> 
  81.                       </tr> 
  82.                       <tr> 
  83.                         <td height="28" align="right" bgcolor="#ffcc33">区域名称:</td> 
  84.                         <td bgcolor="#FFFFFF"><input name="qymc" type="text" value="<%=qyxxForm.getQymc()%>" size="28"></td> 
  85.                       </tr> 
  86.                       <tr> 
  87.                         <td height="28" align="right" bgcolor="#ffcc33">区域级别:</td> 
  88.                         <td bgcolor="#FFFFFF"><input name="qyjb" type="text" value="<%=qyxxForm.getQyjb()%>" size="28"></td> 
  89.                       </tr> 
  90.                       <tr> 
  91.                         <td height="28" align="right" bgcolor="#ffcc33">区域重视程度:</td> 
  92.                         <td bgcolor="#FFFFFF"><input name="zscd" type="text" value="<%=qyxxForm.getZscd()%>" size="28"></td> 
  93.                       </tr> 
  94.                       <tr> 
  95.                         <td height="28" align="right" bgcolor="#ffcc33">区域购买能力描述:</td> 
  96.                         <td bgcolor="#FFFFFF"><input name="qygml" type="text" value="<%=qyxxForm.getQygml()%>" size="28"></td> 
  97.                       </tr> 
  98.                       <tr> 
  99.                         <td height="28" align="right" bgcolor="#ffcc33">备注:</td> 
  100.                         <td bgcolor="#FFFFFF"><textarea name="bz" cols="35" rows="5"><%=qyxxForm.getBz()%></textarea></td> 
  101.                       </tr> 
  102.                     </table> 
  103.                     <input type="submit" name="Submit2" value="提交"> 
  104. &nbsp;&nbsp;&nbsp; 
  105.                     <input type="reset" name="Submit" value="重置"> 
  106.                   </form> 
  107.             </table></td> 
  108.         </tr> 
  109.       </table></td> 
  110.   </tr> 
  111. </table> 
  112. </body>
  113. </html>