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

企业管理

开发平台:

Java

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