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

企业管理

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <%@ page import="com.domain.KhxxForm"%>
  3. <%@ page import="com.domain.CkhmydForm"%>
  4. <%@ page import="java.sql.*"%>
  5. <%@ page import="java.util.List"%>
  6. <%java.util.Date date=new java.util.Date();%>
  7. <html>
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  10. <title>添加反馈的具体信息</title>
  11. <style type="text/css">
  12. <!--
  13. body {
  14. background-color: #000000;
  15. margin-left: 0px;
  16. margin-top: 0px;
  17. }
  18. td{
  19. font-size:9pt;
  20. }
  21. .style1 {font-size: 11pt}
  22. -->
  23. </style>
  24. </head>
  25. <script language="JavaScript">
  26. function RgTest(){
  27. if(document.form.fkbt.value==""){
  28. window.alert("请输入客户反馈标题");
  29. document.form.fkbt.focus();
  30. return false;
  31. }
  32. if(document.form.fkrq.value==""){
  33. window.alert("请输入客户反馈日期");
  34. document.form.fkrq.focus();
  35. return false;
  36. }
  37. if(document.form.khmc.value==""){
  38. window.alert("请输入客户名称");
  39. document.form.khmc.focus();
  40. return false;
  41. }
  42. if(document.form.khmyd.value==""){
  43. window.alert("请输入客户满意程度");
  44. document.form.khmyd.focus();
  45. return false;
  46. }
  47. if(document.form.fkslr.value==""){
  48. window.alert("请输入反馈意见受理人");
  49. document.form.fkslr.focus();
  50. return false;
  51. }
  52. if(document.form.fknr.value==""){
  53. window.alert("请输入客户反馈具体内容");
  54. document.form.fknr.focus();
  55. return false;
  56. }
  57. return true;
  58. }
  59. </script>
  60. <body> 
  61. <table width="579"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> 
  62.   <tr> 
  63.     <td>&nbsp;</td> 
  64.   </tr> 
  65. </table> 
  66. <table width="579" border="0" cellpadding="0" cellspacing="0"> 
  67.   <tr> 
  68.     <td align="left" valign="top" bgcolor="#FFFFFF"> <table width="579" height="487"  border="0" cellpadding="0" cellspacing="0"> 
  69.         <tr> 
  70.           <td align="left" valign="top" bgcolor="#FFFFFF"><table width="579" border="0" cellpadding="0" cellspacing="0"> 
  71.               <tr> 
  72.                 <td width="2%" height="28">&nbsp;</td> 
  73.                 <td width="9%" background="images/circle.jpg">&nbsp;</td> 
  74.                 <td width="89%" bgcolor="#FFFFFF"><span class="style2 style1">添加反馈的具体信息</span></td> 
  75.               </tr> 
  76.               <tr style="line-height:2px"> 
  77.                 <td width="2%" height="5">&nbsp;</td> 
  78.                 <td height="5" colspan="2" bgcolor="#D4D0C8">&nbsp;</td> 
  79.               </tr> 
  80.               <tr align="center" valign="top" bgcolor="#FFFFFF"> 
  81.                 <td height="454" colspan="3"><br> 
  82.                   <form name="form" method="post" action="skhfkInsert.do" onSubmit="return RgTest()"> 
  83.                     <table width="546" border="0" cellpadding="2" cellspacing="1" bgcolor="#666666"> 
  84.                       <tr> 
  85.                         <td width="89" height="25" bgcolor="#FFcc33">客户反馈标题</td> 
  86.                         <td width="159" bgcolor="#FFFFFF"><input name="fkbt" type="text" size="22" ></td> 
  87.                         <td width="80" bgcolor="#ffcc33">客户反馈日期</td> 
  88.                         <td width="197" bgcolor="#FFFFFF"><input type="hidden" name="fkrq" value="<%=date.getYear()+1900%>年
  89. <%=date.getMonth()+1%>月
  90. <%=date.getDate()%>日
  91. <%=date.getHours()%>时
  92. <%=date.getMinutes()%>分">
  93.                         <%=date.getYear()+1900%>年 <%=date.getMonth()+1%>月 <%=date.getDate()%>日 <%=date.getHours()%>时 <%=date.getMinutes()%>分 </td> 
  94.                       </tr> 
  95.                       <tr> 
  96.                         <td height="25" bgcolor="#FFcc33">客户名称</td> 
  97.                         <td bgcolor="#FFFFFF"><select name="khmc"> 
  98.                             <option value="">请选择客户名称</option> 
  99.                             <%List khxx=(List)request.getAttribute("khxxForm");
  100. for(int i=0;i<khxx.size();i++){
  101. KhxxForm khxxForm =(KhxxForm)khxx.get(i);%> 
  102.                             <option value="<%=khxxForm.getKhxx_mc()%>"><%=khxxForm.getKhxx_mc()%></option> 
  103.                             <%}%> 
  104.                           </select></td> 
  105.                         <td bgcolor="#ffcc33">客户满意程度</td> 
  106.                         <td bgcolor="#FFFFFF"><select name="khmyd"> 
  107.                             <option value="">请选择客户满意程度</option> 
  108.                             <%List khmyd=(List)request.getAttribute("ckhmydForm");
  109. for(int i=0;i<khmyd.size();i++){
  110. CkhmydForm khmydForm=(CkhmydForm)khmyd.get(i);
  111. %> 
  112.                             <option value="<%=khmydForm.getKhmyd_myd()%>"><%=khmydForm.getKhmyd_myd()%></option> 
  113.                             <%}%> 
  114.                           </select></td> 
  115.                       </tr> 
  116.                       <tr> 
  117.                         <td height="25" bgcolor="#FFcc33">反馈意见受理人</td> 
  118.                         <td bgcolor="#FFFFFF"><input name="fkslr" type="text" size="22"></td> 
  119.                         <td bgcolor="#ffcc33">备注</td> 
  120.                         <td bgcolor="#FFFFFF"><input name="bz" type="text" size="22" ></td> 
  121.                       </tr> 
  122.                     </table> 
  123.                     <p> 
  124.                       <input type="hidden" name="id" value="FK-<%=request.getAttribute("changeType")%>"> 
  125.                       客户反馈具体内容</p> 
  126.                     <table width="546" border="0" cellpadding="2" cellspacing="1" bgcolor="#666666"> 
  127.                       <tr> 
  128.                         <td width="540" height="189" bgcolor="#FFFFFF"> <textarea name="fknr" cols="75" rows="12" id="fknr"></textarea></td> 
  129.                       </tr> 
  130.                     </table> 
  131.                     <br>
  132.                     <input type="submit" name="Submit2" value="提交"> 
  133. &nbsp;&nbsp;&nbsp; 
  134.                     <input type="reset" name="Submit" value="重置"> 
  135. &nbsp;&nbsp;&nbsp;<a href="skhfkSelect.do">返回</a> <br>
  136.                   </form> 
  137.             </table></td> 
  138.         </tr> 
  139.       </table></td> 
  140.   </tr> 
  141. </table> 
  142. </body>
  143. </html>