- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="com.domain.KhxxForm"%>
- <%@ page import="com.domain.CkhmydForm"%>
- <%@ page import="java.sql.*"%>
- <%@ page import="java.util.List"%>
- <%java.util.Date date=new java.util.Date();%>
- <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.fkbt.value==""){
- window.alert("请输入客户反馈标题");
- document.form.fkbt.focus();
- return false;
- }
- if(document.form.fkrq.value==""){
- window.alert("请输入客户反馈日期");
- document.form.fkrq.focus();
- return false;
- }
- if(document.form.khmc.value==""){
- window.alert("请输入客户名称");
- document.form.khmc.focus();
- return false;
- }
- if(document.form.khmyd.value==""){
- window.alert("请输入客户满意程度");
- document.form.khmyd.focus();
- return false;
- }
- if(document.form.fkslr.value==""){
- window.alert("请输入反馈意见受理人");
- document.form.fkslr.focus();
- return false;
- }
- if(document.form.fknr.value==""){
- window.alert("请输入客户反馈具体内容");
- document.form.fknr.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>
- <form name="form" method="post" action="skhfkInsert.do" onSubmit="return RgTest()">
- <table width="546" border="0" cellpadding="2" cellspacing="1" bgcolor="#666666">
- <tr>
- <td width="89" height="25" bgcolor="#FFcc33">客户反馈标题</td>
- <td width="159" bgcolor="#FFFFFF"><input name="fkbt" type="text" size="22" ></td>
- <td width="80" bgcolor="#ffcc33">客户反馈日期</td>
- <td width="197" bgcolor="#FFFFFF"><input type="hidden" name="fkrq" value="<%=date.getYear()+1900%>年
- <%=date.getMonth()+1%>月
- <%=date.getDate()%>日
- <%=date.getHours()%>时
- <%=date.getMinutes()%>分">
- <%=date.getYear()+1900%>年 <%=date.getMonth()+1%>月 <%=date.getDate()%>日 <%=date.getHours()%>时 <%=date.getMinutes()%>分 </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFcc33">客户名称</td>
- <td bgcolor="#FFFFFF"><select name="khmc">
- <option value="">请选择客户名称</option>
- <%List khxx=(List)request.getAttribute("khxxForm");
- for(int i=0;i<khxx.size();i++){
- KhxxForm khxxForm =(KhxxForm)khxx.get(i);%>
- <option value="<%=khxxForm.getKhxx_mc()%>"><%=khxxForm.getKhxx_mc()%></option>
- <%}%>
- </select></td>
- <td bgcolor="#ffcc33">客户满意程度</td>
- <td bgcolor="#FFFFFF"><select name="khmyd">
- <option value="">请选择客户满意程度</option>
- <%List khmyd=(List)request.getAttribute("ckhmydForm");
- for(int i=0;i<khmyd.size();i++){
- CkhmydForm khmydForm=(CkhmydForm)khmyd.get(i);
- %>
- <option value="<%=khmydForm.getKhmyd_myd()%>"><%=khmydForm.getKhmyd_myd()%></option>
- <%}%>
- </select></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFcc33">反馈意见受理人</td>
- <td bgcolor="#FFFFFF"><input name="fkslr" type="text" size="22"></td>
- <td bgcolor="#ffcc33">备注</td>
- <td bgcolor="#FFFFFF"><input name="bz" type="text" size="22" ></td>
- </tr>
- </table>
- <p>
- <input type="hidden" name="id" value="FK-<%=request.getAttribute("changeType")%>">
- 客户反馈具体内容</p>
- <table width="546" border="0" cellpadding="2" cellspacing="1" bgcolor="#666666">
- <tr>
- <td width="540" height="189" bgcolor="#FFFFFF"> <textarea name="fknr" cols="75" rows="12" id="fknr"></textarea></td>
- </tr>
- </table>
- <br>
- <input type="submit" name="Submit2" value="提交">
-
- <input type="reset" name="Submit" value="重置">
- <a href="skhfkSelect.do">返回</a> <br>
- </form>
- </table></td>
- </tr>
- </table></td>
- </tr>
- </table>
- </body>
- </html>