📄 stock_005findex_jsp.java
字号:
package org.apache.jsp.customermanage;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class Stock_005fIndex_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_varStatus_var_items;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_choose;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_when_test;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_otherwise;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_c_if_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_forEach_varStatus_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_choose = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_when_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_otherwise = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_if_test.release();
_jspx_tagPool_c_forEach_varStatus_var_items.release();
_jspx_tagPool_c_choose.release();
_jspx_tagPool_c_when_test.release();
_jspx_tagPool_c_otherwise.release();
}
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;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
String path = request.getContextPath();
out.write("\r\n");
out.write("<html>\r\n");
out.write("\t<head>\r\n");
out.write("\t\t<title>采购记录</title>\r\n");
out.write("\t\t<link href=\"");
out.print(path);
out.write("/css/style_2.css\" rel=\"stylesheet\">\r\n");
out.write("\t\t\r\n");
out.write("\t<script type=\"text/javascript\">\r\n");
out.write("\tfunction mysubmit(items,table){\r\n");
out.write("\tvar numitem = items.length;\r\n");
out.write("\tif (numitem == undefined){ //测试变量。\r\n");
out.write("\t\twindow.location.href = \"");
out.print(path);
out.write("/servlet/SelectFollowServlet?item=\"+document.forms[0].items.value+\"&talname=\" + table;\r\n");
out.write("\t}else{\r\n");
out.write("\t for(var i = 0; i < numitem; i++){\r\n");
out.write("\t if(items[i].checked){\r\n");
out.write("\t \twindow.location.href = \"");
out.print(path);
out.write("/servlet/SelectFollowServlet?item=\"+items[i].value+\"&talname=\" + table;\r\n");
out.write("\t }\r\n");
out.write("\t }\r\n");
out.write("\t}\r\n");
out.write("\t\t\r\n");
out.write("\t}\r\n");
out.write("\t</script>\r\n");
out.write("\t</head>\r\n");
out.write("\t<body background=\"../images/3.bmp\">\r\n");
out.write("\t\t<table width=\"100%\" height=\"25\" border=\"1\" cellpadding=\"0\"\r\n");
out.write("\t\t\tcellspacing=\"0\" bordercolor=\"#FFFFFF\" bordercolorlight=\"#FFFFFF\"\r\n");
out.write("\t\t\tbordercolordark=\"#F9FFF4\">\r\n");
out.write("\t\t\t<tr>\r\n");
out.write("\t\t\t\t<td>\r\n");
out.write("\t\t\t\t\t \r\n");
out.write("\t\t\t\t\t<img src=\"../images/Manual14.gif\" width=\"16\" height=\"16\">\r\n");
out.write("\t\t\t\t\t客户管理 >> \r\n");
out.write("\t\t\t\t\t<img src=\"../images/Manual54.gif\" width=\"16\" height=\"16\">\r\n");
out.write("\t\t\t\t\t<a href=\"");
out.print(path);
out.write("/customermanage/Stock_Index_Add.jsp\"\r\n");
out.write("\t\t\t\t\t\ttarget=\"mainName\">添加采购记录</a>\r\n");
out.write("\t\t\t\t\t<hr color=\"#006699\" size=\"1\">\r\n");
out.write("\t\t\t\t\t \r\n");
out.write("\t\t\t\t\t<img src=\"../images/icon_group.gif\" width=\"15\" height=\"15\">\r\n");
out.write("\t\t\t\t\t<a href=\"");
out.print(path);
out.write("/customermanage/Client_Index_Sql.jsp\">客户信息</a>\r\n");
out.write("\t\t\t\t\t \r\n");
out.write("\t\t\t\t\t<img src=\"../images/Manual54.gif\" width=\"16\" height=\"16\">\r\n");
out.write("\t\t\t\t\t<a href=\"");
out.print(path);
out.write("/servlet/SelectStcokaddServlet\">采购记录</a>\r\n");
out.write("\t\t\t\t\t \r\n");
out.write("\t\t\t\t\t<img src=\"../images/Manual65.gif\" width=\"16\" height=\"16\">\r\n");
out.write("\t\t\t\t\t<a href=\"#\" onclick=\"mysubmit(document.form1.items,'follow');\">跟进记录</a>\r\n");
out.write("\t\t\t\t\t \r\n");
out.write("\t\t\t\t\t<img src=\"../images/Manual1.gif\" width=\"16\" height=\"16\">\r\n");
out.write("\t\t\t\t\t<a href=\"#\" onclick=\"mysubmit(document.form1.items,'call');\">回访记录</a>\r\n");
out.write("\t\t\t\t\t \r\n");
out.write("\t\t\t\t\t<img src=\"../images/Manual11.gif\" width=\"16\" height=\"16\">\r\n");
out.write("\t\t\t\t\t<a href=\"");
out.print(path);
out.write("/servlet/SelectNeedServlet\">需求表</a>\r\n");
out.write("\t\t\t\t\t \r\n");
out.write("\t\t\t\t\t<img src=\"../images/icon_go_left.gif\" width=\"15\" height=\"15\">\r\n");
out.write("\t\t\t\t\t<a href=\"");
out.print(path);
out.write("/customermanage/customermanage.jsp\">返回</a>\r\n");
out.write("\t\t\t\t\t<hr color=\"#cccccc\" size=\"1\">\r\n");
out.write("\t\t\t\t</td>\r\n");
out.write("\t\t\t</tr>\r\n");
out.write("\t\t</table>\r\n");
out.write("\t\t<form name=\"form1\" method=\"post\">\r\n");
out.write("\t\t\t<table width=\"100%\" height=\"80\" border=\"1\" cellpadding=\"0\"\r\n");
out.write("\t\t\t\tcellspacing=\"0\" bordercolor=\"#Eff2fb\" bordercolordark=\"#F9F9FB\"\r\n");
out.write("\t\t\t\tbordercolorlight=\"#Eff2fb\">\r\n");
out.write("\t\t\t\t<tr align=\"center\" bgcolor=\"#Eff2fb\">\r\n");
out.write("\t\t\t\t\t<td width=\"16%\" height=\"26\" bgcolor=\"#Eff2fb\">\r\n");
out.write("\t\t\t\t\t\t采购项目\r\n");
out.write("\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t<td width=\"31%\" height=\"26\">\r\n");
out.write("\t\t\t\t\t\t采购日期\r\n");
out.write("\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t<td width=\"22%\" height=\"26\">\r\n");
out.write("\t\t\t\t\t\t采购金额\r\n");
out.write("\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t<td width=\"11%\" height=\"26\">\r\n");
out.write("\t\t\t\t\t\t备注\r\n");
out.write("\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t<td width=\"11%\">\r\n");
out.write("\t\t\t\t\t\t操作\r\n");
out.write("\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t</tr>\r\n");
out.write("\t\t\t\t");
// c:if
org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
_jspx_th_c_if_0.setPageContext(_jspx_page_context);
_jspx_th_c_if_0.setParent(null);
_jspx_th_c_if_0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${!empty Stcokaddlist}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag();
if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t\t\t\t\t");
// c:forEach
org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_varStatus_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
_jspx_th_c_forEach_0.setPageContext(_jspx_page_context);
_jspx_th_c_forEach_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_0);
_jspx_th_c_forEach_0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${Stcokaddlist}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
_jspx_th_c_forEach_0.setVar("stock");
_jspx_th_c_forEach_0.setVarStatus("status");
int[] _jspx_push_body_count_c_forEach_0 = new int[] { 0 };
try {
int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag();
if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t\t\t\t\t\t<tr align=\"center\">\r\n");
out.write("\t\t\t\t\t\t\t<td height=\"26\" align=\"left\">\r\n");
out.write("\t\t\t\t\t\t\t\t \r\n");
out.write("\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"items\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${stock.id }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" />\r\n");
out.write("\t\t\t\t\t\t\t\t ");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${stock.money }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\r\n");
out.write("\t\t\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t\t\t<td height=\"26\">\r\n");
out.write("\t\t\t\t\t\t\t\t");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${stock.datetime }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\r\n");
out.write("\t\t\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t\t\t<td height=\"26\">\r\n");
out.write("\t\t\t\t\t\t\t\t");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${stock.item }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\r\n");
out.write("\t\t\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t\t\t<td height=\"26\">\r\n");
out.write("\t\t\t\t\t\t\t\t");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${stock.remark }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\r\n");
out.write("\t\t\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t\t\t<td height=\"26\">\r\n");
out.write("\t\t\t\t\t\t\t\t<a\r\n");
out.write("\t\t\t\t\t\t\t\t\thref=\"");
out.print(path);
out.write("/servlet/DeleteStockServlet?stockid=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${stock.id }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"><img\r\n");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -