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

📄 insertkhxx_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 insertKhxx_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public insertKhxx_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/insertKhxx.jsp";from=(0,50);to=(1,0)]
                out.write("\r\n");

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

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

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

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

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

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

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

            // end
            // HTML // begin [file="/jsp/information/khxx/insertKhxx.jsp";from=(8,34);to=(172,112)]
                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>\r\n</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=\"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                  <form name=\"form\" method=\"post\" action=\"khxxInsert.do\"  onSubmit=\"return RgTest()\"> \r\n                    <table width=\"515\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\" bgcolor=\"#666666\"> \r\n                      <tr> \r\n                        <td width=\"86\" height=\"24\" align=\"right\" bgcolor=\"#ffcc33\"><div align=\"center\">客户编号</div></td> \r\n                        <td width=\"146\" align=\"left\" bgcolor=\"#FFFFFF\"><input name=\"id\" type=\"hidden\" value=\"KH-");

            // end
            // begin [file="/jsp/information/khxx/insertKhxx.jsp";from=(172,115);to=(172,149)]
                out.print(request.getAttribute("changeType"));
            // end
            // HTML // begin [file="/jsp/information/khxx/insertKhxx.jsp";from=(172,151);to=(173,27)]
                out.write("\"> \r\n                        KH-");

            // end
            // begin [file="/jsp/information/khxx/insertKhxx.jsp";from=(173,30);to=(173,64)]
                out.print(request.getAttribute("changeType"));
            // end
            // HTML // begin [file="/jsp/information/khxx/insertKhxx.jsp";from=(173,66);to=(181,28)]
                out.write("</td> \r\n                        <td width=\"85\" align=\"center\" bgcolor=\"#ffcc33\">客户名称</td> \r\n                        <td width=\"177\" bgcolor=\"#FFFFFF\"><input type=\"text\" name=\"mc\"></td> \r\n                      </tr> \r\n                      <tr> \r\n                        <td height=\"24\" align=\"right\" bgcolor=\"#ffcc33\"><div align=\"center\">企业性质</div></td> \r\n                        <td bgcolor=\"#FFFFFF\"><select name=\"qyxz\"> \r\n                            <option value=\"\">请选择企业性质</option> \r\n                            ");

            // end
            // begin [file="/jsp/information/khxx/insertKhxx.jsp";from=(181,30);to=(184,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/insertKhxx.jsp";from=(184,2);to=(185,43)]
                out.write(" \r\n                            <option value=\"");

            // end
            // begin [file="/jsp/information/khxx/insertKhxx.jsp";from=(185,46);to=(185,65)]
                out.print(qyxz.getQyxz_xzmc());
            // end
            // HTML // begin [file="/jsp/information/khxx/insertKhxx.jsp";from=(185,67);to=(185,69)]
                out.write("\">");

            // end
            // begin [file="/jsp/information/khxx/insertKhxx.jsp";from=(185,72);to=(185,91)]
                out.print(qyxz.getQyxz_xzmc());
            // end
            // HTML // begin [file="/jsp/information/khxx/insertKhxx.jsp";from=(185,93);to=(186,28)]
                out.write("</option> \r\n                            ");

            // end
            // begin [file="/jsp/information/khxx/insertKhxx.jsp";from=(186,30);to=(186,31)]
                }
            // end

⌨️ 快捷键说明

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