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

📄 updatekhxx_0002ejsp_jsp.java

📁 客户关系管理系统,包括数据库,类,所有运行所需的代码及文件
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
package jsp.information.khxx;

import com.domain.KhxxForm;
import com.domain.CqylxForm;
import com.domain.CqyxzForm;
import com.domain.CqyzxForm;
import com.domain.CbankForm;
import com.domain.CkhjbForm;
import java.sql.*;
import java.util.List;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class updateKhxx_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public updateKhxx_0002ejsp_jsp( ) {
    }

    private static boolean _jspx_inited = false;

    public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
    }

    public void _jspService(HttpServletRequest request, HttpServletResponse  response)
        throws java.io.IOException, ServletException {

        JspFactory _jspxFactory = null;
        PageContext pageContext = null;
        HttpSession session = null;
        ServletContext application = null;
        ServletConfig config = null;
        JspWriter out = null;
        Object page = this;
        String  _value = null;
        try {

            if (_jspx_inited == false) {
                synchronized (this) {
                    if (_jspx_inited == false) {
                        _jspx_init();
                        _jspx_inited = true;
                    }
                }
            }
            _jspxFactory = JspFactory.getDefaultFactory();
            response.setContentType("text/html; charset=gb2312");
            pageContext = _jspxFactory.getPageContext(this, request, response,
            			"", true, 8192, true);

            application = pageContext.getServletContext();
            config = pageContext.getServletConfig();
            session = pageContext.getSession();
            out = pageContext.getOut();

            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(0,50);to=(1,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(1,39);to=(2,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(2,40);to=(3,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(3,40);to=(4,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(4,40);to=(5,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(5,40);to=(6,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(6,40);to=(7,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(7,30);to=(8,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(8,34);to=(167,18)]
                out.write("\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<title>修改客户详细信息</title>\r\n<style type=\"text/css\">\r\n<!--\r\nbody {\r\n\tbackground-color: #000000;\r\n\tmargin-left: 0px;\r\n\tmargin-top: 0px;\r\n}\r\ntd{\r\nfont-size:9pt;\r\n}\r\n.style1 {font-size: 11pt}\r\n-->\r\n</style></head>\r\n<script language=\"JavaScript\">\r\nfunction RgTest(){\r\nif(document.form.mc.value==\"\"){\r\nwindow.alert(\"请输入客户名称\");\r\ndocument.form.mc.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.qyxz.value==\"\"){\r\nwindow.alert(\"请输入企业性质\");\r\ndocument.form.qyxz.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.qylx.value==\"\"){\r\nwindow.alert(\"请输入企业类型\");\r\ndocument.form.qylx.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.qyzx.value==\"\"){\r\nwindow.alert(\"请输入企业资信\");\r\ndocument.form.qyzx.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.qydz.value==\"\"){\r\nwindow.alert(\"请输入企业地址\");\r\ndocument.form.qydz.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.szsf.value==\"\"){\r\nwindow.alert(\"请输入所属省份\");\r\ndocument.form.szsf.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.gsyb.value==\"\"){\r\nwindow.alert(\"请输入公司邮编\");\r\ndocument.form.gsyb.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.szcs.value==\"\"){\r\nwindow.alert(\"请输入所属城市\");\r\ndocument.form.szcs.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.frdb.value==\"\"){\r\nwindow.alert(\"请输入法人代表\");\r\ndocument.form.frdb.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.nsh.value==\"\"){\r\nwindow.alert(\"请输入纳税号\");\r\ndocument.form.nsh.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.khyh.value==\"\"){\r\nwindow.alert(\"请输入开户银行\");\r\ndocument.form.khyh.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.yhzh.value==\"\"){\r\nwindow.alert(\"请输入开户银行账号\");\r\ndocument.form.yhzh.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.gswz.value==\"\"){\r\nwindow.alert(\"请输入公司网址\");\r\ndocument.form.gswz.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.iCcard.value==\"\"){\r\nwindow.alert(\"请输入客户IC卡号\");\r\ndocument.form.iCcard.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.gsdh.value==\"\"){\r\nwindow.alert(\"请输入公司电话\");\r\ndocument.form.gsdh.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.gscz.value==\"\"){\r\nwindow.alert(\"请输入公司传真\");\r\ndocument.form.gscz.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.lxr.value==\"\"){\r\nwindow.alert(\"请输入主要联系人\");\r\ndocument.form.lxr.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.lxrdh.value==\"\"){\r\nwindow.alert(\"请输入联系人电话\");\r\ndocument.form.lxrdh.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.khjb.value==\"\"){\r\nwindow.alert(\"请输入客户级别\");\r\ndocument.form.khjb.focus();\r\nreturn false;\r\n}\r\n\r\nreturn true;\r\n}\r\n</script>\r\n<body>\r\n<table width=\"579\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FFFFFF\"> \r\n  <tr> \r\n    <td>&nbsp;</td> \r\n  </tr> \r\n</table> \r\n<table width=\"579\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> \r\n  <tr> \r\n    <td align=\"left\" valign=\"top\" bgcolor=\"#FFFFFF\"> <table width=\"579\" height=\"487\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> \r\n        <tr> \r\n          <td align=\"left\" valign=\"top\" bgcolor=\"#FFFFFF\"><table width=\"579\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> \r\n              <tr> \r\n                <td width=\"2%\" height=\"28\">&nbsp;</td> \r\n                <td width=\"9%\" background=\"images/circle.jpg\">&nbsp;</td> \r\n                <td width=\"89%\" bgcolor=\"#FFFFFF\"><span class=\"style2 style1\">修改客户详细信息</span></td> \r\n              </tr> \r\n              <tr style=\"line-height:2px\"> \r\n                <td width=\"2%\" height=\"5\">&nbsp;</td> \r\n                <td height=\"5\" colspan=\"2\" bgcolor=\"#D4D0C8\">&nbsp;</td> \r\n              </tr> \r\n              <tr align=\"center\" valign=\"top\" bgcolor=\"#FFFFFF\"> \r\n                <td height=\"454\" colspan=\"3\"><br> \r\n                  ");

            // end
            // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(167,20);to=(167,77)]
                KhxxForm form=(KhxxForm)request.getAttribute("khxxform");
            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(167,79);to=(168,75)]
                out.write("\r\n                  <form name=\"form\" method=\"post\" action=\"khxxUpdate.do?id=");

            // end
            // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(168,78);to=(168,95)]
                out.print(form.getKhxx_id());
            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(168,97);to=(172,40)]
                out.write("\"  onSubmit=\"return RgTest()\">\r\n                  <table width=\"517\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\" bgcolor=\"#666666\">\r\n    <tr>\r\n      <td width=\"74\" height=\"24\" align=\"left\" bgcolor=\"#ffcc33\">客户编号</td>\r\n      <td width=\"158\" bgcolor=\"#FFFFFF\">");

            // end
            // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(172,43);to=(172,60)]
                out.print(form.getKhxx_id());
            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(172,62);to=(174,76)]
                out.write("</td>\r\n      <td width=\"73\" align=\"left\" bgcolor=\"#ffcc33\">客户名称</td>\r\n      <td width=\"191\" bgcolor=\"#FFFFFF\"><input type=\"text\" name=\"mc\" value=\"");

            // end
            // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(174,79);to=(174,96)]
                out.print(form.getKhxx_mc());
            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(174,98);to=(180,0)]
                out.write("\"></td>\r\n    </tr>\r\n    <tr>\r\n      <td height=\"24\" align=\"left\" bgcolor=\"#ffcc33\">企业性质</td>\r\n      <td bgcolor=\"#FFFFFF\"><select name=\"qyxz\">\r\n      <option value=\"\">请选择企业性质</option>\r\n");

            // end
            // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(180,2);to=(183,0)]
                List qyxzlist=(List)request.getAttribute("qyxz");
                for(int i=0;i<qyxzlist.size();i++){
                CqyxzForm qyxz=(CqyxzForm)qyxzlist.get(i);
            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(183,2);to=(184,15)]
                out.write("\r\n<option value=\"");

            // end
            // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(184,18);to=(184,37)]
                out.print(qyxz.getQyxz_xzmc());
            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(184,39);to=(184,41)]
                out.write("\">");

            // end
            // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(184,44);to=(184,63)]
                out.print(qyxz.getQyxz_xzmc());
            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(184,65);to=(185,0)]
                out.write("</option>\r\n");

            // end
            // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(185,2);to=(185,3)]
                }
            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(185,5);to=(189,0)]
                out.write("\t  </select></td>\r\n      <td align=\"left\" bgcolor=\"#ffcc33\">企业类型</td>\r\n      <td bgcolor=\"#FFFFFF\"><select name=\"qylx\">\r\n\t  <option value=\"\">请选择企业类型</option>\r\n");

            // end
            // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(189,2);to=(192,0)]
                List qylxlist=(List)request.getAttribute("qylx");
                for(int i=0;i<qylxlist.size();i++){
                CqylxForm qylx=(CqylxForm)qylxlist.get(i);
            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(192,2);to=(193,16)]
                out.write("\r\n <option value=\"");

            // end
            // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(193,19);to=(193,38)]
                out.print(qylx.getQylx_lxmc());
            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(193,40);to=(193,42)]
                out.write("\">");

            // end
            // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(193,45);to=(193,64)]
                out.print(qylx.getQylx_lxmc());
            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(193,66);to=(194,1)]
                out.write("</option>\r\n ");

            // end
            // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(194,3);to=(194,4)]
                }
            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(194,6);to=(200,0)]
                out.write("     </select></td>\r\n    </tr>\r\n    <tr>\r\n      <td height=\"24\" align=\"left\" bgcolor=\"#ffcc33\">企业资信</td>\r\n      <td bgcolor=\"#FFFFFF\"><select name=\"qyzx\">\r\n      <option value=\"\">请选择企业资信</option>\r\n");

            // end
            // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(200,2);to=(203,0)]
                List qyzxlist=(List)request.getAttribute("qyzx");
                for(int i=0;i<qyzxlist.size();i++){
                CqyzxForm qyzx=(CqyzxForm)qyzxlist.get(i);
            // end
            // HTML // begin [file="/jsp/information/khxx/updateKhxx.jsp";from=(203,2);to=(204,15)]
                out.write("\r\n<option value=\"");

⌨️ 快捷键说明

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