- <%@ page contentType="text/html; charset=gb2312"%>
- <html>
- <%java.util.Date date=new java.util.Date();%>
- <%@ page import="com.domain.LxrxxForm"%>
- <%@ page import="java.sql.*"%>
- <%@ page import="java.util.List"%>
- <%List list=(List)request.getAttribute("list");%>
- <script language="JavaScript">
- function RgTest(){
- if(document.form.id.value==""){
- window.alert("请输入联系人编号");
- return false;
- }
- if(document.form.xm.value==""){
- window.alert("请输入联系人姓名");
- return false;
- }
- if(document.form.sex.value==""){
- window.alert("请输入联系人性别");
- return false;
- }
- if(document.form.age.value==""){
- window.alert("请输入联系人年龄");
- return false;
- }
- if(document.form.profession.value==""){
- window.alert("请输入联系人职业");
- return false;
- }
- if(document.form.tel.value==""){
- window.alert("请输入联系人办公电话");
- return false;
- }
- if(document.form.email.value==""){
- window.alert("请输入联系人电子邮件");
- return false;
- }
- if(document.form.sj.value==""){
- window.alert("请输入联系人手机");
- return false;
- }
- if(document.form.kh.value==""){
- window.alert("请输入是否客户联系人");
- return false;
- }
- if(document.form.bz.value==""){
- window.alert("请输入客户备注信息");
- return false;
- }
- if(document.form.grjj.value==""){
- window.alert("请输入个人简介");
- return false;
- }
- return true;
- }
- </script>
- <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>
- <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="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">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td> </td>
- </tr>
- </table>
- <%for(int i=0;i<list.size();i++){
- LxrxxForm form=(LxrxxForm)list.get(i);
- %> <form name="form" method="post" action="lxrxxUpdate.do?number=<%=form.getId()%>&manager=<%=form.getLxrxx_xxdjr()%>" onSubmit="return RgTest()">
- <table width="95%" border="1" cellspacing="0" cellpadding="0">
- <tr>
- <td width="16%" height="25" bgcolor="#FFCC00">联系人编号</td>
- <td width="33%"><div align="center"> <input type="hidden" name="id" value="<%=form.getLxrxx_id()%>"><%=form.getLxrxx_id()%>
- </div></td>
- <td width="17%" bgcolor="#FFCC00">企业名称</td>
- <td width="34%"><div align="center"><input type="text" name="mc" value="<%=form.getLxrxx_qymc()%>"></div></td>
- </tr>
- <tr>
- <td height="22" width="16%" bgcolor="#FFCC00">联系人姓名</td>
- <td width="33%" ><div align="center"><input type="text" name="xm" value="<%=form.getLxrxx_xm()%>"></div></td>
- <td width="17%" bgcolor="#FFCC00">联系人性别</td>
- <td width="34%" ><div align="center">
- <select name="sex">
- <% if(form.getLxrxx_xb().equals("男")){%>
- <option value="男">男</option>
- <option value="女">女</option><%}else{%>
- <option value="女">女</option>
- <option value="男">男</option>
- <%}%>
- </select>
- </div></td>
- </tr>
- <tr>
- <td height="22" width="16%" bgcolor="#FFCC00">出生年月</td>
- <td width="41%" ><div align="center">
- <input type="hidden" name="csny" value="<%=form.getLxrxx_csny()%>"><%=form.getLxrxx_csny()%>
- </div></td>
- <td width="17%" bgcolor="#FFCC00">联系人年龄</td>
- <td width="34%" ><div align="center"><input type="text" name="age" value="<%=form.getLxrxx_nl()%>"></div></td>
- </tr>
- <tr>
- <td height="22" width="16%" bgcolor="#FFCC00">联系人职位</td>
- <td width="33%" ><div align="center"><input type="text" name="profession" value="<%=form.getLxrxx_zw()%>"></div></td>
- <td width="17%" bgcolor="#FFCC00">联系人办公电话</td>
- <td width="34%" ><div align="center"><input type="text" name="tel" value="<%=form.getLxrxx_bgdh()%>"></div></td>
- </tr>
- <tr>
- <td height="22" width="16%" bgcolor="#FFCC00">联系人电子邮件</td>
- <td width="33%" ><div align="center"><input type="text" name="email" value="<%=form.getLxrxx_Email()%>"></div></td>
- <td width="17%" bgcolor="#FFCC00">联系人手机</td>
- <td width="34%" ><div align="center"><input type="text" name="sj" value="<%=form.getLxrxx_sj()%>"></div></td>
- </tr>
- <tr>
- <td height="22" width="16%" bgcolor="#FFCC00">更新登记日期</td>
- <td width="33%" ><div align="center"><input type="hidden" name="djrq" value="<%=date.getYear()+1900%>年<%=date.getMonth()+1%>月<%=date.getDate()%>日"><%=date.getYear()+1900%>年<%=date.getMonth()+1%>月<%=date.getDate()%>日
- </div></td>
- <td width="17%" bgcolor="#FFCC00">信息登记人</td>
- <td width="34%" ><div align="center"><input type="hidden" name="manager" value="<%=form.getLxrxx_xxdjr()%>"><%=form.getLxrxx_xxdjr()%></div></td>
- </tr>
- <tr>
- <td height="22" width="16%" bgcolor="#FFCC00">是否客户联系人</td>
- <td width="33%" ><div align="center">
- <select name="kh">
- <% if(form.getLxrxx_bs().equals("是")){%>
- <option value="是">是</option>
- <option value="否">否</option><%}else{%>
- <option value="否">否</option>
- <option value="是">是</option>
- <%}%>
- </select>
- </div></td>
- <td width="17%" bgcolor="#FFCC00">备注</td>
- <td width="34%" ><div align="center"><input type="text" name="bz" value="<%=form.getLxrxx_bz()%> "></div></td>
- </tr>
- </table>
- <table width="95%" border="1" cellspacing="0" cellpadding="0">
- <tr>
- <td height="31" bgcolor="#FFCC00">个人简介</td>
- </tr>
- </table>
- <table width="94%" height="91" border="1" cellpadding="0" cellspacing="0">
- <tr>
- <td height="89"><div align="center"><textarea name="grjj" cols="75" rows="12" id="grjj"><%=form.getLxrxx_grjj()%></textarea></div></td>
- </tr>
- </table>
- <%}%>
- <p>
- <input type="submit" name="Submit2" value="提交">
-
- <input type="reset" name="Submit" value="重置">
- </p>
- </form>
- </td>
- </tr>
- </table></td>
- </tr>
- </table>
- </body>
- </html>