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

📄 insertkhcpxzcontent.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.cpxx_mc.value==""){
window.alert("请输入产品销售名称");
return false;
}
if(document.form.cpxx_cpdj.value==""){
window.alert("请输入产品价格名称");
return false;
}
if(document.form.cpxx_cpdj.value==""){
window.alert("请输入产品价格");
return false;
}
if(isNaN(document.form.cpdj.value)){
window.alert("请输入填写数字");
return false;
}
if(document.form.cpxx_khId.value==""){
window.alert("请选择客户名称");
return false;
}

if(document.form.cpxx_bz.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> 
                  <form name="form" method="post" action="khcpxzInsert.do"  onSubmit="return RgTest()"> 
                    <table width="515" border="0" cellpadding="2" cellspacing="1" bgcolor="#666666"> 
                      <tr align="center"> 
                        <td width="86" height="24" align="right" bgcolor="#ffcc33"><div align="center">产品销售编号</div></td> 
                        <td width="146" align="center" bgcolor="#FFFFFF"><input type="hidden" name="cpxx_id"  value="XS-<%=request.getAttribute("countID")%>">XS-<%=request.getAttribute("countID")%></td> 
                        <td width="85" align="center" bgcolor="#ffcc33"> 产品销售名称</td> 
                        <td width="177" bgcolor="#FFFFFF"><input type="text" name="cpxx_mc" ></td>
                      </tr> 
                      <tr align="center"> 
                        <td height="24" align="right" bgcolor="#ffcc33"><div align="center">产品价格</div></td> 
                        <td bgcolor="#FFFFFF"><input name="cpxx_cpdj" type="text" >
                        元</td>
                        <td align="center" bgcolor="#ffcc33">产品销售日期</td> 
                        <td bgcolor="#FFFFFF"><input type="hidden" name="cpxx_xsrp" value="<%=date.getYear()+1900%>年<%=date.getMonth()+1%>月<%=date.getDate()%>日"><%=date.getYear()+1900%>年<%=date.getMonth()+1%>月<%=date.getDate()%>日</td>
                      </tr> 
                      <tr align="center"> 
					    
                        <td height="24" align="right" bgcolor="#ffcc33"><div align="center">销售的客户名称</div></td> 
                        <td bgcolor="#FFFFFF">
						<select name="cpxx_khId">
						<option></option>
						<%for(int i=0;i<list.size();i++){
KhxxForm khxxForm=(KhxxForm)list.get(i);
%>
						<option value="<%=khxxForm.getKhxx_id()%>"><%=khxxForm.getKhxx_mc()%></option>
						<%}%></select>
						
						</td>
                        <td align="center" bgcolor="#ffcc33"></td> 
                        <td bgcolor="#FFFFFF"></td>
                       
				      </tr> 
                      <tr> 
                        <td height="24" align="right" bgcolor="#ffcc33"><div align="center">备注信息</div></td> 
                        <td colspan="3" bgcolor="#FFFFFF"><div align="center"><textarea name="cpxx_bz" cols="40" rows="8" id="cpxx_bz"></textarea></div></td>
                      </tr> 
                    </table> 
                    <p>
                      <input type="submit" name="Submit" value="提交">
					  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      <input type="reset" name="Submit2" value="重置">
</p>
                  </form>                  
              </table></td> 
        </tr> 
      </table></td> 
  </tr> 
</table> 
</body>
</html>

⌨️ 快捷键说明

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