📄 materialoutdetail_005fdelete_jsp.java
字号:
package org.apache.jsp.imis_005fmate;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import imis_mate.DAO.*;
import imis_mate.bean.*;
public final class MaterialOutDetail_005fdelete_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;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_c_if_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_if_test.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;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"error.jsp", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n\r\n");
out.write("<html>\r\n\t");
out.write("<head>\r\n\r\n\r\n\t\t");
out.write("<title>物品出库明细信息录入");
out.write("</title>\r\n\t\t");
MateOutDetailBean mcb = new MateOutDetailBean();
mcb = (MateOutDetailBean)request.getAttribute("MaterialOutDetail");
out.write("\r\n\t\t");
out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"/Imis/imis_mate/css/style.css\">\r\n\r\n\t");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">");
out.write("</head>\r\n\r\n\t");
out.write("<body background=\"/Imis/imis_mate/images/bg_main.png\" class=\"ziti\">\r\n");
out.write("<script language=\"JavaScript\" src=\"js/checkdata.js\">");
out.write("</script>\r\n\t\t");
out.write("<script language=\"JavaScript\" src=\"js/MaterialOutDetail.js\">");
out.write("</script>\r\n\t\t\r\n\t");
out.write("<script type=\"text/javascript\"> \r\n\t\tfunction DeleteSubmit(){ \r\n\t\t\task = confirm(\"你确定删除该记录吗?\");\r\n\t\t\tif(ask){\r\n");
out.write("\r\n\t\t\t\tform1.action = \"../imis_mate/MaterialOutTableServlet?pattern=deleteDetail\";\r\n\t\t\t\tparent.iframe_elec_tree.location.reload(); //刷新左半边的树 框架名称在menu页面内\r\n\t\t\t\tform1.onsubmit=\"\";\r\n\t\t\t}\r\n\t\t} \r\n\t");
out.write("</script>\r\n\t\t\r\n\t\t\r\n\t");
out.write("<table width=\"100%\" border=\"0\" background=\"/Imis/imis_mate/images/bg_main2.png\">\r\n\t ");
out.write("<tr class=\"tubiao\">\r\n\t ");
out.write("<td>物品出库明细信息删除");
out.write("</td>\r\n\t ");
out.write("</tr>\r\n\t");
out.write("</table>\t\r\n\r\n\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(pageContext);
_jspx_th_c_if_0.setParent(null);
_jspx_th_c_if_0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.MaterialOutDetail.outNoId!=null}", java.lang.Boolean.class, (PageContext)pageContext, 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("<form method=\"post\" action=\"../imis_mate/MaterialOutTableServlet?pattern=delDetail\" name=\"form1\" onSubmit=\"return checkValue()\">\r\n ");
out.write("<table align=\"left\" width=\"412\" border=\"0\" class=\"ziti\">\r\n ");
out.write("<tr> \r\n ");
out.write("<td width=\"39%\" align=\"right\"> 出库单编号");
out.write("</td>\r\n ");
out.write("<td width=\"61%\"> \r\n ");
out.write("<input name=\"outNo\" type=\"text\" id=\"outNo\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.MaterialOutDetail.outNo}", java.lang.String.class, (PageContext)pageContext, null, false));
out.write("\" readonly=\"readonly\" class=\"text1\"/>\r\n ");
if (_jspx_meth_c_if_1(_jspx_th_c_if_0, pageContext))
return;
out.write(" ");
out.write("</td>\r\n ");
out.write("</tr>\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n\t");
out.write("<input name=\"outId\" type=\"hidden\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.MaterialOutDetail.outNoId}", java.lang.String.class, (PageContext)pageContext, null, false));
out.write("\"/>\r\n\t\r\n ");
out.write("<tr> \r\n ");
out.write("<td align=\"right\" width=\"39%\"> 物品名称");
out.write("</td>\r\n ");
out.write("<td>");
out.write("<input name=\"materialName\" type=\"text\" id=\"materialName\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.MaterialOutDetail.materialName}", java.lang.String.class, (PageContext)pageContext, null, false));
out.write("\" readonly=\"readonly\" class=\"text1\"/> \r\n ");
out.write("<div align=\"right\">");
out.write("</div> ");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr> \r\n ");
out.write("<td align=\"right\" width=\"39%\">型号");
out.write("</td>\r\n ");
out.write("<td>");
out.write("<input name=\"maModel\" type=\"text\" id=\"maModel\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.MaterialOutDetail.maModel}", java.lang.String.class, (PageContext)pageContext, null, false));
out.write("\" readonly=\"readonly\" class=\"text1\"/> ");
out.write("<div align=\"right\">");
out.write("</div> ");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr> \r\n ");
out.write("<td align=\"right\" width=\"39%\">品牌");
out.write("</td>\r\n ");
out.write("<td>");
out.write("<input name=\"maBrand\" type=\"text\" id=\"maBrand\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.MaterialOutDetail.maBrand}", java.lang.String.class, (PageContext)pageContext, null, false));
out.write("\" readonly=\"readonly\" class=\"text1\"/> ");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr> \r\n ");
out.write("<td align=\"right\" width=\"39%\">产地");
out.write("</td>\r\n ");
out.write("<td>");
out.write("<input name=\"maMadeIn\" type=\"text\" id=\"maMadeIn\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.MaterialOutDetail.maMadeIn}", java.lang.String.class, (PageContext)pageContext, null, false));
out.write("\" readonly=\"readonly\" class=\"text1\"/> ");
out.write("<div align=\"right\">");
out.write("</div> ");
out.write("</td>\r\n ");
out.write("</tr>\r\n\t ");
out.write("<tr> \r\n ");
out.write("<td align=\"right\" width=\"39%\">物品类型");
out.write("</td>\r\n ");
out.write("<td>\r\n");
out.write("\r\n ");
out.write("<select name=\"materialTypeNo\" id=\"buyDep\" class=\"text1\" disabled=\"disabled\">\r\n\t\t\t\t\t\t");
String materialTypeNo = null;
String materialTypeName = null;
MaterialDAO mate = new MaterialDAO();
ArrayList list = mate.getMaterial();
Iterator itr = list.iterator();
while (itr.hasNext()) {
Hashtable ht = (Hashtable) itr.next();
materialTypeNo = ht.get("MaterialTypeNo").toString();
materialTypeName = ht.get("MaterialTypeName").toString();
if(mcb.getMaterialTypeNo().equals(materialTypeNo)){
out.write("\r\n\t\t\t\t\t\t\t");
out.write("<option value=");
out.print(materialTypeNo);
out.write(" selected>");
out.print(materialTypeName);
out.write("</option>\r\n\t\t\t\t\t\t");
}
else
{
out.write("\r\n\t\t\t\t\t\t\t");
out.write("<option value=");
out.print(materialTypeNo);
out.write(">");
out.print(materialTypeName);
out.write("</option>\r\n\t\t\t\t\t\t");
}
}
out.write("\r\n\t\t");
out.write("</select>\r\n ");
out.write("</td>\r\n ");
out.write("</tr>\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n\t");
out.write("<input name=\"materialNo\" type=\"hidden\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.MaterialOutDetail.materialNo}", java.lang.String.class, (PageContext)pageContext, null, false));
out.write("\"/>\r\n ");
out.write("<tr> \r\n ");
out.write("<td align=\"right\" width=\"39%\">出库单价");
out.write("</td>\r\n ");
out.write("<td>");
out.write("<input name=\"priceUnit\" type=\"text\" id=\"priceUnit\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.MaterialOutDetail.priceUnit}", java.lang.String.class, (PageContext)pageContext, null, false));
out.write("\" readonly=\"readonly\" class=\"text1\"/> ");
out.write("<div align=\"right\">");
out.write("</div> ");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr>\r\n ");
out.write("<td>");
out.write("<div align=\"right\">出库数量");
out.write("</div>");
out.write("</td>\r\n ");
out.write("<td align=\"left\">");
out.write("<input name=\"outCount\" type=\"text\" id=\"outCount\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.MaterialOutDetail.outCount}", java.lang.String.class, (PageContext)pageContext, null, false));
out.write("\" readonly=\"readonly\" class=\"text1\"/>");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr>\r\n\t\t\t\t\t\t");
out.write("<td> ");
out.write("</td>\r\n\t\t\t\t\t\t");
out.write("</tr>\r\n\t");
out.write("<tr> ");
out.write("<td colspan=\"2\" align=\"left\"> \r\n ");
out.write("<div align=\"center\">\r\n ");
out.write("<input type=\"submit\" name=\"Submit\" value=\"删 除\" class=\"anniu\" onclick=\"DeleteSubmit()\"/>\r\n\r\n ");
out.write("</div>");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("</table>\r\n\t");
out.write("</form>\r\n\t");
int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
_jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0);
out.write("\r\n");
out.write("</body>\r\n");
out.write("</html>");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
private boolean _jspx_meth_c_if_1(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_0, PageContext pageContext)
throws Throwable {
JspWriter out = pageContext.getOut();
// c:if
org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_1 = (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_1.setPageContext(pageContext);
_jspx_th_c_if_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_0);
_jspx_th_c_if_1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.UserIdExisted != null}", java.lang.Boolean.class, (PageContext)pageContext, null, false)).booleanValue());
int _jspx_eval_c_if_1 = _jspx_th_c_if_1.doStartTag();
if (_jspx_eval_c_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write(" ");
out.write("<img src=\"/Imis_elec/images/error.gif\"/>");
out.write("<font color=\"red\"> \r\n ");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.UserIdExisted}", java.lang.String.class, (PageContext)pageContext, null, false));
out.write("</font> ");
int evalDoAfterBody = _jspx_th_c_if_1.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1);
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -