⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 khtsinsertcontent.jsp

📁 客户管理系统是一个典型的数据库开发应用程序
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312"%>
<%java.util.Date date=new java.util.Date();%>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.List"%>
<%@ page import="com.domain.KhxxForm"%>
<%List list=(List)request.getAttribute("list");%>
<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.khts_qymc.value==""){
window.alert("请选择企业名称名称");
return false;
}

if(document.form.khts_tsr.value==""){
window.alert("请输入投诉人");
return false;
}

if(document.form.khts_tszt.value==""){
window.alert("请输入投诉主题");
return false;
}

if(document.form.khts_bz.value==""){
window.alert("请输入备注信息");
return false;
}

if(document.form.khts_tsnr.value==""){
window.alert("请输入具体投诉内容");
return false;
}

return true;
}
</script>
<body> 
<table width="579"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> 
  <tr> 
    <td>&nbsp;</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">&nbsp;</td> 
                <td width="9%" background="images/circle.jpg">&nbsp;</td> 
                <td width="89%" bgcolor="#FFFFFF"><span class="style1">添加投诉的具体信息</span></td> 
              </tr> 
              <tr style="line-height:2px"> 
                <td width="2%" height="5">&nbsp;</td> 
                <td height="5" colspan="2" bgcolor="#D4D0C8">&nbsp;</td> 
              </tr> 
              <tr align="center" valign="top" bgcolor="#FFFFFF"> 
                <td height="454" colspan="3"><br> 
                  <br> 
				    <form name="form" method="post" action="khtsInsertContent.do" onSubmit="return RgTest()">
                  <table width="531" border="0" cellpadding="2" cellspacing="1" bgcolor="#666666"> 
                    <tr align="center"> 
                      <td width="95" height="25" bgcolor="#ffcc33">客户投诉编号</td> 
                      <td width="154" bgcolor="#FFFFFF"><input type="hidden" name="khts_id" value="TS-<%=request.getAttribute("countID")%>">TS-<%=request.getAttribute("countID")%></td> 
                      <td width="97" bgcolor="#ffcc33">企业名称</td> 
                      <td width="164" bgcolor="#FFFFFF">
					  <select name="khts_qymc">
					  <option></option>
					  <%for(int i=0;i<list.size();i++){
KhxxForm khxxForm=(KhxxForm)list.get(i);
%>
                      <option value="<%=khxxForm.getKhxx_mc()%>"><%=khxxForm.getKhxx_mc()%></option>
					  <%}%>
			          </select></td>
                    </tr> 
                    <tr align="center"> 
                      <td height="25" bgcolor="#ffcc33">投诉人</td> 
                      <td bgcolor="#FFFFFF"><input type="text" name="khts_tsr"></td> 
                      <td bgcolor="#ffcc33">投诉主题</td> 
                      <td bgcolor="#FFFFFF"><input type="text" name="khts_tszt"></td> 
                    </tr> 
                    <tr align="center"> 
                      <td height="25" bgcolor="#ffcc33">投诉日期</td> 
                      <td bgcolor="#FFFFFF"><input type="hidden" name="khts_tsrq" value="<%=date.getYear()+1900%>年<%=date.getMonth()+1%>月<%=date.getDate()%>日"> <%=date.getYear()+1900%>年<%=date.getMonth()+1%>月<%=date.getDate()%>日</td> 
                      <td bgcolor="#ffcc33">备注</td> 
                      <td bgcolor="#FFFFFF"><input type="text" name="khts_bz"></td> 
                    </tr> 
                  </table> 
                  <p>客户投诉具体内容</p> 
                  <table width="532" height="44" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#666666"> 
                    <tr> 
                      <td width="526" height="100" align="left" valign="top" bgcolor="#FFFFFF"><textarea name="khts_tsnr" cols="73" rows="8" id="khts_tsnr"></textarea></td> 
                    </tr> 
                  </table> 
                            <input name="khts_clbf" type="hidden" value="否">
				            <input name="Khts_khmyd" type="hidden" value="否">
				            <input name="khts_tsslr" type="hidden" value="否">
                    <p>
  <input type="submit" name="Submit2" value="提交">
&nbsp;&nbsp;&nbsp;&nbsp;
                      <input type="reset" name="Submit" value="重置">
                      </p>
				    </form>                  <p>&nbsp;</p> 
            </table></td> 
        </tr> 
      </table></td> 
  </tr> 
</table> 
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -