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

📄 yh_005flist_jsp.java

📁 企业进销存源码
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
      out.print(WebTools.showEx(item.getAttributeByName("bianhao")));
      out.write("&nbsp;</TD>\r\n");
      out.write("\t\t<TD class=\"min-td02\">");
      out.print(bs.getNameById(WebTools.showEx(item.getAttributeByName("goodsId"))));
      out.write("&nbsp;</TD>\r\n");
      out.write("\t\t<TD class=\"min-td02\">");
      out.print(WebTools.showEx(item.getAttributeByName("dates")));
      out.write("&nbsp;</TD>\r\n");
      out.write("\t\t<TD class=\"min-td02\">");
      out.print(WebTools.showEx(item.getAttributeByName("num")));
      out.write("&nbsp;</TD>\r\n");
      out.write("\t\t<TD class=\"min-td02\">");
      out.print(WebTools.showEx(item.getAttributeByName("goodsType")));
      out.write("&nbsp;</TD>\r\n");
      out.write("\t\t<TD class=\"min-td02\">");
      out.print(WebTools.showEx(item.getAttributeByName("memo")));
      out.write("&nbsp;</TD>\r\n");
      out.write("\t\t\r\n");
      out.write("\t</tr>\r\n");
      out.write("\t");
}
      out.write("\r\n");
      out.write("</TABLE>\r\n");
      out.write("\r\n");
      out.write("</form>\r\n");
      out.write("<table width=100% border=0 align=center cellspacing=0 cellpadding=0>\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td align=right class=\"table-min02\" colSpan=7>");
      out.write("<table border=0 width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("<tr>\r\n");

session.setAttribute("PAGEPOSITION",request.getServletPath());
if(PAGE.getMaxPage()>1)
{
	Random random=new Random();
	int ID=Math.abs(random.nextInt());
	String formName="Form" + ID;

      out.write("\r\n");
      out.write("<form name=\"");
      out.print(formName);
      out.write("\">\r\n");
      out.write("<td align=right height=25>\r\n");

int currentPage;

String func_id_tem="99";

if(request.getParameter("func_id")!=null)
{
func_id_tem=request.getParameter("func_id");
}

if(request.getParameter("jumpPage")==null){
	currentPage=(int)PAGE.getPageNum();
}else{
	try{
		currentPage=Integer.parseInt(request.getParameter("jumpPage"));
	}catch(Exception ex){
		currentPage=1;
	}
}


      out.write("\r\n");
      out.write("µÚ");
      out.print(currentPage);
      out.write("Ò³/¹²");
      out.print(PAGE.getMaxPage());
      out.write("Ò³\r\n");

if(currentPage==1){
	out.print(" Ê×Ò³ ÉÏÒ»Ò³");
	}else{

      out.write("   \r\n");
      out.write("<A HREF=\"javascript:gotoPage(1)\">Ê×Ò³</A>\r\n");
      out.write("<A HREF=\"javascript:gotoPage(");
      out.print(currentPage-1);
      out.write(")\">ÉÏÒ»Ò³</A>\r\n");

	}

      out.write("\r\n");
      out.write("\r\n");

if(currentPage==PAGE.getMaxPage()){ 
	out.print("ÏÂÒ»Ò³ βҳ");
	}else{

      out.write("   \r\n");
      out.write("<A HREF=\"javascript:gotoPage(");
      out.print(currentPage+1);
      out.write(")\">ÏÂÒ»Ò³</A>\r\n");
      out.write("<A HREF=\"javascript:gotoPage(");
      out.print(PAGE.getMaxPage());
      out.write(")\">βҳ</A>\r\n");

	}

      out.write("\r\n");
      out.write("\r\n");
      out.write("תµ½µÚ<SELECT name=\"jumpPage\" onchange=\"Jumping()\">\r\n");
      out.write("     ");
 for(int i=1;i<=PAGE.getMaxPage();i++)  {
     if (i== currentPage){
     
      out.write("\r\n");
      out.write("     <OPTION selected value=");
      out.print(i);
      out.write('>');
      out.print(i);
      out.write("</OPTION>\r\n");
      out.write("     ");
}else{
      out.write("\r\n");
      out.write("     <OPTION value=");
      out.print(i);
      out.write('>');
      out.print(i);
      out.write("</OPTION>\r\n");
      out.write("     ");
}}
      out.write("   \r\n");
      out.write("     </SELECT>Ò³\r\n");
      out.write("<script language=\"javascript\">\r\n");
      out.write("function Jumping(){\r\n");
      out.write("  //document.");
      out.print(formName);
      out.write(".submit();\r\n");
      out.write("   var func_id_m=\"");
      out.print(func_id_tem);
      out.write("\";\r\n");
      out.write("  document.location.href=\"");
      out.print(request.getContextPath());
      out.print(request.getServletPath());
      out.write("?jumpPage=\" + ");
      out.print(formName);
      out.write(".jumpPage.options[");
      out.print(formName);
      out.write(".jumpPage.selectedIndex].value+\"&func_id=\"+func_id_m;\r\n");
      out.write("  return ;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function gotoPage(pagenum){\r\n");
      out.write("  document.");
      out.print(formName);
      out.write(".jumpPage.value = pagenum;\r\n");
      out.write("  //document.");
      out.print(formName);
      out.write(".submit();\r\n");
      out.write("  var func_id_t=\"");
      out.print(func_id_tem);
      out.write("\";\r\n");
      out.write("  document.location.href=\"");
      out.print(request.getContextPath());
      out.print(request.getServletPath());
      out.write("?jumpPage=\" + pagenum+\"&func_id=\"+func_id_t;\r\n");
      out.write("  return ;\r\n");
      out.write("}\r\n");
      out.write("</script>\r\n");

}

      out.write("\r\n");
      out.write("</td>\r\n");
      out.write("</form>\r\n");
      out.write("</tr>\r\n");
      out.write("</table>");
      out.write("\r\n");
      out.write("\t\t</TD>\r\n");
      out.write("\t</TR>\r\n");
      out.write("</TABLE>\r\n");
      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 (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_myTag_place_0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  myTag:place
    com.web.tag.Place _jspx_th_myTag_place_0 = (com.web.tag.Place) _jspx_tagPool_myTag_place_name.get(com.web.tag.Place.class);
    _jspx_th_myTag_place_0.setPageContext(_jspx_page_context);
    _jspx_th_myTag_place_0.setParent(null);
    _jspx_th_myTag_place_0.setName("采购管理<b>--></b>验货管理<b>");
    int _jspx_eval_myTag_place_0 = _jspx_th_myTag_place_0.doStartTag();
    if (_jspx_eval_myTag_place_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("\t<td align=right>\r\n");
        out.write("\t\t<input type=button class=btn3_mouseout onmouseover=\"this.className='btn3_mouseover'\" onmouseout=\"this.className='btn3_mouseout'\" onclick=\"add();\" value=验货>\r\n");
        out.write("\t\t<input type=button class=btn3_mouseout onmouseover=\"this.className='btn3_mouseover'\" onmouseout=\"this.className='btn3_mouseout'\" onclick=\"remove();\" value=删除>\r\n");
        out.write("\t</td>\r\n");
        int evalDoAfterBody = _jspx_th_myTag_place_0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_myTag_place_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_myTag_place_name.reuse(_jspx_th_myTag_place_0);
    return false;
  }
}

⌨️ 快捷键说明

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