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

📄 materialbuytable_005fdelete_jsp.java

📁 JSP移动商品管理平台源代码.........
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
              out.write("<td align=\"right\" width=\"20%\">申请部门");
              out.write("</td>\r\n      ");
              out.write("<td width=\"26%\"> \r\n       ");
              out.write("<select name=\"applyDep\" id=\"applyDep\" class=\"text1\" disabled=\"disabled\">\r\n        ");
 
		
	      deptId = 0;
		 deptName = null;
		DepartmentsBean describe1 = new DepartmentsBean();
		ArrayList list1 = describe1.getDepts();
		Iterator itr1 = list1.iterator();
        while (itr1.hasNext()) {
     	Hashtable ht = (Hashtable) itr1.next();  
		deptId      =  Integer.parseInt(ht.get("deptId").toString());
       	deptName   =  ht.get("deptName").toString(); 
       
		if(mbb.getApplyDep()==deptId){
              out.write("\r\n\r\n\t\t");
              out.write("<option value=");
              out.print(deptId);
              out.write(" selected>");
              out.print(deptName);
              out.write("</option>\r\n\t\t\r\n\t\t");
}
		else
		{
              out.write("\r\n\t\t");
              out.write("<option value=");
              out.print(deptId);
              out.write(">");
              out.print(deptName);
              out.write("</option>\r\n\t\t");
		
		}
		}
		
              out.write("\r\n        ");
              out.write("</select>\r\n       \r\n      ");
              out.write("</td>\r\n\t   ");
              out.write("<td align=\"right\" width=\"14%\">申请人");
              out.write("</td>\r\n      ");
              out.write("<td width=\"40%\"> \r\n        ");
              out.write("<input name=\"applyBy\" type=\"text\" class=\"text1\" value=\"");
              out.print(mbb.getApplyBy() );
              out.write("\" size=\"20\" maxlength=\"30\" readonly=\"readonly\" />\r\n      ");
              out.write("</td>\r\n    ");
              out.write("</tr>\r\n\t");
              out.write("<tr> \r\n      ");
              out.write("<td align=\"right\" width=\"20%\">使用部门");
              out.write("</td>\r\n      ");
              out.write("<td width=\"26%\"> \r\n       \r\n      ");
              out.write("<select name=\"useDep\" id=\"useDep\" class=\"text1\" disabled=\"disabled\">\r\n        ");
 
		
		deptId = 0;
		deptName = null;
		DepartmentsBean describe2 = new DepartmentsBean();
		ArrayList list2 = describe2.getDepts();
		Iterator itr2 = list2.iterator();
        while (itr2.hasNext()) {
     	Hashtable ht = (Hashtable) itr2.next();  
		deptId      =  Integer.parseInt(ht.get("deptId").toString());
       	deptName   =  ht.get("deptName").toString(); 
       		
		if(mbb.getUseDep()==deptId){
              out.write("\r\n\t\t");
              out.write("<option value=");
              out.print(deptId);
              out.write(" selected>");
              out.print(deptName);
              out.write("</option>\r\n\t\t");
}
		else
		{
              out.write("\r\n\t\t");
              out.write("<option value=");
              out.print(deptId);
              out.write(">");
              out.print(deptName);
              out.write("</option>\r\n\t\t");
		
		}
		}
		
              out.write("\r\n         \r\n        ");
              out.write("</select>\r\n      ");
              out.write("</td>\r\n\t  ");
              out.write("<td align=\"right\" width=\"14%\">使用人");
              out.write("</td>\r\n      ");
              out.write("<td width=\"40%\"> \r\n        ");
              out.write("<input name=\"useBy\" type=\"text\" class=\"text1\" value =\"");
              out.print(mbb.getUseBy() );
              out.write("\" size=\"20\" maxlength=\"30\"   readonly=\"readonly\" />\r\n      ");
              out.write("</td>\r\n    ");
              out.write("</tr>\r\n\t\r\n    ");
              out.write("<tr> \r\n      ");
              out.write("<td align=\"right\" width=\"20%\">供应商");
              out.write("</td>\r\n      ");
              out.write("<td> \r\n     ");
              out.write("<select name=\"supplyNo\" id=\"supplyNo\" class=\"text1\" disabled=\"disabled\">\r\n      ");
 
		SupplyInfoDAO dao = new SupplyInfoDAO(); 
		ArrayList list5 = dao.getSupplyInfo();
		Iterator it = list5.iterator();
		
		while(it.hasNext()){
			SupplyInfoBean sb = (SupplyInfoBean)it.next();
			if(mbb.getSupplyNo()==sb.getSupplyNo()){
		 
              out.write("\r\n\t\t");
              out.write("<option value=");
              out.print(sb.getSupplyNo());
              out.write(" selected>");
              out.print(sb.getSupplyName());
              out.write("</option>\r\n\t\t");

			}else{
		
              out.write("\r\n\t\t");
              out.write("<option value=");
              out.print(sb.getSupplyNo());
              out.write(">");
              out.print(sb.getSupplyName());
              out.write("</option>\r\n\t\t");

			}
		}
		
              out.write("\r\n        ");
              out.write("</select>\r\n       \r\n      ");
              out.write("</td> \r\n\t \r\n      ");
              out.write("<td align=\"right\" width=\"14%\">采购批准人");
              out.write("</td>\r\n      ");
              out.write("<td> \r\n        ");
              out.write("<input name=\"perBy\" type=\"text\"  class=\"text1\" value=\"");
              out.print(mbb.getPerBy() );
              out.write("\" size=\"20\" maxlength=\"30\" readonly=\"readonly\" />\r\n      ");
              out.write("</td> \r\n    ");
              out.write("<tr> \r\n      ");
              out.write("<td align=\"right\" width=\"20%\">采购原因");
              out.write("</td>\r\n      ");
              out.write("<td> \r\n        ");
              out.write("<textarea name=\"buyFor\" rows=\"5\" cols=\"20\"  class=\"textarea1\" readonly=\"readonly\" >");
              out.print(mbb.getBuyFor());
              out.write("</textarea>\r\n      ");
              out.write("</td> \r\n\t   ");
              out.write("<td align=\"right\" width=\"14%\">单据摘要");
              out.write("</td>\r\n      ");
              out.write("<td> \r\n        ");
              out.write("<textarea name=\"remark\" rows=\"5\" cols=\"20\"  class=\"textarea1\" readonly=\"readonly\" >");
              out.print(mbb.getReMark());
              out.write("</textarea>\r\n      ");
              out.write("</td> ");
              out.write("</tr>\r\n\t  ");
              out.write("<tr>\r\n\t\t\t\t\t\t");
              out.write("<td>&nbsp;");
              out.write("</td>\r\n\t\t\t\t\t\t");
              out.write("</tr>\r\n    ");
              out.write("<tr align=\"center\"> \r\n      ");
              out.write("<td colspan=\"4\"> \r\n");
              out.write("\r\n             ");
              out.write("<br>");
              out.write("</td>\r\n     ");
              out.write("</tr>\r\n  ");
              out.write("</table>\r\n");
              out.write("</form>\r\n\t\t");
              int evalDoAfterBody = _jspx_th_c_if_2.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_c_if_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_2);
          out.write("\r\n\t\t");
          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;
      _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1);
      out.write("\r\n  ");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } 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_0(PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    //  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.success != 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\t\t");
        out.write("<font class=\"ziti\"> \r\n        ");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.success}", java.lang.String.class, (PageContext)pageContext, null, false));
        out.write("</font>\r\n\t\t\r\n\t\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 true;
    _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0);
    return false;
  }

  private boolean _jspx_meth_c_if_3(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_2, PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_3 = (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_3.setPageContext(pageContext);
    _jspx_th_c_if_3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_2);
    _jspx_th_c_if_3.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_3 = _jspx_th_c_if_3.doStartTag();
    if (_jspx_eval_c_if_3 != 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_3.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_if_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_3);
    return false;
  }
}

⌨️ 快捷键说明

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