- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="com.domain.KhxxForm"%>
- <%@ page import="com.domain.CqylxForm"%>
- <%@ page import="com.domain.CqyxzForm"%>
- <%@ page import="com.domain.CqyzxForm"%>
- <%@ page import="com.domain.CbankForm"%>
- <%@ page import="com.domain.CkhjbForm"%>
- <%@ page import="java.sql.*"%>
- <%@ page import="java.util.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.mc.value==""){
- window.alert("请输入客户名称");
- document.form.mc.focus();
- return false;
- }
- if(document.form.qyxz.value==""){
- window.alert("请输入企业性质");
- document.form.qyxz.focus();
- return false;
- }
- if(document.form.qylx.value==""){
- window.alert("请输入企业类型");
- document.form.qylx.focus();
- return false;
- }
- if(document.form.qyzx.value==""){
- window.alert("请输入企业资信");
- document.form.qyzx.focus();
- return false;
- }
- if(document.form.qydz.value==""){
- window.alert("请输入企业地址");
- document.form.qydz.focus();
- return false;
- }
- if(document.form.szsf.value==""){
- window.alert("请输入所属省份");
- document.form.szsf.focus();
- return false;
- }
- if(document.form.gsyb.value==""){
- window.alert("请输入公司邮编");
- document.form.gsyb.focus();
- return false;
- }
- if(document.form.szcs.value==""){
- window.alert("请输入所属城市");
- document.form.szcs.focus();
- return false;
- }
- if(document.form.frdb.value==""){
- window.alert("请输入法人代表");
- document.form.frdb.focus();
- return false;
- }
- if(document.form.nsh.value==""){
- window.alert("请输入纳税号");
- document.form.nsh.focus();
- return false;
- }
- if(document.form.khyh.value==""){
- window.alert("请输入开户银行");
- document.form.khyh.focus();
- return false;
- }
- if(document.form.yhzh.value==""){
- window.alert("请输入开户银行账号");
- document.form.yhzh.focus();
- return false;
- }
- if(document.form.gswz.value==""){
- window.alert("请输入公司网址");
- document.form.gswz.focus();
- return false;
- }
- if(document.form.iCcard.value==""){
- window.alert("请输入客户IC卡号");
- document.form.iCcard.focus();
- return false;
- }
- if(document.form.gsdh.value==""){
- window.alert("请输入公司电话");
- document.form.gsdh.focus();
- return false;
- }
- if(document.form.gscz.value==""){
- window.alert("请输入公司传真");
- document.form.gscz.focus();
- return false;
- }
- if(document.form.lxr.value==""){
- window.alert("请输入主要联系人");
- document.form.lxr.focus();
- return false;
- }
- if(document.form.lxrdh.value==""){
- window.alert("请输入联系人电话");
- document.form.lxrdh.focus();
- return false;
- }
- if(document.form.khjb.value==""){
- window.alert("请输入客户级别");
- document.form.khjb.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>
- <%KhxxForm form=(KhxxForm)request.getAttribute("khxxform");%>
- <form name="form" method="post" action="khxxUpdate.do?id=<%=form.getKhxx_id()%>" onSubmit="return RgTest()">
- <table width="517" border="0" cellpadding="2" cellspacing="1" bgcolor="#666666">
- <tr>
- <td width="74" height="24" align="left" bgcolor="#ffcc33">客户编号</td>
- <td width="158" bgcolor="#FFFFFF"><%=form.getKhxx_id()%></td>
- <td width="73" align="left" bgcolor="#ffcc33">客户名称</td>
- <td width="191" bgcolor="#FFFFFF"><input type="text" name="mc" value="<%=form.getKhxx_mc()%>"></td>
- </tr>
- <tr>
- <td height="24" align="left" bgcolor="#ffcc33">企业性质</td>
- <td bgcolor="#FFFFFF"><select name="qyxz">
- <option value="">请选择企业性质</option>
- <%List qyxzlist=(List)request.getAttribute("qyxz");
- for(int i=0;i<qyxzlist.size();i++){
- CqyxzForm qyxz=(CqyxzForm)qyxzlist.get(i);
- %>
- <option value="<%=qyxz.getQyxz_xzmc()%>"><%=qyxz.getQyxz_xzmc()%></option>
- <%}%> </select></td>
- <td align="left" bgcolor="#ffcc33">企业类型</td>
- <td bgcolor="#FFFFFF"><select name="qylx">
- <option value="">请选择企业类型</option>
- <%List qylxlist=(List)request.getAttribute("qylx");
- for(int i=0;i<qylxlist.size();i++){
- CqylxForm qylx=(CqylxForm)qylxlist.get(i);
- %>
- <option value="<%=qylx.getQylx_lxmc()%>"><%=qylx.getQylx_lxmc()%></option>
- <%}%> </select></td>
- </tr>
- <tr>
- <td height="24" align="left" bgcolor="#ffcc33">企业资信</td>
- <td bgcolor="#FFFFFF"><select name="qyzx">
- <option value="">请选择企业资信</option>
- <%List qyzxlist=(List)request.getAttribute("qyzx");
- for(int i=0;i<qyzxlist.size();i++){
- CqyzxForm qyzx=(CqyzxForm)qyzxlist.get(i);
- %>
- <option value="<%=qyzx.getQyzx_zxjb()%>"><%=qyzx.getQyzx_zxjb()%></option>
- <%}%> </select></td>
- <td align="left" bgcolor="#ffcc33">企业地址</td>
- <td bgcolor="#FFFFFF"><input type="text" name="qydz" value="<%=form.getKhxx_qydz()%>"></td>
- </tr>
- <tr>
- <td height="24" align="left" bgcolor="#ffcc33">所属省份</td>
- <td bgcolor="#FFFFFF"><input name="szsf" type="text" value="<%=form.getKhxx_szsf()%>" size="20"></td>
- <td align="left" bgcolor="#ffcc33">公司邮编</td>
- <td bgcolor="#FFFFFF"><input type="text" name="gsyb" value="<%=form.getKhxx_gsyb()%>"></td>
- </tr>
- <tr>
- <td height="24" align="left" bgcolor="#ffcc33">所属城市</td>
- <td bgcolor="#FFFFFF"><input name="szcs" type="text" value="<%=form.getKhxx_szcs()%>" size="20"></td>
- <td align="left" bgcolor="#ffcc33">法人代表</td>
- <td bgcolor="#FFFFFF"><input type="text" name="frdb" value="<%=form.getKhxx_frdb()%>"></td>
- </tr>
- <tr>
- <td height="24" align="left" bgcolor="#ffcc33">纳税号</td>
- <td bgcolor="#FFFFFF"><input name="nsh" type="text" value="<%=form.getKhxx_nsh()%>" size="20"></td>
- <td align="left" bgcolor="#ffcc33">开户银行</td>
- <td bgcolor="#FFFFFF"><select name="khyh">
- <option value="">请选择开户银行</option>
- <%List banklist=(List)request.getAttribute("bank");
- for(int i=0;i<banklist.size();i++){
- CbankForm bank=(CbankForm)banklist.get(i);
- %>
- <option value="<%=bank.getBank_name()%>"><%=bank.getBank_name()%></option>
- <%}%> </select></td>
- </tr>
- <tr>
- <td height="24" align="left" bgcolor="#ffcc33">开户银行账号</td>
- <td bgcolor="#FFFFFF"><input name="yhzh" type="text" value="<%=form.getKhxx_yhzh()%>" size="20"></td>
- <td align="left" bgcolor="#ffcc33">公司网址</td>
- <td bgcolor="#FFFFFF"><input type="text" name="gswz" value="<%=form.getKhxx_gswz()%>"></td>
- </tr>
- <tr>
- <td height="24" align="left" bgcolor="#ffcc33">客户IC卡号</td>
- <td bgcolor="#FFFFFF"><input name="iCcard" type="text" value="<%=form.getKhxx_ICcard()%>" size="20"></td>
- <td align="left" bgcolor="#ffcc33">公司电话</td>
- <td bgcolor="#FFFFFF"><input type="text" name="gsdh" value="<%=form.getKhxx_gsdh()%>"></td>
- </tr>
- <tr>
- <td height="24" align="left" bgcolor="#ffcc33">公司传真</td>
- <td bgcolor="#FFFFFF"><input name="gscz" type="text" value="<%=form.getKhxx_gscz()%>" size="20"></td>
- <td align="left" bgcolor="#ffcc33">主要联系人</td>
- <td bgcolor="#FFFFFF"><input type="text" name="lxr" value="<%=form.getKhxx_lxr()%>"></td>
- </tr>
- <tr>
- <td height="24" align="left" bgcolor="#ffcc33">联系人电话</td>
- <td bgcolor="#FFFFFF"><input name="lxrdh" type="text" value="<%=form.getKhxx_lxrdh()%>" size="20"></td>
- <td align="left" bgcolor="#ffcc33">客户级别</td>
- <td bgcolor="#FFFFFF"><select name="khjb">
- <option value="">请选择客户级别</option>
- <%List khjblist=(List)request.getAttribute("khjb");
- for(int i=0;i<khjblist.size();i++){
- CkhjbForm khjb=(CkhjbForm)khjblist.get(i);
- %>
- <option value="<%=khjb.getKhjb_jbmc()%>"><%=khjb.getKhjb_jbmc()%></option>
- <%}%> </select></td>
- </tr>
- <tr>
- <td height="24" align="left" bgcolor="#ffcc33">备注信息</td>
- <td colspan="3" bgcolor="#FFFFFF"><input name="bz" type="text" value="<%=form.getKhxx_bz()%>" size="58"></td>
- </tr>
- </table>
- <br>
- <input type="submit" name="Submit2" value="提交">
-
- <input type="reset" name="Submit" value="重置">
- </form>
- </table></td>
- </tr>
- </table></td>
- </tr>
- </table>
- </body>
- </html>