/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: ......
 * Generated at: 2021-09-15 05:43:21 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import java.text.*;
import wiseoa.*;
import jun.db.util.*;
import wiseoa.util.*;
import wiseoa.bill.jstl.*;
import java.util.*;
import java.net.*;
import java.sql.*;
import wiseoa.*;
import wiseoa.util.*;
import wiseoa.mail.jstl.*;
import wiseoa.util.*;

public final class bill2_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  static {
    _jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(4);
    _jspx_dependants.put("/template/bill/exportbilllog.htm", Long.valueOf(1224833320297L));
    _jspx_dependants.put("/template/bill/exportbill.htm", Long.valueOf(1224576384890L));
    _jspx_dependants.put("/template/bill/importbill.htm", Long.valueOf(1224576475951L));
    _jspx_dependants.put("/rightverify_login.jsp", Long.valueOf(1517794822543L));
  }

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fif_0026_005ftest;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fescapeXml_005fnobody;

  private volatile javax.el.ExpressionFactory _el_expressionfactory;
  private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
    if (_el_expressionfactory == null) {
      synchronized (this) {
        if (_el_expressionfactory == null) {
          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        }
      }
    }
    return _el_expressionfactory;
  }

  public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
    if (_jsp_instancemanager == null) {
      synchronized (this) {
        if (_jsp_instancemanager == null) {
          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
        }
      }
    }
    return _jsp_instancemanager;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fescapeXml_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.release();
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.release();
    _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.release();
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fescapeXml_005fnobody.release();
  }

  public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
        throws java.io.IOException, javax.servlet.ServletException {

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html;charset=UTF-8");
      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");
      out.write("\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");
      out.write("\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");
      out.write("\r\n");
      out.write("\r\n");

	// æ ¡éªææ OAçæé
	User user_1211 = User.getUserFromRequest(request);

	if (user_1211.getId() < 0) //å¦ææ²¡æç»å½ä¿¡æ¯ï¼é£ä¹çä¸ä¸cookie
	{

		javax.servlet.http.Cookie ck[] = request.getCookies();
		String username_ = "";
		String password_ = "";

		if (ck != null)
		{
			for (int i = 0; i < ck.length; i++)
			{

				if (ck[i].getName().equalsIgnoreCase("username")) username_ = wiseoa.util.Escape.unescape(ck[i].getValue());
				if (ck[i].getName().equalsIgnoreCase("password")) password_ = FF.DecryptString (ck[i].getValue());

			}
		}

		String pass = Login.Validate(username_, password_, "", request, response, getServletContext(), "");
		if (! pass.equals(""))
		{

		 
			String subpath = (String) session.getAttribute("wiseoaappsubpath");
			if (subpath == null) subpath = "";
			response.sendRedirect(subpath + "/SystemTip.jsp?info=" + URLEncoder.encode(pass, "UTF-8"));
			return;
		}
	}

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

	/*
  
     可以直接在地址栏上加  &flowbox=all 等指定进入列表时显示哪个工作箱
  
  */
	request.setCharacterEncoding("UTF-8");
	FF.setResponseContentType(response);

	
	BillList2 b = new BillList2(request,response);

 
	FF.pageContextSetAttribute(pageContext,"title", b.billName);
	
	FF.pageContextSetAttribute(pageContext,"flowid", b.flowid);
	FF.pageContextSetAttribute(pageContext,"nodeGuid", b.nodeGuid);
	FF.pageContextSetAttribute(pageContext,"nodeName", b.nodeName);
	
	
	
	FF.pageContextSetAttribute(pageContext,"flow_urlparameter", b.flow_urlparameter);
	
	FF.pageContextSetAttribute(pageContext,"billtypename", b.billTypeName);
	FF.pageContextSetAttribute(pageContext,"funcList", b.funcList);
	FF.pageContextSetAttribute(pageContext,"funcList2", b.funcList2);
	
	FF.pageContextSetAttribute(pageContext,"printFormatList", b.printFormatList);
	
	FF.pageContextSetAttribute(pageContext,"printFormatTemplateId", b.printFormatTemplateId);
	FF.pageContextSetAttribute(pageContext,"dblClickAction", b.dblClickAction);
	
	FF.pageContextSetAttribute(pageContext,"iframeUrl", b.iframeUrl);
	
	
	FF.pageContextSetAttribute(pageContext,"footerHeight", 25+(b.iframeUrl.equals("")?0:b.iframeHeight));
	
	FF.pageContextSetAttribute(pageContext, "pageSize",  FF.GetIntFromRequest(request,"pagesize",20) );
	 
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;

	FF.pageContextSetAttribute(pageContext,"homeURL", basePath); 
	
	String s=request.getQueryString();
	if ( s==null) s="";
	if ( !s.equals("") ) s="?"+s;
	
	String  onCommissionURL="bill_frame.jsp"+s;

	onCommissionURL=jun.db.util.Base32Coder.encode(onCommissionURL.getBytes());
	
	wiseoa.util.FF.pageContextSetAttribute(pageContext,"onCommissionURL", onCommissionURL);
	
	
	//把参数中的tableid, id, action去掉，因为billedit.jsp中需要用到这三个参数，如果外围的参数也存在这几个参数
	//会引起参数错误
	s=FF.removeFromQueryString(s,new String[]{"tableid","id","action"});
 	
	FF.pageContextSetAttribute(pageContext,"querystring", s);
	FF.pageContextSetAttribute(pageContext,"javaScript_ds", b.javaScript_ds);
	FF.pageContextSetAttribute(pageContext,"javaScript_grid", b.javaScript_grid);
	
	
	FF.pageContextSetAttribute(pageContext,"showDebugInfo", false);
	FF.pageContextSetAttribute(pageContext,"toolbarConfig", b.toolbarConfig);
	FF.pageContextSetAttribute(pageContext,"jsonQueryString", Base64Coder.encode(  FF.QueryString2JSON(request)));
	FF.pageContextSetAttribute(pageContext,"today", FF.Get_yyyyMMdd_Date(new java.util.Date()));
	wiseoa.flow.applet.DateTool dt= new wiseoa.flow.applet.DateTool();
	FF.pageContextSetAttribute(pageContext,"today_30", FF.Get_yyyyMMdd_Date(dt.nextDate(  new java.util.Date(),-30)));
	FF.pageContextSetAttribute(pageContext,"today_3", FF.Get_yyyyMMdd_Date(dt.nextDate(  new java.util.Date(),-3 )));
	FF.pageContextSetAttribute(pageContext,"today_7", FF.Get_yyyyMMdd_Date(dt.nextDate(  new java.util.Date(),-7)));
	

      out.write("\r\n");
      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("<head><meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\" />\r\n");
      out.write("<meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\" />\r\n");
      out.write("<title>");
      out.print(b.tableName);
      out.write("</title>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
      out.write("<META http-equiv=\"pragma\" content=\"no-cache\">\r\n");
      out.write("<META http-equiv=\"cache-control\" content=\"no-cache\">\r\n");
      out.write("<META http-equiv=\"expires\" content=\"0\">\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"css/normal.css\" />\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<link rel=\"stylesheet\" type=\"text/css\"\r\n");
      out.write("\thref=\"extjs/resources/css/ext-all.css\" />\r\n");
      out.write("<script type=\"text/javascript\" src=\"extjs/adapter/yui/yui-utilities.js\"></script>\r\n");
      out.write("<script type=\"text/javascript\" src=\"extjs/adapter/yui/ext-yui-adapter.js\"></script>\r\n");
      out.write("<script type=\"text/javascript\" src=\"extjs/ext-all.js\"></script>\r\n");
      out.write("\r\n");
      out.write("<script type=\"text/javascript\" src=\"js/json.js\"></script>\r\n");
      out.write("<script type=\"text/javascript\" src=\"js/domutil.js\"></script>\r\n");
      out.write("<script type=\"text/javascript\" src=\"js/jquery.js\"></script>\r\n");
      out.write("<script type=\"text/javascript\" src=\"js/zrpc.js.jsp\"></script>\r\n");
      out.write("\r\n");
      out.write("<script type=\"text/javascript\" src=\"js/sleep.js\"></script>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<script type=\"text/javascript\" src=\"js/jquery.blockUI2.js\"></script>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<SCRIPT type=\"text/javascript\" src=\"js/jsrsClient_rev.js\"></SCRIPT>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<!--  高度全屏自适应上中下三栏布局-->\r\n");
      out.write("<style type=\"text/css\">\r\n");
      out.write("html {\r\n");
      out.write("\theight: 100%;\r\n");
      out.write("\tmax-height: 100%;\r\n");
      out.write("\tpadding: 0;\r\n");
      out.write("\tmargin: 0;\r\n");
      out.write("\tborder: 0;\r\n");
      out.write("\tbackground: #fff;\r\n");
      out.write("\tfont-size: 76%;\r\n");
      out.write("\tfont-family: georgia, palatino linotype, times new roman, serif, \"宋体\";\r\n");
      out.write("\t/* hide overflow:hidden from IE5/Mac */\r\n");
      out.write("\t/* \\*/\r\n");
      out.write("\toverflow: hidden;\r\n");
      out.write("\t/* */\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("body {\r\n");
      out.write("\theight: 100%;\r\n");
      out.write("\tmax-height: 100%;\r\n");
      out.write("\toverflow: hidden;\r\n");
      out.write("\tpadding: 0;\r\n");
      out.write("\tmargin: 0;\r\n");
      out.write("\tborder: 0;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("#content {\r\n");
      out.write("\toverflow: auto;\r\n");
      out.write("\tposition: absolute;\r\n");
      out.write("\tz-index: 3;\r\n");
      out.write("\ttop: 52px;\r\n");
      out.write("\twidth: 100%;\r\n");
      out.write("\tbottom: 60px;\r\n");
      out.write("\tleft: 0;\r\n");
      out.write("\tbackground: #fff;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("* html #content {\r\n");
      out.write("\ttop: 0;\r\n");
      out.write("\tleft: 0;\r\n");
      out.write("\theight: 100%;\r\n");
      out.write("\tmax-height: 100%;\r\n");
      out.write("\twidth: 100%;\r\n");
      out.write("\toverflow: auto;\r\n");
      out.write("\tposition: absolute;\r\n");
      out.write("\tz-index: 3;\r\n");
      out.write("\tborder-top: 53px solid #fff;\r\n");
      out.write("\tborder-bottom: ");
      if (_jspx_meth_c_005fout_005f0(_jspx_page_context))
        return;
      out.write("px solid #fff;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("#head {\r\n");
      out.write("\tposition: absolute;\r\n");
      out.write("\tmargin: 0;\r\n");
      out.write("\ttop: 0;\r\n");
      out.write("\tleft: 0;\r\n");
      out.write("\tdisplay: block;\r\n");
      out.write("\twidth: 100%;\r\n");
      out.write("\theight: 52px;\r\n");
      out.write("\tbackground: red;\r\n");
      out.write("\tbackground-image:url(image/billhead.jpg);\r\n");
      out.write("\tbackground-position: 0 0;\r\n");
      out.write("\tbackground-repeat:  ;\r\n");
      out.write("\tfont-size: 4em;\r\n");
      out.write("\tz-index: 5;\r\n");
      out.write("\toverflow: hidden;\r\n");
      out.write("\tcolor: #fff;\r\n");
      out.write("\tborder-bottom: 1px #c0c0c0 solid;\r\n");
      out.write("\ttext-align: left;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("#foot {\r\n");
      out.write("\tposition: absolute;\r\n");
      out.write("\tmargin: 0;\r\n");
      out.write("\tbottom: 0;\r\n");
      out.write("\tleft: 0;\r\n");
      out.write("\tdisplay: block;\r\n");
      out.write("\twidth: 100%;\r\n");
      out.write("\theight: ");
      if (_jspx_meth_c_005fout_005f1(_jspx_page_context))
        return;
      out.write("px;\r\n");
      out.write("\tfont-size: 1em;\r\n");
      out.write("\tz-index: 5;\r\n");
      out.write("\toverflow: hidden;;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write(".footleft {\r\n");
      out.write("\twidth: 100%;\r\n");
      out.write("\theight: 25px;\r\n");
      out.write("\tline-height: ");
      if (_jspx_meth_c_005fout_005f2(_jspx_page_context))
        return;
      out.write("px;\r\n");
      out.write("\tborder: 1px #c0c0c0 solid;\r\n");
      out.write("}\r\n");
      out.write("</style>\r\n");
      out.write("\r\n");
      out.write("<script>\r\n");
      out.write("  //全局常量\r\n");
      out.write("  var tableId= ");
      out.print(b.billID);
      out.write(";\r\n");
      out.write("  var templateId = ");
      out.print(b.templateid);
      out.write(";\r\n");
      out.write("  var tableName=\"");
      out.print(b.tableName);
      out.write("\";\r\n");
      out.write("  var columns=\"");
      out.print(b.columns);
      out.write("\";\r\n");
      out.write("  var dsn=\"");
      out.print(b.dsn);
      out.write("\";\r\n");
      out.write("  var billType=\"");
      if (_jspx_meth_c_005fout_005f3(_jspx_page_context))
        return;
      out.write("\";\r\n");
      out.write("\r\n");
      out.write("  var tip=\"<br><p style='font-size:12px' align='center'><img src='image/connect_active.gif' align='absmiddle'>&nbsp;&nbsp;正在加载，请稍候...<br><br></p>\";\r\n");
      out.write("  \r\n");
      out.write("  var toolbarConfig=");
      out.print(b.toolbarConfig);
      out.write(";\r\n");
      out.write("  checkToolbarConfig (\"newbill\");\r\n");
      out.write("  checkToolbarConfig (\"editbill\");\r\n");
      out.write("  checkToolbarConfig (\"viewbill\");\r\n");
      out.write("  checkToolbarConfig (\"deletebill\");\r\n");
      out.write("  checkToolbarConfig (\"obsoletebill\");\r\n");
      out.write("  checkToolbarConfig (\"verifybill\");\r\n");
      out.write("  checkToolbarConfig (\"exportbill\");\r\n");
      out.write("  checkToolbarConfig (\"importbill\");\r\n");
      out.write("  checkToolbarConfig (\"searchbill\");\r\n");
      out.write("  checkToolbarConfig (\"printbill\");\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  function  checkToolbarConfig( what)\r\n");
      out.write("  {\r\n");
      out.write("\t if( toolbarConfig[what]==undefined)\r\n");
      out.write("\t{\r\n");
      out.write("\t\t  toolbarConfig[what] ={};\r\n");
      out.write("\t\t  toolbarConfig[what].visible =true;\r\n");
      out.write("\t\t  toolbarConfig[what].caption =\"\";\r\n");
      out.write(" \t}\r\n");
      out.write("   }\r\n");
      out.write("  \r\n");
      out.write("  // $.blockUI( {message:tip});\r\n");
      out.write("  \r\n");
      out.write("  function appendQueryString( qs)\r\n");
      out.write("  {\r\n");
      out.write("\t  var queryString= \"");
      if (_jspx_meth_c_005fout_005f4(_jspx_page_context))
        return;
      out.write("\";\r\n");
      out.write("\t  \r\n");
      out.write("\t  //当 类似 frame-main2.jsp?west_width=1&main_url=bill_frame.jsp?id=6&autorun=new\r\n");
      out.write("\t\t//这样的地址出现时，那个id=6也会做为参数带入，与正常的id参数冲突了，所以这样的情况下，就不要quryString\r\n");
      out.write("if(queryString.indexOf(\".jsp\")>0 ) queryString='';\r\n");
      out.write("\t      \r\n");
      out.write("\t  \r\n");
      out.write("\t  if( queryString=='') \r\n");
      out.write("      {\r\n");
      out.write("\t\t  queryString+='?';\r\n");
      out.write("      }else\r\n");
      out.write("      {\r\n");
      out.write("    \t  queryString+='&';\r\n");
      out.write("      }\r\n");
      out.write("\t  \r\n");
      out.write("\r\n");
      out.write("\t  \r\n");
      out.write("\t  \r\n");
      out.write("\t  queryString+=\"wiseoainnerparam=");
      if (_jspx_meth_c_005fout_005f5(_jspx_page_context))
        return;
      out.write("\";\r\n");
      out.write("\t  \r\n");
      out.write("\t   \r\n");
      out.write("\t  if( qs==\"\") return queryString;//这个基本上不存在\r\n");
      out.write("\t\r\n");
      out.write("\t  return queryString+\"&\"+qs ; \r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("  var $G= \r\n");
      out.write("  {\r\n");
      out.write("      tb:null, //工具栏\r\n");
      out.write("      cm:null, //列定义\r\n");
      out.write("      ds:null , // 数据来源\r\n");
      out.write("      grid: null  ,//界面,\r\n");
      out.write("      paging:null  //分页配置\r\n");
      out.write("  }\r\n");
      out.write("      \r\n");
      out.write("   $G.init =function()\r\n");
      out.write("   {\r\n");
      out.write("  \t    //工具栏\r\n");
      out.write("  \t   this.tb = new Ext.Toolbar('toolbar');\r\n");
      out.write("       var tb=this.tb;\r\n");
      out.write("       \r\n");
      out.write("       ");
      if (_jspx_meth_c_005fif_005f0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("       \r\n");
      out.write("       \r\n");
      out.write("       ");
      if (_jspx_meth_c_005fif_005f1(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("       \r\n");
      out.write("       ");
      if (_jspx_meth_c_005fif_005f2(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("       \r\n");
      out.write("       ");
      if (_jspx_meth_c_005fif_005f5(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("       ");
      if (_jspx_meth_c_005fif_005f6(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("       \r\n");
      out.write("       \r\n");
      out.write("       ");
      if (_jspx_meth_c_005fif_005f7(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("       \r\n");
      out.write("       if(toolbarConfig.exportbill.visible)\r\n");
      out.write("       { \r\n");
      out.write("    \t    var caption= toolbarConfig.exportbill.caption;\r\n");
      out.write("    \t    if( caption==\"\") caption='导出';\r\n");
      out.write("  　     \t\ttb.addButton( new Ext.Toolbar.Button({text: caption, cls: 'x-btn-text-icon',icon:'image/export.gif',  handler: exportBill } )  );\r\n");
      out.write("       \t\ttb.addSeparator();\r\n");
      out.write("       }\r\n");
      out.write("       \r\n");
      out.write("       if(toolbarConfig.importbill.visible)\r\n");
      out.write("       { \r\n");
      out.write("    \t    var caption= toolbarConfig.importbill.caption;\r\n");
      out.write("    \t    if( caption==\"\") caption='导入';\r\n");
      out.write("  　     \t\ttb.addButton( new Ext.Toolbar.Button({text:caption, cls: 'x-btn-text-icon',icon:'image/import.gif',  handler: importBill } )  );\r\n");
      out.write("       \t\ttb.addSeparator();\r\n");
      out.write("       }\r\n");
      out.write("       \r\n");
      out.write("       if(toolbarConfig.searchbill.visible)\r\n");
      out.write("       { \r\n");
      out.write("    \t    var caption= toolbarConfig.searchbill.caption;\r\n");
      out.write("    \t    if( caption==\"\") caption='条件查询';\r\n");
      out.write("  　     \t\ttb.addButton( new Ext.Toolbar.Button({text: caption, cls: 'x-btn-text-icon',icon:'image/search16.gif',  handler: searchBill } )  );\r\n");
      out.write("       \t\ttb.addSeparator();\r\n");
      out.write("       \t\t\r\n");
      out.write("       \t\ttb.addButton( new Ext.Toolbar.Button({text: \"快速查询\", cls: 'x-btn-text-icon',icon:'image/search16.gif', \r\n");
      out.write("\r\n");
      out.write("       \t\t\tmenu : {items: [\r\n");
      out.write("       \t\t\t             {text:\"未审核的\", cls: 'x-btn-text-icon',icon:'image/view.gif',  handler: quickSearch_unverify  },\r\n");
      out.write("      \t\t\t              {text:\"今天录入的\", cls: 'x-btn-text-icon',icon:'image/view.gif',  handler: quickSearch_today  },\r\n");
      out.write("      \t\t\t          {text:\"3天内的\", cls: 'x-btn-text-icon',icon:'image/view.gif',  handler: quickSearch_today_3  },\r\n");
      out.write("      \t\t\t       {text:\"一周内的\", cls: 'x-btn-text-icon',icon:'image/view.gif',  handler: quickSearch_today_7 },\r\n");
      out.write("      \t\t\t    {text:\"30天内的\", cls: 'x-btn-text-icon',icon:'image/view.gif',  handler: quickSearch_today_30 }\r\n");
      out.write("    \t\t\t                 \r\n");
      out.write("       \t                 \t]\r\n");
      out.write("       \t\t\t　　　　}\r\n");
      out.write("       \t\t　　　　} )  );\r\n");
      out.write("       \t\ttb.addSeparator();\r\n");
      out.write("       \t\t\r\n");
      out.write("       }\r\n");
      out.write("       \r\n");
      out.write("\r\n");
      out.write("       if(toolbarConfig.printbill.visible)\r\n");
      out.write("       { \r\n");
      out.write("    \t    var caption= toolbarConfig.printbill.caption;\r\n");
      out.write("    \t    if( caption==\"\") caption='打印';\r\n");
      out.write("    \t    \r\n");
      out.write("      \t\t tb.addButton( new Ext.Toolbar.Button({\r\n");
      out.write("           \t\ttext: caption,\r\n");
      out.write("           \t\tcls: 'x-btn-text-icon',\r\n");
      out.write("           \t\ticon:'image/print_16.gif',\r\n");
      out.write("              \t\tmenu : {items: [\r\n");
      out.write("                 \t\t");
      if (_jspx_meth_c_005fforEach_005f0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("                 \t\t '-' ,                 \r\n");
      out.write("                 {text: '打印机及页面设置',   cls: 'x-btn-text-icon', \r\n");
      out.write("                \t menu : {items: [\r\n");
      out.write("                \t                 ");
      if (_jspx_meth_c_005fforEach_005f1(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("                \t             '' ]}         \r\n");
      out.write("                 },\r\n");
      out.write("\r\n");
      out.write("                 {text: '打印预览',   cls: 'x-btn-text-icon', \r\n");
      out.write("                \t menu : {items: [\r\n");
      out.write("                \t                 ");
      if (_jspx_meth_c_005fforEach_005f2(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("                \t             '' ]}         \r\n");
      out.write("                 }\r\n");
      out.write("                 ");
      if (_jspx_meth_c_005fif_005f8(_jspx_page_context))
        return;
      out.write(" \r\n");
      out.write("                  \r\n");
      out.write("                 ]}\r\n");
      out.write("     \t\t} )  );\r\n");
      out.write("\r\n");
      out.write("       \t\ttb.addSeparator();\r\n");
      out.write("       \r\n");
      out.write("       }\r\n");
      out.write("       \r\n");
      out.write("       ");
      if (_jspx_meth_c_005fif_005f9(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("        \r\n");
      out.write("       \r\n");
      out.write("       \r\n");
      out.write("  　      ");
      if (_jspx_meth_c_005fforEach_005f3(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\r\n");
      out.write("   　   \r\n");
      out.write("   　   \r\n");
      out.write("         //更的的 以子菜单的方式显示扩展功能 \r\n");
      out.write("       ");
 if( b.funcList2.size()>0){
      out.write("\r\n");
      out.write("       tb.addButton( new Ext.Toolbar.Button({\r\n");
      out.write("           text: '更多功能',\r\n");
      out.write("           cls: 'x-btn-text-icon',\r\n");
      out.write("           icon:'image/cilun.gif',\r\n");
      out.write("              menu : {items: [\r\n");
      out.write("                 ");
      if (_jspx_meth_c_005fforEach_005f4(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("                  ''\r\n");
      out.write("                \r\n");
      out.write("                                    \r\n");
      out.write("                 ]}\r\n");
      out.write("     \t} )  );\r\n");
      out.write("    \t");
}
      out.write("\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");
      out.write("        \r\n");
      out.write("        // create the Data Store\r\n");
      out.write("        $G.ds = new Ext.data.Store(\r\n");
      out.write("      \t{ \r\n");
      out.write("      \t  proxy: new Ext.data.HttpProxy({url: 'zrpc.jsp' }),\r\n");
      out.write("           reader: new Ext.data.JsonReader(\r\n");
      out.write("          \t{\r\n");
      out.write("  \t            root: 'datas',\r\n");
      out.write("  \t            totalProperty: 'totalCount',\r\n");
      out.write("  \t            id: 'id'\r\n");
      out.write("  \t        },\r\n");
      out.write("\t\t\t");
      if (_jspx_meth_c_005fout_005f16(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\t\t\t),\r\n");
      out.write("\r\n");
      out.write("          // turn on remote sorting\r\n");
      out.write("          remoteSort: false\r\n");
      out.write("      });\r\n");
      out.write("\r\n");
      out.write("      var ds= $G.ds;\r\n");
      out.write("     \r\n");
      out.write("      // the column model has information about grid columns\r\n");
      out.write("      // dataIndex maps the column to the specific data field in\r\n");
      out.write("      // the data store\r\n");
      out.write("      var cm = new Ext.grid.ColumnModel(\r\n");
      out.write("    \t\t  ");
      if (_jspx_meth_c_005fout_005f17(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\t\t\t);\r\n");
      out.write("\r\n");
      out.write("      \r\n");
      out.write("      \r\n");
      out.write("\r\n");
      out.write("      // create the editor grid\r\n");
      out.write("      $G.grid = new Ext.grid.Grid('grid', {\r\n");
      out.write("          ds: ds,\r\n");
      out.write("          cm: cm,\r\n");
      out.write("          autoSizeColumns: false,\r\n");
      out.write("          monitorWindowResize: true,\r\n");
      out.write("          selModel: new Ext.grid.RowSelectionModel({singleSelect:false}),\r\n");
      out.write("          enableColLock:false,\r\n");
      out.write("          loadMask: true ,\r\n");
      out.write("          listeners:\r\n");
      out.write("          {\r\n");
      out.write("        \t    'rowclick': onBillClick,\r\n");
      out.write("                'rowdblclick':   onBillDblClick\r\n");
      out.write("                \r\n");
      out.write("          }\r\n");
      out.write("          \r\n");
      out.write("      });\r\n");
      out.write("\r\n");
      out.write("      var grid= $G.grid;\r\n");
      out.write("\r\n");
      out.write("   \r\n");
      out.write("     \r\n");
      out.write("      // render it\r\n");
      out.write("      grid.render();\r\n");
      out.write("\r\n");
      out.write("   \r\n");
      out.write("\r\n");
      out.write("   \r\n");
      out.write("\r\n");
      out.write("      // add a paging toolbar to the grid's footer\r\n");
      out.write("       \r\n");
      out.write("      $G.paging= new Ext.PagingToolbar( \"pagebar\"  /* grid.getView().getFooterPanel(true) */, ds, {\r\n");
      out.write("          pageSize: ");
      if (_jspx_meth_c_005fout_005f18(_jspx_page_context))
        return;
      out.write(",\r\n");
      out.write("         \r\n");
      out.write("          beforePageText:'页码',\r\n");
      out.write("          afterPageText : \"/ {0}\",\r\n");
      out.write("          displayInfo: true,\r\n");
      out.write("          displayMsg: '第 {0} - {1}，共 {2} 张单据',\r\n");
      out.write("          emptyMsg: \"没有查询出符合条件的单据\"\r\n");
      out.write("      });\r\n");
      out.write("\r\n");
      out.write("\t  var paging= $G.paging;\r\n");
      out.write("      \r\n");
      out.write("      // add the detailed view button\r\n");
      out.write("      paging.add('-', {\r\n");
      out.write("          pressed: false,\r\n");
      out.write("          enableToggle:true,\r\n");
      out.write("          text: '查看详情',\r\n");
      out.write("          \r\n");
      out.write("          toggleHandler: toggleDetails\r\n");
      out.write("      });\r\n");
      out.write("\r\n");
      out.write("   \r\n");
      out.write("      var  pcInput= new  Ext.form.TextField ( {\r\n");
      out.write("         autoCreate: {tag: \"select\",   style:\"font-size:12px\", autocomplete: \"off\" , id:\"pc\" , title:\"每页显示行数\"} \r\n");
      out.write("      });\r\n");
      out.write("     \r\n");
      out.write("       paging.addText(\" \");\r\n");
      out.write("      paging.addField( pcInput);\r\n");
      out.write("      paging.addText(\"行/页\");\r\n");
      out.write("\r\n");
      out.write("      paging.addSeparator();\r\n");
      out.write("      \r\n");
      out.write("      var pcobj=$E('pc') ;\r\n");
      out.write("      \r\n");
      out.write("      var pcs =[ 2,20,50,100,250,500,1000];\r\n");
      out.write("      for( var i=0;i<pcs.length;i++) {   addPCtoObj(pcobj , pcs[i]  , pcs[i] ); }\r\n");
      out.write("      // 每页显示行数改变了，需要重新刷新 \r\n");
      out.write("      pcobj.onchange=function()\r\n");
      out.write("      {\r\n");
      out.write("          paging.pageSize = parseInt(pcobj.value);\r\n");
      out.write("          $G.ds.load({ params:{  'start': 0, 'limit' : $E('pc').value  }});\r\n");
      out.write("      }\r\n");
      out.write("      \r\n");
      out.write("      pcobj.value=paging.pageSize;\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("      ");
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f11 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
      _jspx_th_c_005fif_005f11.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f11.setParent(null);
      // /bill2.jsp(598,6) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f11.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flowid>0}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
      int _jspx_eval_c_005fif_005f11 = _jspx_th_c_005fif_005f11.doStartTag();
      if (_jspx_eval_c_005fif_005f11 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("      //如果关联到了工作流，那么增加按工作箱过滤\r\n");
          out.write("      //工作状态查询\r\n");
          out.write("      var flowActions=");
          out.print(b.javaScript_FlowActionAndTitle);
          out.write(";\r\n");
          out.write("      pcInput= new  Ext.form.TextField ( {\r\n");
          out.write("          autoCreate: {tag: \"select\",   style:\"font-size:12px\", autocomplete: \"off\" , id:\"flowbox\" , title:\"工作状态\"} \r\n");
          out.write("       });\r\n");
          out.write("      \r\n");
          out.write("       paging.addText(\"  工作箱：\");\r\n");
          out.write("       paging.addField( pcInput);\r\n");
          out.write("        \r\n");
          out.write("       pcobj=$E('flowbox') ;\r\n");
          out.write("       \r\n");
          out.write("       addPCtoObj(pcobj , \"all\" , \"不限定\" ); \r\n");
          out.write("       for( var i=0;i<flowActions.length;i++) {   addPCtoObj(pcobj , flowActions[i].action  , flowActions[i].title ); }\r\n");
          out.write("       // 每页显示行数改变了，需要重新刷新 \r\n");
          out.write("        \r\n");
          out.write("       pcobj.value=\"all\";\r\n");
          out.write("       \r\n");
          out.write("       ");
          if (_jspx_meth_c_005fif_005f12(_jspx_th_c_005fif_005f11, _jspx_page_context))
            return;
          out.write(" \r\n");
          out.write("       pcobj.onchange=function()\r\n");
          out.write("       {\r\n");
          out.write("            $G.ds.load({ params:{  'start': 0, 'limit' : $E('pc').value  }});\r\n");
          out.write("       }\r\n");
          out.write("      ");
          int evalDoAfterBody = _jspx_th_c_005fif_005f11.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f11);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f11);
      out.write("\r\n");
      out.write("      \r\n");
      out.write("      // trigger the data store load\r\n");
      out.write("      \r\n");
      out.write("     \r\n");
      out.write("       \r\n");
      out.write("       //ds.load会触发此事件，因此可以在此事件中准备更多的参数\r\n");
      out.write("       ds.events['beforeload'].addListener( \r\n");
      out.write("                 function (scope , param)\r\n");
      out.write("  \t\t        {\r\n");
      out.write("                       // 分页工具条会拼装一个 {params:{  'start': 0, 'limit' : this.pageSize}}的参数，\r\n");
      out.write("                      //因此请扩展 param.params，加上更多的参数 \r\n");
      out.write("                       //在此前准备所需的RPC参数\r\n");
      out.write("                       param.params.id='");
      if (_jspx_meth_c_005fout_005f20(_jspx_page_context))
        return;
      out.write("'; //用数字型，避免没有提供参数id引起脚本错误\r\n");
      out.write("                       param.params.billtype='");
      if (_jspx_meth_c_005fout_005f21(_jspx_page_context))
        return;
      out.write("';  //一定要用数字型  \r\n");
      out.write("       \t\t\t\t   param.params.key=$E('searchkey').value;\r\n");
      out.write("       \t\t\t\t   param.params.condition=$E('condition').value;\r\n");
      out.write("\t     \t\t\t   param.params.directWhere=$E('directWhere').value;\r\n");
      out.write("\t     \t\t\t   param.params.queryString= \"");
      if (_jspx_meth_c_005fout_005f22(_jspx_page_context))
        return;
      out.write("\" ;\r\n");
      out.write("\t     \t\t\t   param.params.nodeGuid= \"");
      if (_jspx_meth_c_005fout_005f23(_jspx_page_context))
        return;
      out.write("\" ;\r\n");
      out.write("\t     \t\t\t   \r\n");
      out.write("\t     \t\t\t   param.params.jsonQueryString=\"");
      if (_jspx_meth_c_005fout_005f24(_jspx_page_context))
        return;
      out.write("\";\r\n");
      out.write("\t\t\t\t\t   ");
      if (_jspx_meth_c_005fif_005f13(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("       \t\t\t \t   var s=JSON.toString( param.params ); \r\n");
      out.write("  \t\t               param.params.classname='wiseoa.bill.engine.BillFlowEngine';  //rpc的类\r\n");
      out.write("                       param.params.methodname='getBillDataList'; // rpc的方法\r\n");
      out.write("                       param.params.parameter = s;  //rpc的参数\r\n");
      out.write("                   \r\n");
      out.write("  \t\t        }\r\n");
      out.write("        );\r\n");
      out.write("   \r\n");
      out.write("       ds.events['load'].addListener( \r\n");
      out.write("               function (Store ,  records,   options)\r\n");
      out.write("\t\t        {\r\n");
      out.write("                     var a=   records  ;\r\n");
      out.write("                 \r\n");
      out.write("\t\t        }\r\n");
      out.write("      );\r\n");
      out.write("       \r\n");
      out.write("       RefreshWorkCount();\r\n");
      out.write("       \r\n");
      out.write("      ds.load({ params:{  'start': 0, 'limit' : $G.paging.pageSize }});\r\n");
      out.write("\r\n");
      out.write("      function toggleDetails(btn, pressed){\r\n");
      out.write("          cm.getColumnById('wiseoa_inner_no').renderer = pressed ? $G.renderWiseoaInnerNo : $G.renderDefault;\r\n");
      out.write("          grid.getView().refresh();\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");
      out.write("\r\n");
      out.write("  function quickSearch_unverify()\r\n");
      out.write("  {\r\n");
      out.write("\tquickSearch(\" verifyuserid is null\");\t\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function quickSearch_today()\r\n");
      out.write("  {\r\n");
      out.write("\t  \r\n");
      out.write("\t  quickSearch(\" billdate>='");
      if (_jspx_meth_c_005fout_005f25(_jspx_page_context))
        return;
      out.write("' and billdate<'");
      if (_jspx_meth_c_005fout_005f26(_jspx_page_context))
        return;
      out.write(" 23:59:59' \");\t\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function quickSearch_today_3 ()\r\n");
      out.write("  {\t  \r\n");
      out.write("\t  quickSearch(\" billdate>='");
      if (_jspx_meth_c_005fout_005f27(_jspx_page_context))
        return;
      out.write("' \");\t\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function quickSearch_today_7()\r\n");
      out.write("  {\t  \r\n");
      out.write("\t  quickSearch(\" billdate>='");
      if (_jspx_meth_c_005fout_005f28(_jspx_page_context))
        return;
      out.write("' \");\t\r\n");
      out.write("  }\r\n");
      out.write("  function quickSearch_today_30()\r\n");
      out.write("  {\t  \r\n");
      out.write("\t  quickSearch(\" billdate>='");
      if (_jspx_meth_c_005fout_005f29(_jspx_page_context))
        return;
      out.write("' \");\t\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function quickSearch (where)\r\n");
      out.write("  {\r\n");
      out.write("\t  \r\n");
      out.write("\t//条件查询时，把关键字查询的条件清除\r\n");
      out.write("\t  \t $E('searchkey').value=\"\";\r\n");
      out.write("\t  \t $E('directWhere').value=where;\r\n");
      out.write("\t  \t \r\n");
      out.write("\t \r\n");
      out.write("\t  \t $E('condition').value=\"\";\r\n");
      out.write("\r\n");
      out.write("\t  \t $G.ds.load({ params:{  'start': 0, 'limit' : $G.paging.pageSize }});\r\n");
      out.write("\t  \t \r\n");
      out.write("\t  \t\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("   \r\n");
      out.write("  \r\n");
      out.write("\r\n");
      out.write("  $G.runFunction=function(item)\r\n");
      out.write("  {\r\n");
      out.write("\t\t var funcName=  item.funcName ;\r\n");
      out.write("\r\n");
      out.write("\t\t var s= getAllSelectedIDArray(); //把选中的ID做参数传入\r\n");
      out.write("\t\t if( s==null) return;\r\n");
      out.write("\t\t var script=funcName+\"( \"+JSON.toString(s)+\" );\";\r\n");
      out.write("\t\t //alert( script);\r\n");
      out.write("\t\t getApplet().eval( script );\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  $G.printBill=function(item)\r\n");
      out.write("  {\r\n");
      out.write("\t\t var guid=  item.guid ;\r\n");
      out.write("\t\t var ids=getAllSelectedIDs();\r\n");
      out.write("\t\t if ( ids==\"\") \r\n");
      out.write("\t\t {\r\n");
      out.write("\t\t\t alert(\"请至少选择一张单据\");\r\n");
      out.write("\t\t\t return ;\r\n");
      out.write("\t\t }\r\n");
      out.write("\r\n");
      out.write("\t\t setTimeout( \"printBill('\"+guid+\"','\"+ids+\"')\" , 100);\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  function loadPrintFormatPageIfNeeded( )\r\n");
      out.write("  {\r\n");
      out.write("\t  var f=$E('billprint');\r\n");
      out.write("\t  var pw=$iframe(\"billprint\");\r\n");
      out.write("\t  if( f.src.indexOf(\".jsp\")>0) return;\r\n");
      out.write("\t  f.style.width=\"20px\";\r\n");
      out.write("\t  f.style.height=\"20px\";\r\n");
      out.write("\t  f.frameBorder=1;\r\n");
      out.write("\t  f.src=f.title;\r\n");
      out.write("\t \r\n");
      out.write("\t  getApplet().showInfoPane(\"<p align=center>正在加载打印格式...</p>\",300,75);\r\n");
      out.write("\t \r\n");
      out.write("\t  while( true)\r\n");
      out.write("\t  { \r\n");
      out.write("\t  \tgetApplet().delay(100);\r\n");
      out.write("\t  \tif(   pw.isAppletLoadOK()  ) break;\r\n");
      out.write("\t  }\r\n");
      out.write("\t  getApplet().hideInfoPane();\r\n");
      out.write("\t \r\n");
      out.write("\t   \r\n");
      out.write("\t  \r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function printBill( guid , ids)\r\n");
      out.write("  {\r\n");
      out.write("\t \r\n");
      out.write("\t    var b=   getApplet().printPermit(ids);\r\n");
      out.write(" \r\n");
      out.write("\t    if(! b) return;  \r\n");
      out.write(" \r\n");
      out.write("\t    \r\n");
      out.write("\t      loadPrintFormatPageIfNeeded( );\r\n");
      out.write("\t  \r\n");
      out.write("\t  \t var pw=$iframe(\"billprint\");\r\n");
      out.write("\t\t var printApplet =pw.document.getElementById(\"billapplet\");\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t if ( ! pw.isAppletLoadOK()  ||  printApplet==null)\r\n");
      out.write("\t\t {\r\n");
      out.write("\t\t\t setTimeout( \"printBill('\"+guid+\"','\"+ids+\"')\" , 1000);\r\n");
      out.write("\t\t\t return ;\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t }\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t printApplet.printBill( guid, ids, \"print\");\r\n");
      out.write("\t\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  $G.printSetupBill=function(item)\r\n");
      out.write("  {\r\n");
      out.write("\t  var guid=  item.guid ;\r\n");
      out.write("\t  //如果直接调用 而不是setTimeout ,那么页面不会显示在前面\r\n");
      out.write("\t  setTimeout( \"printSetupBill('\"+guid+\"')\" , 100);\r\n");
      out.write("\t   \r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  function printSetupBill(guid)\r\n");
      out.write("  {\r\n");
      out.write("\t \r\n");
      out.write("\t     loadPrintFormatPageIfNeeded( );\r\n");
      out.write("\t\t var pw=$iframe(\"billprint\");\r\n");
      out.write("\t\t var printApplet =pw.document.getElementById(\"billapplet\");\r\n");
      out.write("\t\t if ( !pw.isAppletLoadOK()  ||  printApplet==null)\r\n");
      out.write("\t\t {\r\n");
      out.write("\t\t\t setTimeout( \"printSetupBill('\"+guid+\"')\" , 1000);\r\n");
      out.write("\t\t\t return ;\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t }\r\n");
      out.write("\t\t printApplet.printBill( guid, \"\", \"printsetup\");\r\n");
      out.write(" \t\t \r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("\r\n");
      out.write("  $G.printPreviewBill=function(item)\r\n");
      out.write("  {\r\n");
      out.write("\t\t var guid=  item.guid ;\r\n");
      out.write("\t\t var ids=getAllSelectedIDs();\r\n");
      out.write("\t\t if ( ids==\"\") \r\n");
      out.write("\t\t {\r\n");
      out.write("\t\t\t alert(\"请至少选择一张单据\");\r\n");
      out.write("\t\t\t return ;\r\n");
      out.write("\t\t }\r\n");
      out.write("\t\t setTimeout( \"printPreviewBill('\"+guid+\"','\"+ids+\"')\" , 100);\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  \r\n");
      out.write("  function  printPreviewBill ( guid, ids)\r\n");
      out.write("  {\r\n");
      out.write("\t  \r\n");
      out.write("\t  var b=   getApplet().printPermit(ids);\r\n");
      out.write("\t    if(! b) return;  \r\n");
      out.write("\t  \r\n");
      out.write("\t    \r\n");
      out.write("\t  \t loadPrintFormatPageIfNeeded( );\r\n");
      out.write("\t  \t\r\n");
      out.write("\t     var pw=$iframe(\"billprint\");\r\n");
      out.write("\t\t var printApplet =pw.document.getElementById(\"billapplet\");\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t if ( !pw.isAppletLoadOK()  ||  printApplet==null)\r\n");
      out.write("\t\t {\r\n");
      out.write("\t\t\t setTimeout( \"printPreviewBill('\"+guid+\"','\"+ids+\"')\" , 1000);\r\n");
      out.write("\t\t\t return ;\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t }\r\n");
      out.write("\t\t \r\n");
      out.write("\t \t printApplet.printBill( guid, ids, \"printpreview\");\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");
      out.write("  /**\r\n");
      out.write("   * 刷新某行 ,注意是使用异步刷新\r\n");
      out.write("   * @record ： record.data 记录的是一条记录的数据\r\n");
      out.write("   */\r\n");
      out.write("   $G.refreshRetrieve=function (d)\r\n");
      out.write("  {\r\n");
      out.write("\t   \r\n");
      out.write("       var ds=  $G.ds;\r\n");
      out.write("     \r\n");
      out.write("       var record= ds.getById( d.data.id);\r\n");
      out.write("       var isnewbill= record.data.wiseoa_inner_isnewbill; //新录入的单据，如果再次刷新，标记就没了， 所以先记下来\r\n");
      out.write("       // 复制数据到记录集中\r\n");
      out.write("       CopyToExtRecord (d.data , record);  \r\n");
      out.write("       record.set(\"wiseoa_inner_isnewbill\",isnewbill);\r\n");
      out.write("           \r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  /**\r\n");
      out.write("   * 追加某行到列表中\r\n");
      out.write("   * @record ： record.data 记录的是一条记录的数据 \r\n");
      out.write("   */\r\n");
      out.write("  $G.appendRetrieve=function ( record)\r\n");
      out.write("  {\r\n");
      out.write("       //新记录的序号是最后一个序号+1\r\n");
      out.write("\t   var newNo=1;\r\n");
      out.write("\t   if ($G.ds.getCount()>0)\r\n");
      out.write("\t   { \r\n");
      out.write("\t   \t\tvar i= $G.ds.getCount() -1; \r\n");
      out.write("       \t\tnewNo=  $G.ds.getAt(i ).data.wiseoa_inner_no +1;\r\n");
      out.write("\t   }\r\n");
      out.write("\t  \t    \r\n");
      out.write("       var  dsRecord= new Ext.data.Record( record.data , record.data.id) ;\r\n");
      out.write("       $G.ds.add( dsRecord);\r\n");
      out.write("       dsRecord.set(\"wiseoa_inner_no\", newNo);\r\n");
      out.write("       dsRecord.set(\"wiseoa_inner_isnewbill\", 1); //表明是新单据\r\n");
      out.write("         \r\n");
      out.write("       var index=$G.ds.indexOf( dsRecord);\r\n");
      out.write("       \r\n");
      out.write("       var sm=$G.grid.getSelectionModel( );\r\n");
      out.write("       sm.clearSelections();\r\n");
      out.write("       sm.selectRow(index);\r\n");
      out.write("       \r\n");
      out.write("  }  \r\n");
      out.write("\r\n");
      out.write("  //渲染脚本\r\n");
      out.write("  ");
      out.print(b.javaScript_render);
      out.write("\r\n");
      out.write("  \r\n");
      out.write("  $G.renderDefault=function (value,p,record)\r\n");
      out.write("  {\r\n");
      out.write("\t  if ( ! value) return \"\";\r\n");
      out.write("      return value;\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  $G.renderObsolete=function (value,p,record)\r\n");
      out.write("  {\r\n");
      out.write("\t  if ( ! value) return \"\";\r\n");
      out.write("\t  if( value==1) return \"作废\";\r\n");
      out.write("      return \"\";\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  \r\n");
      out.write("  $G.renderWiseoaInnerNo=function(value,p,record)\r\n");
      out.write("  {\r\n");
      out.write("\t  if ( record.data.obsolete_==1)  return value+\"<font color=red>废</font>\";\r\n");
      out.write("\t  if( record.json.worklevel)\r\n");
      out.write("\t\t  { \r\n");
      out.write("\t  \t\t\tif ( record.json.worklevel ==1)  return value+\"<font color=red>急</font>\";\r\n");
      out.write("\t\t  }\r\n");
      out.write("\t  if ( record.data.wiseoa_inner_isnewbill ==1)  return value+\"<img src='image/star5.gif' align='absmiddle' title='新录入的单据'>\";\r\n");
      out.write("\t  \r\n");
      out.write("      return value;\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write(" $G.render_wiseoa_inner_selected=function(value,p,record)\r\n");
      out.write("  {\r\n");
      out.write("      \r\n");
      out.write("      return \"<input type='checkbox' style='padding:0;margin:0;height:12px;'>\";\r\n");
      out.write("      \r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write(" $(document).ready( function()\r\n");
      out.write("\t\t  {\r\n");
      out.write("\t\t          \r\n");
      out.write("\t\t      $G.init();\r\n");
      out.write("\t\t     \r\n");
      out.write("\t\t   \r\n");
      out.write("\t\t  });\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("  function doNothing()\r\n");
      out.write("  {\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  function addPCtoObj( obj, v , t)\r\n");
      out.write("  {\r\n");
      out.write("      var oOption = document.createElement(\"OPTION\");\r\n");
      out.write("      obj.options.add(oOption);\r\n");
      out.write("      oOption.innerText = t;\r\n");
      out.write("      oOption.value = v;\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");
      out.write("  var  appletLoadOK=false;\r\n");
      out.write("  \r\n");
      out.write("  function isAppletLoadOK()\r\n");
      out.write("  {\r\n");
      out.write("\t  if(appletLoadOK) return true;\r\n");
      out.write("\t  var applet=getApplet();\r\n");
      out.write("\t  if(!applet) return false;\r\n");
      out.write("\t  //有时候dataPrepared会回调失败，极少，但出现过，原因不明\r\n");
      out.write("\t  //所以增加了直接读取applet.allInitOK的检测\r\n");
      out.write("\t  if( applet.allInitOK)\r\n");
      out.write("\t  {\r\n");
      out.write("\t\t   \r\n");
      out.write("\t\t  dataPrepared();\r\n");
      out.write("\t\t  \r\n");
      out.write("\t\t \r\n");
      out.write(" \t\t  return true; \r\n");
      out.write("\t  }else\r\n");
      out.write("\t\t  {\r\n");
      out.write("\t\t  return false;\r\n");
      out.write("\t\t }\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  var appletLoading=\"正在加载，请稍候再操作\";\r\n");
      out.write("  //由applet回调\r\n");
      out.write("  function dataPrepared()\r\n");
      out.write("  {\r\n");
      out.write(" \r\n");
      out.write("  \t $E('loading').style.display=\"none\";\r\n");
      out.write("  \t appletLoadOK=true;\t\r\n");
      out.write("  \tgetApplet().RunScript( \"billlistOpen\" , [  ]);\r\n");
      out.write("  \t ");
      if (_jspx_meth_c_005fif_005f14(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  \r\n");
      out.write("  function getApplet( waitForInitOk)\r\n");
      out.write("  {\r\n");
      out.write("  \tif( waitForInitOk==undefined) waitForInitOk=true;\r\n");
      out.write("  \t\t\r\n");
      out.write("  \tvar ret= $E('billapplet');\r\n");
      out.write("  \tif( ret==undefined || ret==null) \r\n");
      out.write("  \t{\r\n");
      out.write("  \t\treloadApplet();\r\n");
      out.write("  \t\tret= $E('billapplet');//需要重新得到　\r\n");
      out.write("  \t} \r\n");
      out.write("  \t\r\n");
      out.write("  \tif(! ret.GUID)  \r\n");
      out.write("  \t{\r\n");
      out.write("  \t\treloadApplet();\r\n");
      out.write("  \t\tret= $E('billapplet');//需要重新得到\r\n");
      out.write("  \t}\r\n");
      out.write("  \t\r\n");
      out.write("  \t\r\n");
      out.write("  \t//如果必须等Applet初始完成，那么就检查\r\n");
      out.write("  \tvar tryCount=0;\r\n");
      out.write("  \twhile( ! ret.initialOk &&  waitForInitOk )\r\n");
      out.write("  \t{\r\n");
      out.write("  \t\tret.delay(500);\r\n");
      out.write("  \t\ttryCount++;\r\n");
      out.write("  \t\t");
      if (_jspx_meth_c_005fif_005f15(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("  \t\t\r\n");
      out.write("  \t\tif( tryCount>200)\r\n");
      out.write("  \t\t\t{\r\n");
      out.write("  \t\t\treturn null;\r\n");
      out.write("  \t\t\t}\r\n");
      out.write("  \t\t\r\n");
      out.write("  \t}\r\n");
      out.write("  \t\r\n");
      out.write("  \treturn ret; \r\n");
      out.write("  \t\t\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  function reloadApplet()\r\n");
      out.write("  {\r\n");
      out.write("\t  \r\n");
      out.write("\t ");
      if (_jspx_meth_c_005fif_005f16(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("  \tvar obj=$E('appletContainer');\r\n");
      out.write("   \tobj.innerHTML=\"&nbsp;\";\r\n");
      out.write("  \tobj.innerHTML=appletContainer_innerHTML;\r\n");
      out.write("  \t\r\n");
      out.write("  }\r\n");
      out.write("   \r\n");
      out.write("  \r\n");
      out.write("  //按当前条件重新检索一下，比如在 nodeAndEdge.js中工作受理后，需要刷新一下单据列表\r\n");
      out.write("  function refreshList( refreshCount)\r\n");
      out.write("  {\r\n");
      out.write("\t  $G.ds.load({ params:{  'start': 0, 'limit' : $G.paging.pageSize }});\r\n");
      out.write("\t  //刷新一下工作统计 \r\n");
      out.write("\t  if(refreshCount) RefreshWorkCount();\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("\r\n");
      out.write("  function switchToListForm(  )\r\n");
      out.write("  {\r\n");
      out.write("\t  parent.frames('mainFrame').location.href=( \"");
      if (_jspx_meth_c_005fout_005f30(_jspx_page_context))
        return;
      out.write("/blank.jsp\");\r\n");
      out.write("\t \r\n");
      out.write("      parent.billframeset.cols=\"*,0\";\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  function switchToBillForm( url)\r\n");
      out.write("  {\r\n");
      out.write("     parent.billframeset.cols=\"0,*\";\r\n");
      out.write("     try\r\n");
      out.write("     { \r\n");
      out.write("     \tparent.frames('mainFrame').location.href=( url);\r\n");
      out.write("     }catch(err)\r\n");
      out.write("     {\r\n");
      out.write("    \t parent.frames['mainFrame'].window.location.href=  url ;\r\n");
      out.write("     }\r\n");
      out.write("  }\r\n");
      out.write("      \r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  function onBillDblClick( )\r\n");
      out.write("  {\r\n");
      out.write("\t  var action='");
      if (_jspx_meth_c_005fout_005f31(_jspx_page_context))
        return;
      out.write("' ;\r\n");
      out.write("\t \r\n");
      out.write("\t  //alert( action);\r\n");
      out.write("\t  if( action=='default_action_view' )\r\n");
      out.write("      {\r\n");
      out.write("\t\t   viewBill();\r\n");
      out.write("\t\t   return;\r\n");
      out.write("\t  }\r\n");
      out.write("\t  \r\n");
      out.write("\t  if( action=='default_action_edit'|| action=='')\r\n");
      out.write("      {\r\n");
      out.write("\t\t   editBill();\r\n");
      out.write("\t\t   return;\r\n");
      out.write("\t  }\r\n");
      out.write("\t  \r\n");
      out.write("\t  if( action=='default_action_null')\r\n");
      out.write("      { \r\n");
      out.write("\t\t   return;\r\n");
      out.write("\t  }\r\n");
      out.write("\t  \r\n");
      out.write("\t  $G.runFunction( {funcName:action } ) ;\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t  \r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write(" //单击单据，如果有子窗口，那么通知子窗口bill clicked \r\n");
      out.write("  function onBillClick( )\r\n");
      out.write("  {  \r\n");
      out.write("\t\tvar id=getSelectedID(false); //不要提醒\r\n");
      out.write("\t  \tif ( id==null) return;\r\n");
      out.write("\t  \t\r\n");
      out.write("\t  \tvar f=$iframe('detailframe');\r\n");
      out.write("\t  \tif( f==undefined) return ;\r\n");
      out.write("\t  \tf.onBillClicked( id);\r\n");
      out.write(" \t  \r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  function newBill(param)\r\n");
      out.write("  {\r\n");
      out.write("\t if( typeof( param)=='object' ) param='';\r\n");
      out.write("\t \r\n");
      out.write("\t  if( param!=undefined) param=\"&\"+param;\r\n");
      out.write("  \tif (! isAppletLoadOK()) \r\n");
      out.write("  \t{\r\n");
      out.write("  \t\talert( appletLoading);\r\n");
      out.write("  \t\treturn ;\r\n");
      out.write("  \t}\r\n");
      out.write("  \t if ( !getApplet().newPermit( )) return;\r\n");
      out.write("\r\n");
      out.write("   \t");
      if (_jspx_meth_c_005fif_005f17(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("    ");
      if (_jspx_meth_c_005fif_005f18(_jspx_page_context))
        return;
      out.write("\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");
      out.write("  function printDesign()\r\n");
      out.write("  {\r\n");
      out.write("\t  var printFormatTemplateId =  \"");
      if (_jspx_meth_c_005fout_005f34(_jspx_page_context))
        return;
      out.write("\";\r\n");
      out.write("\t  if( printFormatTemplateId=='0')\r\n");
      out.write("\t  {\r\n");
      out.write("\t\t\talert(\"请先在单据管理中为单据增加打印格式\");  \r\n");
      out.write("\t  }else\r\n");
      out.write("  \t  { \r\n");
      out.write("\t  \t    open(\"workbook_config_frame.jsp?id=\"+printFormatTemplateId);\r\n");
      out.write("  \t  }\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function billConfig()\r\n");
      out.write("  {\r\n");
      out.write("\t  open(\"system_bill_set.jsp?id=");
      if (_jspx_meth_c_005fout_005f35(_jspx_page_context))
        return;
      out.write("\");\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function templateConfig()\r\n");
      out.write("  {\r\n");
      out.write("\t  open(\"workbook_config_frame.jsp?id=\"+templateId);\r\n");
      out.write("\t \r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function flowConfig()\r\n");
      out.write("  {\r\n");
      out.write("\t  open(\"flow_set.jsp?id=");
      if (_jspx_meth_c_005fout_005f36(_jspx_page_context))
        return;
      out.write("\");\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function dbConfig()\r\n");
      out.write("  {\r\n");
      out.write("\t  open(\"workbook_db_frame.jsp?type=form&id=\"+templateId);\r\n");
      out.write("\t   \r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  function getAllSelectedIDs()\r\n");
      out.write("  {\r\n");
      out.write("   \r\n");
      out.write("  \tif (! isAppletLoadOK()) \r\n");
      out.write("  \t{\r\n");
      out.write("  \t\talert( appletLoading);\r\n");
      out.write("  \t\treturn null;\r\n");
      out.write("  \t}\r\n");
      out.write("\r\n");
      out.write("   \tvar records=$G.grid.getSelectionModel().getSelections() ;\r\n");
      out.write("\r\n");
      out.write("  \tif ( records.length==0) return \"\";\r\n");
      out.write("\r\n");
      out.write("  \tvar ret=\"\";\r\n");
      out.write("  \tfor( var i=0;i<records.length;i++)\r\n");
      out.write("  \t{\r\n");
      out.write("  \t\tif( ret==\"\")\r\n");
      out.write("  \t\t{\r\n");
      out.write("  \t\t\tret=records[i].id;\r\n");
      out.write("  \t\t}else\r\n");
      out.write("  \t\t{\r\n");
      out.write("  \t\t\tret=ret+\",\"+records[i].id;\r\n");
      out.write("  \t\t}\r\n");
      out.write("  \t}\r\n");
      out.write("  \treturn ret;\r\n");
      out.write("\r\n");
      out.write("  }\r\n");
      out.write("   \r\n");
      out.write("  function getAllSelectedIDArray()\r\n");
      out.write("  {\r\n");
      out.write("   \r\n");
      out.write("  \tif (! isAppletLoadOK()) \r\n");
      out.write("  \t{\r\n");
      out.write("  \t\talert( appletLoading);\r\n");
      out.write("  \t\treturn null;\r\n");
      out.write("  \t}\r\n");
      out.write("\r\n");
      out.write("   \tvar records=$G.grid.getSelectionModel().getSelections() ;\r\n");
      out.write("\r\n");
      out.write("   \tvar ret=[];\r\n");
      out.write("   \t\r\n");
      out.write("  \tif ( records.length==0) return ret;\r\n");
      out.write("\r\n");
      out.write("  \t\r\n");
      out.write("  \tfor( var i=0;i<records.length;i++)\r\n");
      out.write("  \t{\r\n");
      out.write("  \t  \tret.push( records[i].id );\r\n");
      out.write("   \t}\r\n");
      out.write("  \treturn ret;\r\n");
      out.write("\r\n");
      out.write("  }\r\n");
      out.write("    \t\r\n");
      out.write("\r\n");
      out.write("   \t\r\n");
      out.write("  function getSelectedID(tip )\r\n");
      out.write("  {\r\n");
      out.write("   \r\n");
      out.write("\t  if( tip==undefined) tip=true;\r\n");
      out.write("\t  \r\n");
      out.write("  \tif (! isAppletLoadOK()) \r\n");
      out.write("  \t{\r\n");
      out.write("  \t\tif(tip) alert( appletLoading);\r\n");
      out.write("  \t\treturn null;\r\n");
      out.write("  \t}\r\n");
      out.write("\r\n");
      out.write("   \tvar record=$G.grid.getSelectionModel().getSelected() ;\r\n");
      out.write("   \r\n");
      out.write("    \r\n");
      out.write("   \t\r\n");
      out.write("  \tif ( record==undefined)\r\n");
      out.write("  \t{\r\n");
      out.write("  \t\t\r\n");
      out.write("  \t \t\textAlert(\"提示\",\"请先选择一张单据\"); \r\n");
      out.write("  \t \t \r\n");
      out.write("  \t\t    return null;\r\n");
      out.write("  \t }\r\n");
      out.write("      \r\n");
      out.write("      if ($G.grid.getSelectionModel().getCount()>1 )\r\n");
      out.write("      {\r\n");
      out.write("          if(tip) extAlert(\"提示\",\"只能选择一张单据进行操作\"); \r\n");
      out.write("          return null;\r\n");
      out.write("      }\r\n");
      out.write("      \r\n");
      out.write("  \t var id= record.id;\r\n");
      out.write("  \t return id;\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  function deleteBill()\r\n");
      out.write("  {\r\n");
      out.write("\r\n");
      out.write("  \t var id=getSelectedID();\r\n");
      out.write("  \t if ( id==null) return;\r\n");
      out.write("   \r\n");
      out.write("  \t \r\n");
      out.write("  \t //删除脚本控制\r\n");
      out.write("  \t if ( !getApplet().deletePermit(id)) return;\r\n");
      out.write("  \t \r\n");
      out.write("  \tvar record= $G.ds.getById( id);\r\n");
      out.write("  \tif( record.data.verifyuserid)\r\n");
      out.write("  \t{\r\n");
      out.write("  \t\tif( record.data.verifyuserid==0||record.data.verifyuserid==null )\r\n");
      out.write("  \t\t{\r\n");
      out.write("  \t\t}else\r\n");
      out.write("  \t\t{\r\n");
      out.write("  \t\t\t  \r\n");
      out.write("  \t\t\textAlert(\"提示\",\"单据已审核，禁止删除，只允许查看\"); \r\n");
      out.write("  \t\t\treturn ;\r\n");
      out.write("  \t\t}\r\n");
      out.write("  \t}\r\n");
      out.write("  \t\r\n");
      out.write("\r\n");
      out.write("  \t Ext.MessageBox.confirm('请确认', '数据删除，将无法恢复，确信要删除吗?', \r\n");
      out.write("  \t\t  \t   function( btn)\r\n");
      out.write("  \t\t  \t   { \r\n");
      out.write("  \t\t  \t \r\n");
      out.write("  \t\t  \t   \t  if ( btn!='yes') return;\r\n");
      out.write("  \t\t  \t   \t  var moreSQL= getApplet().js_call_afterDeleteBill(id );\r\n");
      out.write("  \t\t  \t   \t  jsrsExecute(\"servlet/wiseoa.bill.rpc.BillDataManage\", callback_delete, \"deleteOneBill\", [dsn,templateId, tableName ,  id ,moreSQL ] ,false);\r\n");
      out.write("  \t\t  \t     \r\n");
      out.write("  \t\t  \t   });\r\n");
      out.write("  \t \r\n");
      out.write("  \t  \r\n");
      out.write("  \t\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  //刷新指定行的数据\r\n");
      out.write("  function callback_delete(msg)\r\n");
      out.write("  {\r\n");
      out.write("   \r\n");
      out.write("  \t if (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("  \t\t{\r\n");
      out.write("  \t\t\tvar id= extractValue(msg,\"id\");\r\n");
      out.write("  \t\t    var record= $G.ds.getById( id);\r\n");
      out.write("    \t\t   if (record !=null)\r\n");
      out.write("    \t\t   {\r\n");
      out.write("    \t\t\t \tvar index=$G.ds.indexOf( record);\r\n");
      out.write("    \t         \r\n");
      out.write("     \t\t\t    $G.ds.remove(  record);  // 从界面上删除该记录\r\n");
      out.write("  \t\t\t\t//再选中下一行\r\n");
      out.write("    \t         \tvar sm=$G.grid.getSelectionModel( );\r\n");
      out.write("    \t        \tsm.clearSelections();\r\n");
      out.write("    \t      \r\n");
      out.write("    \t        \tif ( index == $G.ds.getCount() ) index--; //如果是删除最后一行，那么选中上一行\r\n");
      out.write("    \t         \tsm.selectRow(index);\r\n");
      out.write("\r\n");
      out.write("     \t\t\t    \r\n");
      out.write("    \t\t   \t\r\n");
      out.write("    \t\t   \t     \r\n");
      out.write("    \t\t   \t\tgetApplet().afterBillDeleteSuccess( ) ;\r\n");
      out.write("    \t\t   \t\t\r\n");
      out.write("    \t\t   \t\talert(\"单据正在后台删除。\");\r\n");
      out.write("    \t\t   \t\t//成功删除后，切换到列表窗口\r\n");
      out.write("    \t\t   \t\tswitchToListForm();\r\n");
      out.write("    \t\t   \t \r\n");
      out.write("    \t\t   }\r\n");
      out.write("  \t\t}else\r\n");
      out.write("  \t\t{\r\n");
      out.write("  \t\t   alert ( extractValue(msg, \"error\"));\r\n");
      out.write("  \t\t} \r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  function obsoleteBill()\r\n");
      out.write("  {\r\n");
      out.write("\r\n");
      out.write("  \t var id=getSelectedID();\r\n");
      out.write("  \t if ( id==null) return;\r\n");
      out.write("  \t var record= $G.ds.getById( id);\r\n");
      out.write("  \t //删除脚本控制\r\n");
      out.write("  \t if ( !getApplet().obsoletePermit(id)) return;\r\n");
      out.write("  \t \r\n");
      out.write(" \r\n");
      out.write("  \tif( record.data.verifyuserid)\r\n");
      out.write("  \t{\r\n");
      out.write("  \t\tif( record.data.verifyuserid==0||record.data.verifyuserid==null )\r\n");
      out.write("  \t\t{\r\n");
      out.write("  \t\t}else\r\n");
      out.write("  \t\t{\r\n");
      out.write("  \t\t\t  \r\n");
      out.write("  \t\t\textAlert(\"提示\",\"单据已审核，禁止作废，只允许查看\"); \r\n");
      out.write("  \t\t\treturn;\r\n");
      out.write("  \t\t}\r\n");
      out.write("  \t}\r\n");
      out.write("  \t\r\n");
      out.write("\r\n");
      out.write("  \t Ext.MessageBox.confirm('请确认', \"确信要\"+(record.data.obsolete_==0||record.data.obsolete_==null?\"作废\":\"取消作废\")+\"单据吗?\", \r\n");
      out.write("  \t  \t   function( btn)\r\n");
      out.write("  \t  \t   { \r\n");
      out.write("  \t\t  \t \r\n");
      out.write("  \t  \t   \t    if ( btn!='yes') return;\r\n");
      out.write("  \t  \t   \t    jsrsExecute(\"servlet/wiseoa.bill.rpc.BillDataManage\", callback_obsolete, \"obsoleteOneBill\",\r\n");
      out.write("  \t  \t\t  \t   \t             [dsn,templateId, tableName ,  id ] ,false);\r\n");
      out.write("  \t\t  \t     \r\n");
      out.write("  \t\t  \t});\r\n");
      out.write("  \t \r\n");
      out.write("    \t \r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  //刷新指定行的数据\r\n");
      out.write("  function callback_obsolete(msg)\r\n");
      out.write("  {\r\n");
      out.write("   \r\n");
      out.write("  \t if (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("  \t\t{\r\n");
      out.write("  \t\t    var id= extractValue(msg,\"id\");\r\n");
      out.write("  \t\t    var info= extractValue(msg, \"info\");\r\n");
      out.write("     \t\t    setTimeout( \" reloadBillInfo('\"+id+\"')\",10);\r\n");
      out.write("     \t\t    alert( info );\r\n");
      out.write("  \t\t}else\r\n");
      out.write("  \t\t{\r\n");
      out.write("  \t\t   alert ( extractValue(msg, \"error\"));\r\n");
      out.write("  \t\t} \r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  //将指定ID的行选中\r\n");
      out.write("  function setBillFocus(id)\r\n");
      out.write("  {\r\n");
      out.write("  \tif (! mygrid.isItemExists(id)) return false;\r\n");
      out.write("  \tmygrid.setSelectedRow(id);\r\n");
      out.write("  \treturn true;\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  function viewBill()\r\n");
      out.write("  {\r\n");
      out.write("\r\n");
      out.write("  \tvar id=getSelectedID();\r\n");
      out.write("  \t \r\n");
      out.write("  \t \r\n");
      out.write("  \t if ( id==null) return;\r\n");
      out.write("  \t if ( id===undefined) return;\r\n");
      out.write("\r\n");
      out.write("  \t if (  id.indexOf(\",\")>=0) \r\n");
      out.write("  \t {\r\n");
      out.write("  \t\t \r\n");
      out.write("  \t\t alert(\"请只选择一条单据\");\r\n");
      out.write("  \t\t return;\r\n");
      out.write("  \t }\r\n");
      out.write("  \t  //查看脚本控制\r\n");
      out.write("   \t  if ( !getApplet().viewPermit(id)) return;\r\n");
      out.write("  \t \r\n");
      out.write("  \t var url= 'billedit.jsp'+appendQueryString('tableid='+tableId +'&id='+id+'&action=view');\r\n");
      out.write("  \t \r\n");
      out.write("  \t ");
      if (_jspx_meth_c_005fif_005f19(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("      switchToBillForm (url); \r\n");
      out.write("\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  \r\n");
      out.write("  function editBill()\r\n");
      out.write("  {\r\n");
      out.write("\r\n");
      out.write("  \tvar id=getSelectedID();\r\n");
      out.write("  \t\r\n");
      out.write("  \t if ( id==null) return;\r\n");
      out.write("  \t \r\n");
      out.write("  \t if ( !getApplet().editPermit(id)) return;\r\n");
      out.write("  \t \r\n");
      out.write("  \tvar record= $G.ds.getById( id);\r\n");
      out.write("  \t\r\n");
      out.write("  \tvar action=\"edit\";\r\n");
      out.write("  \tif( record.data.verifyuserid)\r\n");
      out.write("  \t{\r\n");
      out.write("  \t\tif( record.data.verifyuserid==0||record.data.verifyuserid==null )\r\n");
      out.write("  \t\t{\r\n");
      out.write("  \t\t}else\r\n");
      out.write("  \t\t{\r\n");
      out.write("  \t\t \t//extAlert(\"提示\",\"单据已审核，禁止编辑，只允许查看\");\r\n");
      out.write("  \t\t    // 在 initAction 里会处理的，不用担心\r\n");
      out.write("  \t\t}\r\n");
      out.write("  \t}\r\n");
      out.write("  \t\r\n");
      out.write("  \t\r\n");
      out.write("  \t var url= '");
      if (_jspx_meth_c_005fout_005f39(_jspx_page_context))
        return;
      out.write("/billedit.jsp'+appendQueryString('tableid='+tableId +'&id='+id+'&action='+action) ; \r\n");
      out.write("\r\n");
      out.write(" \t ");
      if (_jspx_meth_c_005fif_005f20(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("    \r\n");
      out.write("    switchToBillForm (url);\r\n");
      out.write("    \r\n");
      out.write("\r\n");
      out.write("\t  \r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  function callback_checkWorkIdForBIll( msg)\r\n");
      out.write("  {\r\n");
      out.write("\t  \r\n");
      out.write("     if (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("\t {\r\n");
      out.write("\t    var  workid= extractValue(msg,\"workid\");\r\n");
      out.write("\t    \r\n");
      out.write("\t\tvar id=getSelectedID();\r\n");
      out.write("\t \r\n");
      out.write("\t  \tvar record= $G.ds.getById( id);\r\n");
      out.write("\t  \t record.set ( \"workid\" , workid);\r\n");
      out.write("\r\n");
      out.write("\t    editBill();\r\n");
      out.write("\t    \r\n");
      out.write("\t    \r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("\t\textAlert(\"提示\",  extractValue(msg, \"error\"));\r\n");
      out.write("\t} \r\n");
      out.write("}\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  function verifyBill()\r\n");
      out.write("  {\r\n");
      out.write("\r\n");
      out.write("    \r\n");
      out.write(" \t var id=getSelectedID();\r\n");
      out.write("  \t if ( id==null) return;\r\n");
      out.write("  \t var record= $G.ds.getById( id);\r\n");
      out.write("  \t //删除脚本控制\r\n");
      out.write("  \t if ( !getApplet().verifyPermit(id)) return;\r\n");
      out.write("\r\n");
      out.write("  \t Ext.MessageBox.confirm('请确认', \"确信要\"+(record.data.verifyuserid==0||record.data.verifyuserid==null?\"审核\":\"取消审核\")+\"单据吗?\", \r\n");
      out.write("  \t  \t   function( btn)\r\n");
      out.write("  \t  \t   { \r\n");
      out.write("  \t\t  \t \r\n");
      out.write("  \t  \t   \t    if ( btn!='yes') return;\r\n");
      out.write("  \t  \t   \t    jsrsExecute(\"servlet/wiseoa.bill.rpc.BillDataManage\", callback_verify, \"verifyOneBill\",\r\n");
      out.write("  \t  \t\t  \t   \t             [dsn,templateId, tableName ,  id ] ,false);\r\n");
      out.write("  \t\t  \t     \r\n");
      out.write("  \t\t  \t});\r\n");
      out.write("  \t \r\n");
      out.write("    \t \r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  function showTip(s)\r\n");
      out.write("  {\r\n");
      out.write("  \tvar applet= getApplet();\r\n");
      out.write("  \tapplet.showInfoPane(\"<p align=center>\"+s+\"</p>\",300,75);\r\n");
      out.write("  \tapplet.delay(1000);\r\n");
      out.write("  \tapplet.hideInfoPane();\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  //刷新指定行的数据\r\n");
      out.write("  function callback_verify(msg)\r\n");
      out.write("  {\r\n");
      out.write("   \r\n");
      out.write("  \t if (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("  \t\t{\r\n");
      out.write("  \t\t    var id= extractValue(msg,\"id\");\r\n");
      out.write("  \t\t    var info= extractValue(msg, \"info\");\r\n");
      out.write("     \t\t    setTimeout( \" reloadBillInfo('\"+id+\"')\",10);\r\n");
      out.write("     \t\t   showTip(  info );\r\n");
      out.write("  \t\t}else\r\n");
      out.write("  \t\t{\r\n");
      out.write("  \t\t\textAlert(\"提示\",  extractValue(msg, \"error\"));\r\n");
      out.write("  \t\t} \r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  \r\n");
      out.write("\r\n");
      out.write("  //本函数由applet 调用\r\n");
      out.write(" function searchByApplet( where)\r\n");
      out.write(" {\r\n");
      out.write(" \r\n");
      out.write("\t $E('directWhere').value=where;\r\n");
      out.write("  \t $E('condition').value=\"\";\r\n");
      out.write("  \t $E('searchkey').value=\"\";//关键字清除\t\r\n");
      out.write("  \t $G.ds.load({ params:{  'start': 0, 'limit' : $G.paging.pageSize }});\r\n");
      out.write(" \t\r\n");
      out.write(" }\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("  function Search()\r\n");
      out.write("  {\r\n");
      out.write("  \t//关键字查询时，把条件查询的条件清除\r\n");
      out.write("  \t $E('condition').value=\"\";\r\n");
      out.write("  \t$E('directWhere').value=\"\";\r\n");
      out.write("  \t $G.ds.load({ params:{  'start': 0, 'limit' : $G.paging.pageSize }});\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  function searchBill()\r\n");
      out.write("  {\r\n");
      out.write("  \t var w=window.showModalDialog('billsearch.jsp?id=");
      if (_jspx_meth_c_005fout_005f43(_jspx_page_context))
        return;
      out.write("&billtype=");
      if (_jspx_meth_c_005fout_005f44(_jspx_page_context))
        return;
      out.write("', this , \"dialogWidth:\" + 570  + \"px;dialogHeight:\" +290+  \"px;help:no;scroll:no;status:no\");\r\n");
      out.write("  \t \r\n");
      out.write("  \t if( w==undefined) return; \r\n");
      out.write("  \t if ( w==\"放弃\") return;\r\n");
      out.write("  \t//条件查询时，把关键字查询的条件清除\r\n");
      out.write("  \t $E('searchkey').value=\"\";\r\n");
      out.write("  \t $E('directWhere').value=\"\";\r\n");
      out.write("  \t $E('condition').value=escape( w );\r\n");
      out.write("\r\n");
      out.write("  \t $G.ds.load({ params:{  'start': 0, 'limit' : $G.paging.pageSize }});\r\n");
      out.write("  \t \r\n");
      out.write("  \t\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  function exportBill()\r\n");
      out.write("  {\r\n");
      out.write("\r\n");
      out.write("  \tif (! isAppletLoadOK()) \r\n");
      out.write("  \t{\r\n");
      out.write("  \t\textAlert(\"提示\", appletLoading);\r\n");
      out.write("  \t\treturn ;\r\n");
      out.write("  \t}\r\n");
      out.write("  \t\r\n");
      out.write("  \t \r\n");
      out.write("  \t if ( !getApplet().exportBillPermit( )) return;\r\n");
      out.write("\r\n");
      out.write("  \t \r\n");
      out.write("  \t $E('exportbill-dialog-log-title').innerText=\"正在导出\";\r\n");
      out.write("  \t $E('exportgif').src=\"image/copyfile.gif\";\r\n");
      out.write("\r\n");
      out.write("  \t $E('exportbill-dialog-log-cb-exitandrefresh').style.display=\"none\";\r\n");
      out.write("  \t \r\n");
      out.write("  \t $E('exportbill-dialog-log-cb-exit').disabled=true;\r\n");
      out.write("   \r\n");
      out.write("  \t $.blockUI({ message: $('#exportbill-dialog'), css: { width: '360px' } }); \r\n");
      out.write("  \t  \r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("  function doExportBill( type)\r\n");
      out.write("  {\r\n");
      out.write("\r\n");
      out.write("  \t$E('exportlogcontainer').src=\"billexportlog.jsp?table=\"+tableName;\r\n");
      out.write("       var where=\"\";\r\n");
      out.write("       if ( type==1) where=\"@\";\r\n");
      out.write("       if ( type==2)\r\n");
      out.write("       {\r\n");
      out.write("      \t  var id= getAllSelectedIDs();\r\n");
      out.write("      \t  if ( id==null) id=\"\";\r\n");
      out.write("      \t  if ( id===undefined) id=\"\";\r\n");
      out.write("\r\n");
      out.write("      \t  if ( id==\"\") \r\n");
      out.write("      \t  {\r\n");
      out.write("      \t\textAlert(\"提示\",\"没有选中任何单据\");\r\n");
      out.write("          \t  return;\r\n");
      out.write("      \t  }\r\n");
      out.write("   \t    \r\n");
      out.write("            where=','+id;\r\n");
      out.write("         \r\n");
      out.write("       }\r\n");
      out.write("       \r\n");
      out.write("       if ( type==3) where=\"\"; //全部 \r\n");
      out.write("       \r\n");
      out.write("  \t $.blockUI({ message: $('#exportbill-dialog-log'), css: { width: '460px' } });\r\n");
      out.write("  \t jsrsExecute(\"servlet/wiseoa.bill.rpc.BillDataManage\", null, \"exportBill\", [  dsn,templateId, tableName , where] ,false);\r\n");
      out.write("  \t  \t\t\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  function importBill()\r\n");
      out.write("  {\r\n");
      out.write("  \tif (! isAppletLoadOK()) \r\n");
      out.write("  \t{\r\n");
      out.write("  \t\textAlert(\"提示\", appletLoading);\r\n");
      out.write("  \t\treturn ;\r\n");
      out.write("  \t}\r\n");
      out.write("  \t\r\n");
      out.write("  \t \r\n");
      out.write("  \t if ( !getApplet().importBillPermit( )) return;\r\n");
      out.write("\r\n");
      out.write("   \r\n");
      out.write("  \t\t $E('exportbill-dialog-log-title').innerText=\"正在导入\";\r\n");
      out.write("  \t\t $E('exportgif').src=\"image/copyfile.gif\";\r\n");
      out.write("  \t\t \r\n");
      out.write("  \t\t $E('exportbill-dialog-log-cb-exitandrefresh').style.display=\"\";\r\n");
      out.write("  \t\t $E('exportbill-dialog-log-cb-exitandrefresh').disabled=true;\r\n");
      out.write("  \t\t \r\n");
      out.write("  \t\t $E('exportbill-dialog-log-cb-exit').disabled=true;\r\n");
      out.write("   \r\n");
      out.write("  \t\t $.blockUI({ message: $('#importbill-dialog'), css: { width: '360px' } }); \r\n");
      out.write("  \t\t  \r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  function doImportBill( )\r\n");
      out.write("  {\r\n");
      out.write("\r\n");
      out.write("  \t\r\n");
      out.write("  \t $E('import_dsn').value= dsn;\r\n");
      out.write("  \t  \r\n");
      out.write("  \t $E('import_templateId').value= templateId;\r\n");
      out.write("  \t $E('import_tableName').value= tableName;\r\n");
      out.write("  \t  \r\n");
      out.write("  \t $E('exportlogcontainer').src=\"billexportlog.jsp?action=import&table=\"+tableName;\r\n");
      out.write("  \t \r\n");
      out.write("  \t $.blockUI({ message: $('#exportbill-dialog-log'), css: { width: '460px' } });\r\n");
      out.write("  \t \r\n");
      out.write("  \t  \t\t\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  //当单据修改或新增后，需要刷新列表 \r\n");
      out.write("  function reloadBillInfo( id)\r\n");
      out.write("  { \r\n");
      out.write("  \t $rpc('wiseoa.bill.engine.BillFlowEngine','getDataOfOneBill',{'dsn':dsn,  'table' :tableName, 'columns': columns,'id':id ,'billID':'");
      if (_jspx_meth_c_005fout_005f45(_jspx_page_context))
        return;
      out.write("', 'billtype':'");
      if (_jspx_meth_c_005fout_005f46(_jspx_page_context))
        return;
      out.write("' },\r\n");
      out.write("  \t\t      function( ret)\r\n");
      out.write("  \t\t      {\r\n");
      out.write("  \t\t      \r\n");
      out.write("  \t\t      \t\tvar data= JSON.parse( ret);\r\n");
      out.write("  \t\t       \t\tif (! data.success) \r\n");
      out.write("  \t\t      \t\t{\r\n");
      out.write("  \t\t       \t\t\textAlert(\"提示\", data.message);\r\n");
      out.write("  \t\t      \t\t\treturn;\r\n");
      out.write("  \t\t      \t\t}\r\n");
      out.write("  \t\t\t\t\r\n");
      out.write("  \t\t       \t \tvar record= $G.ds.getById( data.id);\r\n");
      out.write("  \t\t\t  \t\tif (record ==null)\r\n");
      out.write("  \t\t\t  \t\t{\r\n");
      out.write("  \t\t\t  \t\t\t$G.appendRetrieve( data);\r\n");
      out.write("  \t\t\t \t\t}else\r\n");
      out.write("  \t\t\t \t\t{\r\n");
      out.write("  \t\t\t \t\t\t$G.refreshRetrieve( data);\t\r\n");
      out.write("  \t\t\t  \t\t}\t\t \r\n");
      out.write("  \t\t       \t\t    \r\n");
      out.write("  \t\t      \t\t\r\n");
      out.write("  \t\t      }\r\n");
      out.write("  \t\t  );\r\n");
      out.write("  }\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  //当删除单据后，需要从列表里移除单据信息\r\n");
      out.write("  function removeBillInfo(  id)\r\n");
      out.write("  {\r\n");
      out.write("  \t mygrid.deleteRow(id);\r\n");
      out.write("  } \r\n");
      out.write("\r\n");
      out.write("  function  RefreshWorkCount()\r\n");
      out.write("  {\r\n");
      out.write("\r\n");
      out.write("\t \tjsrsExecute(\"servlet/wiseoa.flow.jsprpc.FlowManage\",callback_refreshworkcount , \"GetBillWorksCount\", [tableName, billType],false);\r\n");
      out.write(" \r\n");
      out.write(" } \r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function  callback_refreshworkcount(msg)\r\n");
      out.write("{\r\n");
      out.write("\t//alert( msg);\r\n");
      out.write("\t\t \r\n");
      out.write("\t if (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("\t{\r\n");
      out.write("\t \r\n");
      out.write("\t\tvar s= extractValue(msg ,\"countinfo\");\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tvar countInfo =JSON.parse(s);\t\t\t   \r\n");
      out.write("\t\t   \t \r\n");
      out.write("\t\tvar html=\"\";\r\n");
      out.write("\t\tfor ( var i=0;i<countInfo.length;i++)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tvar info=countInfo[i];\r\n");
      out.write("\t\t\t\t\t\r\n");
      out.write("\t\t\tif( info.count>0 && info.show)  html=html+ \"<img src='image/item/115.gif' align='absmiddle'><span class=asbutton2 onclick=\\\" gotoFlowBox('\"+info.action+\"'); \\\">\"+info.title+ \"</span>[<font color=red>\"+info.count+\"</font>]&nbsp;&nbsp;\"; \r\n");
      out.write("\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t//html=html+\"<span class=asbutton2 onclick='RefreshWorkCount(); '>【刷新工作统计】</span>\"\r\n");
      out.write("\t\t$E(\"workcountinfo\").innerHTML=html;\r\n");
      out.write("\t}else\r\n");
      out.write("\t{ \r\n");
      out.write("\t   alert ( extractValue(msg, \"error\"));\r\n");
      out.write("\t} \r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function priorBill(action)\r\n");
      out.write("{\r\n");
      out.write("\r\n");
      out.write("   \tvar sm=$G.grid.getSelectionModel();\r\n");
      out.write("   \tif( sm.isSelected(0))\r\n");
      out.write("   \t{\r\n");
      out.write("   \t\talert(\"已经是第一条记录了。\");\r\n");
      out.write("   \t\treturn;\r\n");
      out.write("   \t}\r\n");
      out.write("   \tsm.selectPrevious(false); \r\n");
      out.write("    if( action=='edit') editBill();\r\n");
      out.write("    if( action=='new') editBill();\r\n");
      out.write("    if( action=='view') viewBill();\r\n");
      out.write("     \r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function nextBill(action)\r\n");
      out.write("{\r\n");
      out.write("\r\n");
      out.write("   \tvar sm=$G.grid.getSelectionModel();\r\n");
      out.write("   \tif( sm.isSelected( $G.ds.getCount() -1 ))\r\n");
      out.write("   \t{\r\n");
      out.write("   \t\talert(\"已经是最后一条记录了。\");\r\n");
      out.write("   \t\treturn;\r\n");
      out.write("   \t}\r\n");
      out.write("   \tsm.selectNext(false); \r\n");
      out.write("    if( action=='edit') editBill();\r\n");
      out.write("    if( action=='new') editBill();\r\n");
      out.write("    if( action=='view') viewBill();\r\n");
      out.write("     \r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function hasPrior()\r\n");
      out.write("{\r\n");
      out.write(" \r\n");
      out.write("\t   \tvar sm=$G.grid.getSelectionModel();\r\n");
      out.write("\t   \tif( sm.isSelected(0))\r\n");
      out.write("\t   \t{\r\n");
      out.write("\t    \t\treturn false;\r\n");
      out.write("\t    }\r\n");
      out.write("\t   \treturn true;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("// 还有下一条记录吗\r\n");
      out.write("function hasNext()\r\n");
      out.write("{\r\n");
      out.write("\tvar sm=$G.grid.getSelectionModel();\r\n");
      out.write("   \tif( sm.isSelected( $G.ds.getCount() -1 ))\r\n");
      out.write("   \t{\r\n");
      out.write("    \t\treturn false;\r\n");
      out.write("   \t}\r\n");
      out.write("   \treturn true;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("function gotoFlowBox(flowbox)\r\n");
      out.write("{\r\n");
      out.write("\t$E('flowbox').value=flowbox;\r\n");
      out.write("\trefreshList(false ); //仅刷新列表，不需要重新统计数量\r\n");
      out.write("}\r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<style>\r\n");
      out.write("html body {\r\n");
      out.write("\twidth: 100%;\r\n");
      out.write("\theight: 100%;\r\n");
      out.write("\tmargin: 0;\r\n");
      out.write("}\r\n");
      out.write("</style>\r\n");
      out.write("\r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body>\r\n");
      out.write("\t<div id=\"head\">\r\n");
      out.write("\r\n");
      out.write("\t\t<table border=0 cellpadding=\"0\" cellspacing=\"0\"  height=\"25\"\r\n");
      out.write("\t\t\tstyle=\"background-color: #d0d0d8;background-image:url(image/billhead.jpg) ;    \" width=100%>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t \r\n");
      out.write("\t\t\t\t<td style=\"font-size: 14px;padding-left:20px;   \" nowrap>");
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f21 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
      _jspx_th_c_005fif_005f21.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f21.setParent(null);
      // /bill2.jsp(1868,61) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f21.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${billtypename==''}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
      int _jspx_eval_c_005fif_005f21 = _jspx_th_c_005fif_005f21.doStartTag();
      if (_jspx_eval_c_005fif_005f21 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("\t\t\t\t\t\t");
          //  c:if
          org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f22 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
          _jspx_th_c_005fif_005f22.setPageContext(_jspx_page_context);
          _jspx_th_c_005fif_005f22.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f21);
          // /bill2.jsp(1870,6) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_c_005fif_005f22.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.wiseoabilltitle==null}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
          int _jspx_eval_c_005fif_005f22 = _jspx_th_c_005fif_005f22.doStartTag();
          if (_jspx_eval_c_005fif_005f22 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\r\n");
              out.write("\t\t\t\t\t\t\t");
              out.print(b.billName);
              out.write("\r\n");
              out.write("\t\t\t\t\t\t");
              int evalDoAfterBody = _jspx_th_c_005fif_005f22.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_c_005fif_005f22.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f22);
            return;
          }
          _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f22);
          out.write("\r\n");
          out.write("\t\t\t\t\t\t");
          if (_jspx_meth_c_005fif_005f23(_jspx_th_c_005fif_005f21, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("\r\n");
          out.write("\t\t\t\t\t");
          int evalDoAfterBody = _jspx_th_c_005fif_005f21.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f21.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f21);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f21);
      out.write(' ');
      if (_jspx_meth_c_005fif_005f24(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\t\t\t\t\t");
      if (_jspx_meth_c_005fif_005f27(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\t\t\t\t\t <iframe id=billprint width=0 height=0 frameborder=0 src=''\r\n");
      out.write("\t\t\t\t\t\ttitle=\"billprint.jsp?templateid=");
      if (_jspx_meth_c_005fout_005f51(_jspx_page_context))
        return;
      out.write("&mastertablename=");
      out.print(b.tableName);
      out.write("&bgcolor=e5effc\"></iframe>\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t\t<font color=red>");
      out.print(b.errorInfo);
      out.write("</font>&nbsp;&nbsp;&nbsp;&nbsp; <img\r\n");
      out.write("\t\t\t\t\tid=loading src='image/progress.gif' align='absmiddle'></td>\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t<td width=80% style=\"padding-right: 10px;\" id=workcountinfo\r\n");
      out.write("\t\t\t\t\talign=right></td>\r\n");
      out.write("\t\t\t\t<td><textarea id=appletContainer_html name=appletContainer_html\r\n");
      out.write("\t\t\t\t\t\tstyle=\"display: none\">\r\n");
      out.write("   <applet id=\"billapplet\" code=\"wiseoa.flow.applet.FlowForm\"\r\n");
      out.write("\t\t\t\t\t\t\tcodebase=\".\"\r\n");
      out.write("\t\t\t\t\t\t\tarchive=\"flowform.jar,jedit23.jar,zexcel.jar,scriptengine.jar,datastore.jar,regexp14.jar,dw.jar,rhino.jar,kxml.jar,jep.jar,preview.jar,jfreechart.jar,comm.jar,dock.jar,Qrcode-C.jar,qrcode-R.jar\"\r\n");
      out.write("\t\t\t\t\t\t\twidth=\"2\" height=\"17\" style=\"border:0px solid red;\">\r\n");
      out.write("\t\t<PARAM name=\"java_arguments\" value=\"-Xmx512m  -XX:PermSize=64m -XX:MaxPermSize=256m \">     \r\n");
      out.write("\t\t<param name=\"action\" value='view'>\r\n");
      out.write("\t\t<param name=\"homeURL\" value='");
      if (_jspx_meth_c_005fout_005f52(_jspx_page_context))
        return;
      out.write("'>\r\n");
      out.write("\t\t<param name=\"templateid\" value=' ");
      out.print(b.templateid);
      out.write("'>\r\n");
      out.write("\t\t<param name=\"guid\" value='billScriptEngine'>\r\n");
      out.write("\t\t<param name=\"test\" value='0'>\r\n");
      out.write("\t\t<param name=\"nodeguid\" value=''>\r\n");
      out.write("\t\t<param name=\"nodeinnerguid\" value=''>\r\n");
      out.write("\t\t<param name=\"autotitle\" value=''>\r\n");
      out.write("\t\t<param name=\"debug\" value='false'>\r\n");
      out.write("\t\t<param name=\"type\" value='bill'>\r\n");
      out.write("\t\t<param name=\"onlyscript\" value='true'>\r\n");
      out.write("\t\t<param name=\"showinitstepinfo\" value='false'>\r\n");
      out.write("\t\t<param name=\"billtype\" value='");
      if (_jspx_meth_c_005fout_005f53(_jspx_page_context))
        return;
      out.write("'>\r\n");
      out.write("\t\t<param name=\"targetid\" value='");
      if (_jspx_meth_c_005fout_005f54(_jspx_page_context))
        return;
      out.write("'>\r\n");
      out.write("\t\t<param name=\"jsonQueryString\"\r\n");
      out.write("\t\t\t\t\t\t\t\tvalue='");
      if (_jspx_meth_c_005fout_005f55(_jspx_page_context))
        return;
      out.write("'>  \r\n");
      out.write("\t\t<param name=\"wiseoainnerparam\"\r\n");
      out.write("\t\t\t\t\t\t\t\tvalue='");
      if (_jspx_meth_c_005fout_005f56(_jspx_page_context))
        return;
      out.write("'>\r\n");
      out.write("\t \r\n");
      out.write("\t     <param name=\"showinitstepinfo\" value='");
      if (_jspx_meth_c_005fout_005f57(_jspx_page_context))
        return;
      out.write("'> <!-- 是否显示初始提示信息 -->\r\n");
      out.write("\t \r\n");
      out.write("\t\t\r\n");
      out.write("\t\t </applet>　\r\n");
      out.write("</textarea>\r\n");
      out.write(" \r\n");
      out.write("\t\t\t \t</td>\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t<td valign=\"bottom\" nowrap class=\"px12\"\r\n");
      out.write("\t\t\t\t\tstyle='padding-bottom: 2; padding-right: 20px;'>\r\n");
      out.write("\t\t\t\t\t<div style=\"position: relative; width: 190px; height: 100%\">\r\n");
      out.write("\t\t\t\t\t\t<div\r\n");
      out.write("\t\t\t\t\t\t\tstyle=\"position: absolute; top: 1px; width: 100%; height: 24px; border: 0px solid red; background-image: url(image/billsearchbk.png);background-repeat:no-repeat; padding-left: 13px; padding-top: 4px;\">\r\n");
      out.write("\t\t\t\t\t\t\t<input type=\"text\" title=\"");
      out.print(b.smartQueryTip );
      out.write("\"\r\n");
      out.write("\t\t\t\t\t\t\t\tstyle=\"height: 16px; width: 152px; border: 0; z-index: 99;\"\r\n");
      out.write("\t\t\t\t\t\t\t\tonKeyDown=\"if(event.keyCode==13) Search();\" class='textbox_'\r\n");
      out.write("\t\t\t\t\t\t\t\tname=\"searchkey\" id=\"searchkey\"> <span\r\n");
      out.write("\t\t\t\t\t\t\t\tstyle=\"width: 16px; height: 14px;\" class=asbutton2\r\n");
      out.write("\t\t\t\t\t\t\t\tonclick=\"Search();\" title=\"点击进行查询\"></span>\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t\t\t</div>\r\n");
      out.write("\t\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\t</div> <INPUT type='hidden' id='directWhere' name='directWhere'>\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t\t\t\t<INPUT type='hidden' id='condition' name='condition'> <!-- 由于现在查询是RPC查询，页面不刷新，所以也不需要对conditon , searchKey 设置数据 -->\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t<td><div id=appletContainer style=\"border:1px solid #c0c0c0; height:25px;\" ></div>\r\n");
      out.write("\t\t\t\t <script>\r\n");
      out.write("var  appletContainer_innerHTML= $E('appletContainer_html').value;\r\n");
      out.write(" \r\n");
      out.write("$E('appletContainer').innerHTML=appletContainer_innerHTML;\r\n");
      out.write("</script>\r\n");
      out.write("\t\t\t\t</td>\r\n");
      out.write("\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t</table>\r\n");
      out.write("\r\n");
      out.write("\t\t<div id=\"container\" style=\"border-top :1px solid #9090b0;   \">\r\n");
      out.write("\r\n");
      out.write("\t\t\t<div id=\"toolbar\"   ></div>\r\n");
      out.write("\r\n");
      out.write("\t\t</div>\r\n");
      out.write("\r\n");
      out.write("\t</div>\r\n");
      out.write("\t<!-- end of  head -->\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t<div id=\"content\">\r\n");
      out.write("\t\t<div id=\"grid\"\r\n");
      out.write("\t\t\tstyle=\"position: relative; left: 0px; top: 0; width: 100%; height: 100%; overflow: auto;\"></div>\r\n");
      out.write("\t</div>\r\n");
      out.write("\r\n");
      out.write("\t<div id=\"foot\">\r\n");
      out.write("\t\t<!-- 一定要套上一个 footleft  -->\r\n");
      out.write("\t\t<div class=\"footleft\">\r\n");
      out.write("\t\t\t<div id=\"pagebar\"\r\n");
      out.write("\t\t\t\tstyle=\"position: relative; left: 0px; width: 100%; height: 25px;line-height:25px; overflow: none;\"></div>\r\n");
      out.write("\t\t\t");
      if (_jspx_meth_c_005fif_005f28(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t\t</div>\r\n");
      out.write("\t</div>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<div id=\"exportbill-dialog\" style=\"display:none; cursor: default ; \" > \r\n");
      out.write("        <div  align=\"left\" style=\"font-size:26px;   height:40px; line-height:40px; vertical-align:middle; background-color:white; background: url(image/earth.jpg) right bottom no-repeat;\">&nbsp;导出单据：</div> \r\n");
      out.write("        <div align=\"left\" style=\"padding:10px; background-color: #efefef ; \">\r\n");
      out.write("        <div  >\r\n");
      out.write("        <p><img src='image/forword16.gif'> <input type=\"button\" onclick=\"doExportBill(1);\"  value=\"导出新录入或修改过的单据\" style=\"width:160px;\">\r\n");
      out.write("        自上次执行导出操作后所有新录入的单据，以及自上次导出后又做了修改的单据导出</p>\r\n");
      out.write("        <p><img src='image/forword16.gif'> <input type=\"button\" onclick=\"doExportBill(2); \" value=\"导出当前列表中选中的单据\" style=\"width:160px;\">\r\n");
      out.write("        把当前列表中选中的单据导出,而不管它是否曾经导出与否</p>\r\n");
      out.write("        <p><img src='image/forword16.gif'> <input type=\"button\" onclick=\"doExportBill(3);\"  value=\"导出所有单据\" style=\"width:160px;\">\r\n");
      out.write("        把当前单据的所有数据打包导出</p>\r\n");
      out.write("        \r\n");
      out.write("        \r\n");
      out.write("        </div>\r\n");
      out.write("        \r\n");
      out.write("         <hr size=1>\r\n");
      out.write("  \r\n");
      out.write("        <div  style=\"width:100%\" >\r\n");
      out.write("        <table border=0 width=100%>\r\n");
      out.write("        <tr><td nowrap><img src=\"image/help.gif\" align=\"absmiddle\"> <a target=\"_blank\" href=\"help/bill/m1.htm\">帮助</a></td>\r\n");
      out.write("        <td align=\"right\" width=99%><input type=\"button\" id=\"cb_no\" value=\"关闭\"  onclick=\"$.unblockUI();\" /></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        </table> \r\n");
      out.write("        </div>\r\n");
      out.write("        </div>\r\n");
      out.write("        \r\n");
      out.write("        </div>\r\n");
      out.write("</div> \r\n");
      out.write('\r');
      out.write('\n');
      out.write('	');
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<div id=\"importbill-dialog\" style=\"display:none; cursor: default ; \" > \r\n");
      out.write("        <div  align=\"left\" style=\"font-size:26px;   height:40px; line-height:40px; vertical-align:middle; background-color:white; background: url(image/earth.jpg) right bottom no-repeat;\">&nbsp;导入单据：</div> \r\n");
      out.write("        <div align=\"left\" style=\"padding:10px; background-color: #efefef ; \">\r\n");
      out.write("        <div  >\r\n");
      out.write("        <p><img src='image/forword16.gif'>请选择一个数据包，并点击“确定”导入数据\r\n");
      out.write("        <IFRAME id=uploadframe  name=uploadframe width=0 height=0  ></IFRAME>\r\n");
      out.write("        <form id=\"formImport\"  method=\"post\" action=\"uploadAndImportBillPackage.jsp?table=\"  ENCTYPE=\"multipart/form-data\"  target=uploadframe>\r\n");
      out.write("\t\r\n");
      out.write("        数据包文件：<input type=\"file\"  id=importpackage  name=importpackage >\r\n");
      out.write("        <input type=\"hidden\" id=import_dsn name=import_dsn>\r\n");
      out.write("        <input type=\"hidden\" id=import_templateId name=import_templateId>\r\n");
      out.write("        <input type=\"hidden\" id=import_tableName name=import_tableName>\r\n");
      out.write("        \r\n");
      out.write("   \r\n");
      out.write("        </form>\r\n");
      out.write("      　　  \r\n");
      out.write("        \r\n");
      out.write("        </div>\r\n");
      out.write("        \r\n");
      out.write("         <hr size=1>\r\n");
      out.write("         <div  style=\"width:100%\" >\r\n");
      out.write("        <table border=0 width=100%>\r\n");
      out.write("        <tr><td nowrap><img src=\"image/help.gif\" align=\"absmiddle\"> <a target=\"_blank\" href=\"help/bill/m1.htm\">帮助</a></td>\r\n");
      out.write("        <td align=\"right\" width=99%>\r\n");
      out.write("        <input type=\"button\" id=\"import_cb_yes\" value=\"确定\"  onclick=\"$.unblockUI(); doImportBill();\" />\r\n");
      out.write("        <input type=\"button\" id=\"import_cb_no\" value=\"放弃\"  onclick=\"$.unblockUI();\" />\r\n");
      out.write("        </td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        </table> \r\n");
      out.write("        </div>\r\n");
      out.write("        \r\n");
      out.write("        </div>\r\n");
      out.write("</div> \r\n");
      out.write('\r');
      out.write('\n');
      out.write('	');
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<div id=\"exportbill-dialog-log\" style=\"display:none; cursor: default ; \" > \r\n");
      out.write("        <div  align=\"left\" style=\"  height:40px;  vertical-align:middle;   background-color:white;\"><table width=100% border=0><tr><td width=80% nowrap><span  style=\"font-size:26px; \"  id=exportbill-dialog-log-title>正在导出：</span></td>\r\n");
      out.write("        <td align=\"right\"><image  id=exportgif  src=\"image/copyfile.gif\"></td></tr></table></div> \r\n");
      out.write("        <div align=\"left\" style=\" padding:10px; width:100%;  background-color: white ; \">\r\n");
      out.write("        <div    style=\" width:100%;\">\r\n");
      out.write("        <iframe id=exportlogcontainer  src=\"\" frameborder=0 style=\"border:1px solid #e0e0e0; width:100%; height:300px;\"></iframe>\r\n");
      out.write("         </div>\r\n");
      out.write("        \r\n");
      out.write(" \r\n");
      out.write("        <div align=\"right\">\r\n");
      out.write("   \r\n");
      out.write("        <input type=\"button\" id=\"exportbill-dialog-log-cb-exitandrefresh\" disabled  value=\"关闭并刷新\"  onclick=\"$.unblockUI();   history.go(0);  \" />\r\n");
      out.write("        <input type=\"button\" id=\"exportbill-dialog-log-cb-exit\" disabled  value=\"关闭\"  onclick=\"$.unblockUI(); document.getElementById('exportlogcontainer').src='';  \" /> \r\n");
      out.write("        </div>\r\n");
      out.write("        </div>\r\n");
      out.write("        \r\n");
      out.write("        \r\n");
      out.write("\r\n");
      out.write("</div> \r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t<script>\r\n");
      out.write("\r\n");
      out.write("window.onload=function()\r\n");
      out.write("{\r\n");
      out.write("\tsetTimeout( appletLoadCheck, 10*1000);\r\n");
      out.write("} \r\n");
      out.write("\r\n");
      out.write("function appletLoadCheck()\r\n");
      out.write("{\r\n");
      out.write("\tif( !isAppletLoadOK())\r\n");
      out.write("\t{\r\n");
      out.write("\t\tsetTimeout( appletLoadCheck, 5*1000);\r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("\t  \t\r\n");
      out.write("\t}\r\n");
      out.write("}\r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("</body>\r\n");
      out.write("\r\n");
      out.write("</html>\r\n");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_c_005fout_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f0 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f0.setParent(null);
    // /bill2.jsp(168,16) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f0.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${footerHeight}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f0 = _jspx_th_c_005fout_005f0.doStartTag();
    if (_jspx_th_c_005fout_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f0);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f1 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f1.setParent(null);
    // /bill2.jsp(198,9) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f1.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${footerHeight}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f1 = _jspx_th_c_005fout_005f1.doStartTag();
    if (_jspx_th_c_005fout_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f1);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f2 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f2.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f2.setParent(null);
    // /bill2.jsp(207,14) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f2.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${footerHeight}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f2 = _jspx_th_c_005fout_005f2.doStartTag();
    if (_jspx_th_c_005fout_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f2);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f3(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f3 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f3.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f3.setParent(null);
    // /bill2.jsp(219,16) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f3.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.billtype}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f3 = _jspx_th_c_005fout_005f3.doStartTag();
    if (_jspx_th_c_005fout_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f3);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f3);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f4(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f4 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f4.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f4.setParent(null);
    // /bill2.jsp(250,21) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f4.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${querystring}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f4 = _jspx_th_c_005fout_005f4.doStartTag();
    if (_jspx_th_c_005fout_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f4);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f4);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f5(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f5 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f5.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f5.setParent(null);
    // /bill2.jsp(268,34) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f5.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${onCommissionURL}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f5 = _jspx_th_c_005fout_005f5.doStartTag();
    if (_jspx_th_c_005fout_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f5);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f5);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f0.setParent(null);
    // /bill2.jsp(294,7) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.new_!='disabled'}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag();
    if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("       if(toolbarConfig.newbill.visible)\r\n");
        out.write("       { \r\n");
        out.write("    \t    var caption= toolbarConfig.newbill.caption;\r\n");
        out.write("    \t    if( caption==\"\") caption=\"新录入\";\r\n");
        out.write("    \t    \r\n");
        out.write("       \t\ttb.addButton( new Ext.Toolbar.Button({text: caption, cls: 'x-btn-text-icon',icon:'image/xin.gif',  handler: newBill } )  );\r\n");
        out.write("       \t\ttb.addSeparator();\r\n");
        out.write("       }\r\n");
        out.write("       ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f1.setParent(null);
    // /bill2.jsp(306,7) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.view!='disabled'}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
    if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("       if(toolbarConfig.viewbill.visible)\r\n");
        out.write("       { \r\n");
        out.write("    \t    var caption= toolbarConfig.viewbill.caption;\r\n");
        out.write("    \t    if( caption==\"\") caption= '查看';\r\n");
        out.write("       \r\n");
        out.write("       \t\ttb.addButton( new Ext.Toolbar.Button({text:caption, cls: 'x-btn-text-icon',icon:'image/view.gif',  handler: viewBill } )  );\r\n");
        out.write("       \t\ttb.addSeparator();\r\n");
        out.write("       }\r\n");
        out.write("       ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f2 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f2.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f2.setParent(null);
    // /bill2.jsp(317,7) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f2.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.edit!='disabled'}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f2 = _jspx_th_c_005fif_005f2.doStartTag();
    if (_jspx_eval_c_005fif_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("       if(toolbarConfig.editbill.visible)\r\n");
        out.write("       { \r\n");
        out.write("    \t    var caption= toolbarConfig.editbill.caption;\r\n");
        out.write("    \t    if( caption==\"\") caption= ");
        if (_jspx_meth_c_005fif_005f3(_jspx_th_c_005fif_005f2, _jspx_page_context))
          return true;
        if (_jspx_meth_c_005fif_005f4(_jspx_th_c_005fif_005f2, _jspx_page_context))
          return true;
        out.write(" ;\r\n");
        out.write("       \t\ttb.addButton( new Ext.Toolbar.Button({text: caption, cls: 'x-btn-text-icon',icon:'image/edit6.gif',  handler: editBill } )  );\r\n");
        out.write("       \t\ttb.addSeparator();\r\n");
        out.write("       }\r\n");
        out.write("       ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f2.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f3(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f2, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f3 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f3.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f2);
    // /bill2.jsp(321,35) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f3.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flowid==0}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f3 = _jspx_th_c_005fif_005f3.doStartTag();
    if (_jspx_eval_c_005fif_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("'编辑'");
        int evalDoAfterBody = _jspx_th_c_005fif_005f3.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f3);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f3);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f4(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f2, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f4 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f4.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f2);
    // /bill2.jsp(321,72) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f4.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flowid>0}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f4 = _jspx_th_c_005fif_005f4.doStartTag();
    if (_jspx_eval_c_005fif_005f4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("'受理'");
        int evalDoAfterBody = _jspx_th_c_005fif_005f4.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f4);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f4);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f5(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f5 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f5.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f5.setParent(null);
    // /bill2.jsp(327,7) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f5.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.delete!='disabled'}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f5 = _jspx_th_c_005fif_005f5.doStartTag();
    if (_jspx_eval_c_005fif_005f5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("       if(toolbarConfig.deletebill.visible)\r\n");
        out.write("       { \r\n");
        out.write("    \t    var caption= toolbarConfig.deletebill.caption;\r\n");
        out.write("    \t    if( caption==\"\") caption= '删除';\r\n");
        out.write("  　     \t\ttb.addButton( new Ext.Toolbar.Button({text:caption, cls: 'x-btn-text-icon',icon:'image/recycle.gif',  handler: deleteBill } )  );\r\n");
        out.write("       \t\ttb.addSeparator();\r\n");
        out.write("       }\r\n");
        out.write("       ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f5.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f5);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f5);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f6(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f6 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f6.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f6.setParent(null);
    // /bill2.jsp(336,7) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f6.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.obsolete!='disabled' && flowid==0 }", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f6 = _jspx_th_c_005fif_005f6.doStartTag();
    if (_jspx_eval_c_005fif_005f6 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("       if(toolbarConfig.obsoletebill.visible)\r\n");
        out.write("       { \r\n");
        out.write("    \t    var caption= toolbarConfig.obsoletebill.caption;\r\n");
        out.write("    \t    if( caption==\"\") caption='作废';\r\n");
        out.write("  　     \t\ttb.addButton( new Ext.Toolbar.Button({text: caption, cls: 'x-btn-text-icon',icon:'image/obsolete.gif',  handler: obsoleteBill } )  );\r\n");
        out.write("       \t\ttb.addSeparator();\r\n");
        out.write("       }\r\n");
        out.write("       ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f6.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f6);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f6);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f7(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f7 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f7.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f7.setParent(null);
    // /bill2.jsp(347,7) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f7.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flowid==0 || param.verifybillvisible==1 }", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f7 = _jspx_th_c_005fif_005f7.doStartTag();
    if (_jspx_eval_c_005fif_005f7 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("       \r\n");
        out.write("       if(toolbarConfig.verifybill.visible)\r\n");
        out.write("       { \r\n");
        out.write("    \t    var caption= toolbarConfig.verifybill.caption;\r\n");
        out.write("    \t    if( caption==\"\") caption='审核';\r\n");
        out.write("       \t\ttb.addButton( new Ext.Toolbar.Button({text: caption, cls: 'x-btn-text-icon',icon:'image/edit7.gif',  handler: verifyBill } )  );\r\n");
        out.write("       \t\ttb.addSeparator();\r\n");
        out.write("       }\r\n");
        out.write("       ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f7.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f7);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f7);
    return false;
  }

  private boolean _jspx_meth_c_005fforEach_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:forEach
    org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
    _jspx_th_c_005fforEach_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fforEach_005f0.setParent(null);
    // /bill2.jsp(408,19) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f0.setVar("item");
    // /bill2.jsp(408,19) name = items type = java.lang.Object reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${printFormatList}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int[] _jspx_push_body_count_c_005fforEach_005f0 = new int[] { 0 };
    try {
      int _jspx_eval_c_005fforEach_005f0 = _jspx_th_c_005fforEach_005f0.doStartTag();
      if (_jspx_eval_c_005fforEach_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("             \r\n");
          out.write("                 \t\t{text: '");
          if (_jspx_meth_c_005fout_005f6(_jspx_th_c_005fforEach_005f0, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f0))
            return true;
          out.write("', guid:'");
          if (_jspx_meth_c_005fout_005f7(_jspx_th_c_005fforEach_005f0, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f0))
            return true;
          out.write("',cls: 'x-btn-text-icon',icon:'image/printer16.gif', handler: $G.printBill},\r\n");
          out.write("                 \t\t");
          int evalDoAfterBody = _jspx_th_c_005fforEach_005f0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fforEach_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } catch (java.lang.Throwable _jspx_exception) {
      while (_jspx_push_body_count_c_005fforEach_005f0[0]-- > 0)
        out = _jspx_page_context.popBody();
      _jspx_th_c_005fforEach_005f0.doCatch(_jspx_exception);
    } finally {
      _jspx_th_c_005fforEach_005f0.doFinally();
      _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.reuse(_jspx_th_c_005fforEach_005f0);
    }
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f6(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f6 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f6.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f6.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f0);
    // /bill2.jsp(409,27) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f6.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.name}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f6 = _jspx_th_c_005fout_005f6.doStartTag();
    if (_jspx_th_c_005fout_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f6);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f6);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f7(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f7 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f7.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f7.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f0);
    // /bill2.jsp(409,65) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f7.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.guid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f7 = _jspx_th_c_005fout_005f7.doStartTag();
    if (_jspx_th_c_005fout_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f7);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f7);
    return false;
  }

  private boolean _jspx_meth_c_005fforEach_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:forEach
    org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f1 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
    _jspx_th_c_005fforEach_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fforEach_005f1.setParent(null);
    // /bill2.jsp(414,34) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f1.setVar("item");
    // /bill2.jsp(414,34) name = items type = java.lang.Object reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f1.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${printFormatList}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int[] _jspx_push_body_count_c_005fforEach_005f1 = new int[] { 0 };
    try {
      int _jspx_eval_c_005fforEach_005f1 = _jspx_th_c_005fforEach_005f1.doStartTag();
      if (_jspx_eval_c_005fforEach_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("             \r\n");
          out.write("                \t                 {text: '");
          if (_jspx_meth_c_005fout_005f8(_jspx_th_c_005fforEach_005f1, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f1))
            return true;
          out.write("', guid:'");
          if (_jspx_meth_c_005fout_005f9(_jspx_th_c_005fforEach_005f1, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f1))
            return true;
          out.write("',cls: 'x-btn-text-icon',  handler: $G.printSetupBill},\r\n");
          out.write("                \t                 ");
          int evalDoAfterBody = _jspx_th_c_005fforEach_005f1.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fforEach_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } catch (java.lang.Throwable _jspx_exception) {
      while (_jspx_push_body_count_c_005fforEach_005f1[0]-- > 0)
        out = _jspx_page_context.popBody();
      _jspx_th_c_005fforEach_005f1.doCatch(_jspx_exception);
    } finally {
      _jspx_th_c_005fforEach_005f1.doFinally();
      _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.reuse(_jspx_th_c_005fforEach_005f1);
    }
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f8(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f1, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f1)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f8 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f8.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f8.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f1);
    // /bill2.jsp(415,42) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f8.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.name}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f8 = _jspx_th_c_005fout_005f8.doStartTag();
    if (_jspx_th_c_005fout_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f8);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f8);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f9(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f1, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f1)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f9 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f9.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f9.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f1);
    // /bill2.jsp(415,80) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f9.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.guid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f9 = _jspx_th_c_005fout_005f9.doStartTag();
    if (_jspx_th_c_005fout_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f9);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f9);
    return false;
  }

  private boolean _jspx_meth_c_005fforEach_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:forEach
    org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f2 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
    _jspx_th_c_005fforEach_005f2.setPageContext(_jspx_page_context);
    _jspx_th_c_005fforEach_005f2.setParent(null);
    // /bill2.jsp(422,34) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f2.setVar("item");
    // /bill2.jsp(422,34) name = items type = java.lang.Object reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f2.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${printFormatList}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int[] _jspx_push_body_count_c_005fforEach_005f2 = new int[] { 0 };
    try {
      int _jspx_eval_c_005fforEach_005f2 = _jspx_th_c_005fforEach_005f2.doStartTag();
      if (_jspx_eval_c_005fforEach_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("             \r\n");
          out.write("                \t                 {text: '");
          if (_jspx_meth_c_005fout_005f10(_jspx_th_c_005fforEach_005f2, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f2))
            return true;
          out.write("', guid:'");
          if (_jspx_meth_c_005fout_005f11(_jspx_th_c_005fforEach_005f2, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f2))
            return true;
          out.write("',cls: 'x-btn-text-icon' , handler: $G.printPreviewBill},\r\n");
          out.write("                \t                 ");
          int evalDoAfterBody = _jspx_th_c_005fforEach_005f2.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fforEach_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } catch (java.lang.Throwable _jspx_exception) {
      while (_jspx_push_body_count_c_005fforEach_005f2[0]-- > 0)
        out = _jspx_page_context.popBody();
      _jspx_th_c_005fforEach_005f2.doCatch(_jspx_exception);
    } finally {
      _jspx_th_c_005fforEach_005f2.doFinally();
      _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.reuse(_jspx_th_c_005fforEach_005f2);
    }
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f10(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f2, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f2)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f10 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f10.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f10.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f2);
    // /bill2.jsp(423,42) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f10.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.name}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f10 = _jspx_th_c_005fout_005f10.doStartTag();
    if (_jspx_th_c_005fout_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f10);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f10);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f11(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f2, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f2)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f11 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f11.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f11.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f2);
    // /bill2.jsp(423,80) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f11.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.guid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f11 = _jspx_th_c_005fout_005f11.doStartTag();
    if (_jspx_th_c_005fout_005f11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f11);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f11);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f8(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f8 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f8.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f8.setParent(null);
    // /bill2.jsp(427,17) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f8.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.role==1  }", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f8 = _jspx_th_c_005fif_005f8.doStartTag();
    if (_jspx_eval_c_005fif_005f8 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("                  ,\r\n");
        out.write("                 {text:\"打印格式设计\", cls: 'x-btn-text-icon',icon:'image/view.gif',  handler: printDesign  }\r\n");
        out.write("                 ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f8.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f8);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f8);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f9(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f9 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f9.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f9.setParent(null);
    // /bill2.jsp(439,7) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f9.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.role==1  }", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f9 = _jspx_th_c_005fif_005f9.doStartTag();
    if (_jspx_eval_c_005fif_005f9 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("        \r\n");
        out.write("       \t\ttb.addButton( new Ext.Toolbar.Button({text: \"设置\", cls: 'x-btn-text',icon:'',  \r\n");
        out.write("       \t\t    menu : {items: [\r\n");
        out.write("       \t\t                     {text: '单据设置', cls: 'x-btn-text-icon',icon:'', handler: billConfig},\r\n");
        out.write("       \t\t                  {text: '模板设置', cls: 'x-btn-text-icon',icon:'', handler: templateConfig},\r\n");
        out.write("       \t\t                  ");
        if (_jspx_meth_c_005fif_005f10(_jspx_th_c_005fif_005f9, _jspx_page_context))
          return true;
        out.write("\r\n");
        out.write("       \t\t                  {text: '数据库设置', cls: 'x-btn-text-icon',icon:'', handler: dbConfig} \r\n");
        out.write("    \t\t                  \r\n");
        out.write("    \t\t                  \r\n");
        out.write("    \t\t                     \r\n");
        out.write("       \t\t                    \r\n");
        out.write("       \t\t                                       \r\n");
        out.write("       \t\t                    ]}\t\r\n");
        out.write("       \t\t} )  );\r\n");
        out.write("       \t\ttb.addSeparator();\r\n");
        out.write("       ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f9.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f9);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f9);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f10(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f9, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f10 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f10.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f10.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f9);
    // /bill2.jsp(445,27) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f10.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flowid>0}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f10 = _jspx_th_c_005fif_005f10.doStartTag();
    if (_jspx_eval_c_005fif_005f10 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("       \t\t                  {text: '流程设置', cls: 'x-btn-text-icon',icon:'', handler: flowConfig},\r\n");
        out.write("       \t\t                  ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f10.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f10);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f10);
    return false;
  }

  private boolean _jspx_meth_c_005fforEach_005f3(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:forEach
    org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f3 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
    _jspx_th_c_005fforEach_005f3.setPageContext(_jspx_page_context);
    _jspx_th_c_005fforEach_005f3.setParent(null);
    // /bill2.jsp(461,9) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f3.setVar("item");
    // /bill2.jsp(461,9) name = items type = java.lang.Object reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f3.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${funcList}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int[] _jspx_push_body_count_c_005fforEach_005f3 = new int[] { 0 };
    try {
      int _jspx_eval_c_005fforEach_005f3 = _jspx_th_c_005fforEach_005f3.doStartTag();
      if (_jspx_eval_c_005fforEach_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("  　       tb.addButton( new Ext.Toolbar.Button({text: '");
          if (_jspx_meth_c_005fout_005f12(_jspx_th_c_005fforEach_005f3, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f3))
            return true;
          out.write("',funcName:'");
          if (_jspx_meth_c_005fout_005f13(_jspx_th_c_005fforEach_005f3, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f3))
            return true;
          out.write("',\r\n");
          out.write("  　      \t                   cls: 'x-btn-text-icon',icon:'image/cilun.gif',  handler:$G.runFunction} )  );\r\n");
          out.write("         tb.addSeparator();\r\n");
          out.write("   　   ");
          int evalDoAfterBody = _jspx_th_c_005fforEach_005f3.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fforEach_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } catch (java.lang.Throwable _jspx_exception) {
      while (_jspx_push_body_count_c_005fforEach_005f3[0]-- > 0)
        out = _jspx_page_context.popBody();
      _jspx_th_c_005fforEach_005f3.doCatch(_jspx_exception);
    } finally {
      _jspx_th_c_005fforEach_005f3.doFinally();
      _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.reuse(_jspx_th_c_005fforEach_005f3);
    }
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f12(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f3, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f3)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f12 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f12.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f12.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f3);
    // /bill2.jsp(462,55) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f12.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.title}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f12 = _jspx_th_c_005fout_005f12.doStartTag();
    if (_jspx_th_c_005fout_005f12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f12);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f12);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f13(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f3, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f3)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f13 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f13.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f13.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f3);
    // /bill2.jsp(462,97) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f13.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.funcname}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f13 = _jspx_th_c_005fout_005f13.doStartTag();
    if (_jspx_th_c_005fout_005f13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f13);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f13);
    return false;
  }

  private boolean _jspx_meth_c_005fforEach_005f4(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:forEach
    org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f4 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
    _jspx_th_c_005fforEach_005f4.setPageContext(_jspx_page_context);
    _jspx_th_c_005fforEach_005f4.setParent(null);
    // /bill2.jsp(476,17) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f4.setVar("item");
    // /bill2.jsp(476,17) name = items type = java.lang.Object reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f4.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${funcList2}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int[] _jspx_push_body_count_c_005fforEach_005f4 = new int[] { 0 };
    try {
      int _jspx_eval_c_005fforEach_005f4 = _jspx_th_c_005fforEach_005f4.doStartTag();
      if (_jspx_eval_c_005fforEach_005f4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("             \r\n");
          out.write("                 {text: '");
          if (_jspx_meth_c_005fout_005f14(_jspx_th_c_005fforEach_005f4, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f4))
            return true;
          out.write("', funcName:'");
          if (_jspx_meth_c_005fout_005f15(_jspx_th_c_005fforEach_005f4, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f4))
            return true;
          out.write("',cls: 'x-btn-text-icon',icon:'image/item/175.gif', handler: $G.runFunction},\r\n");
          out.write("                 ");
          int evalDoAfterBody = _jspx_th_c_005fforEach_005f4.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fforEach_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } catch (java.lang.Throwable _jspx_exception) {
      while (_jspx_push_body_count_c_005fforEach_005f4[0]-- > 0)
        out = _jspx_page_context.popBody();
      _jspx_th_c_005fforEach_005f4.doCatch(_jspx_exception);
    } finally {
      _jspx_th_c_005fforEach_005f4.doFinally();
      _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.reuse(_jspx_th_c_005fforEach_005f4);
    }
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f14(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f4, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f4)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f14 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f14.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f14.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f4);
    // /bill2.jsp(477,25) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f14.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.title}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f14 = _jspx_th_c_005fout_005f14.doStartTag();
    if (_jspx_th_c_005fout_005f14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f14);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f14);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f15(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f4, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f4)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f15 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f15.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f15.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f4);
    // /bill2.jsp(477,68) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f15.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.funcname}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f15 = _jspx_th_c_005fout_005f15.doStartTag();
    if (_jspx_th_c_005fout_005f15.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f15);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f15);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f16(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f16 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fescapeXml_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f16.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f16.setParent(null);
    // /bill2.jsp(502,3) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f16.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${javaScript_ds}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    // /bill2.jsp(502,3) name = escapeXml type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f16.setEscapeXml(false);
    int _jspx_eval_c_005fout_005f16 = _jspx_th_c_005fout_005f16.doStartTag();
    if (_jspx_th_c_005fout_005f16.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fescapeXml_005fnobody.reuse(_jspx_th_c_005fout_005f16);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fescapeXml_005fnobody.reuse(_jspx_th_c_005fout_005f16);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f17(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f17 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fescapeXml_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f17.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f17.setParent(null);
    // /bill2.jsp(515,8) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f17.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${javaScript_grid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    // /bill2.jsp(515,8) name = escapeXml type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f17.setEscapeXml(false);
    int _jspx_eval_c_005fout_005f17 = _jspx_th_c_005fout_005f17.doStartTag();
    if (_jspx_th_c_005fout_005f17.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fescapeXml_005fnobody.reuse(_jspx_th_c_005fout_005f17);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fescapeXml_005fnobody.reuse(_jspx_th_c_005fout_005f17);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f18(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f18 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f18.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f18.setParent(null);
    // /bill2.jsp(553,20) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f18.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageSize}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f18 = _jspx_th_c_005fout_005f18.doStartTag();
    if (_jspx_th_c_005fout_005f18.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f18);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f18);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f12(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f11, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f12 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f12.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f12.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f11);
    // /bill2.jsp(617,7) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f12.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.flowbox!='' &&param.flowbox!=null}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f12 = _jspx_th_c_005fif_005f12.doStartTag();
    if (_jspx_eval_c_005fif_005f12 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("       pcobj.value=\"");
        if (_jspx_meth_c_005fout_005f19(_jspx_th_c_005fif_005f12, _jspx_page_context))
          return true;
        out.write("\";\r\n");
        out.write("       ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f12.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f12);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f12);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f19(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f12, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f19 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f19.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f19.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f12);
    // /bill2.jsp(618,20) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f19.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.flowbox}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f19 = _jspx_th_c_005fout_005f19.doStartTag();
    if (_jspx_th_c_005fout_005f19.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f19);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f19);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f20(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f20 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f20.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f20.setParent(null);
    // /bill2.jsp(637,40) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f20.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.id}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f20 = _jspx_th_c_005fout_005f20.doStartTag();
    if (_jspx_th_c_005fout_005f20.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f20);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f20);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f21(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f21 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f21.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f21.setParent(null);
    // /bill2.jsp(638,46) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f21.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.billtype}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f21 = _jspx_th_c_005fout_005f21.doStartTag();
    if (_jspx_th_c_005fout_005f21.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f21);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f21);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f22(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f22 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f22.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f22.setParent(null);
    // /bill2.jsp(642,39) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f22.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${querystring}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f22 = _jspx_th_c_005fout_005f22.doStartTag();
    if (_jspx_th_c_005fout_005f22.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f22);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f22);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f23(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f23 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f23.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f23.setParent(null);
    // /bill2.jsp(643,36) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f23.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${nodeGuid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f23 = _jspx_th_c_005fout_005f23.doStartTag();
    if (_jspx_th_c_005fout_005f23.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f23);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f23);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f24(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f24 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f24.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f24.setParent(null);
    // /bill2.jsp(645,42) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f24.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${jsonQueryString}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f24 = _jspx_th_c_005fout_005f24.doStartTag();
    if (_jspx_th_c_005fout_005f24.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f24);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f24);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f13(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f13 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f13.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f13.setParent(null);
    // /bill2.jsp(646,8) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f13.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flowid>0}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f13 = _jspx_th_c_005fif_005f13.doStartTag();
    if (_jspx_eval_c_005fif_005f13 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("param.params.flowbox=$E('flowbox').value;");
        int evalDoAfterBody = _jspx_th_c_005fif_005f13.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f13);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f13);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f25(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f25 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f25.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f25.setParent(null);
    // /bill2.jsp(685,28) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f25.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${today}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f25 = _jspx_th_c_005fout_005f25.doStartTag();
    if (_jspx_th_c_005fout_005f25.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f25);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f25);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f26(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f26 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f26.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f26.setParent(null);
    // /bill2.jsp(685,69) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f26.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${today}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f26 = _jspx_th_c_005fout_005f26.doStartTag();
    if (_jspx_th_c_005fout_005f26.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f26);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f26);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f27(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f27 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f27.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f27.setParent(null);
    // /bill2.jsp(690,28) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f27.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${today_3}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f27 = _jspx_th_c_005fout_005f27.doStartTag();
    if (_jspx_th_c_005fout_005f27.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f27);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f27);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f28(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f28 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f28.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f28.setParent(null);
    // /bill2.jsp(695,28) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f28.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${today_7}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f28 = _jspx_th_c_005fout_005f28.doStartTag();
    if (_jspx_th_c_005fout_005f28.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f28);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f28);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f29(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f29 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f29.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f29.setParent(null);
    // /bill2.jsp(699,28) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f29.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${today_30}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f29 = _jspx_th_c_005fout_005f29.doStartTag();
    if (_jspx_th_c_005fout_005f29.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f29);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f29);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f14(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f14 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f14.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f14.setParent(null);
    // /bill2.jsp(993,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f14.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.autorun=='new'}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f14 = _jspx_th_c_005fif_005f14.doStartTag();
    if (_jspx_eval_c_005fif_005f14 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("  \tnewBill();\r\n");
        out.write("  \t ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f14.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f14);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f14);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f15(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f15 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f15.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f15.setParent(null);
    // /bill2.jsp(1024,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f15.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.id==1 &&  showDebugInfo }", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f15 = _jspx_th_c_005fif_005f15.doStartTag();
    if (_jspx_eval_c_005fif_005f15 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("  \t\talert(\"applet尚未初始化完成，请稍等。本提示仅sa 可以看到.\");\r\n");
        out.write("  \t\t\r\n");
        out.write("  \t\t");
        int evalDoAfterBody = _jspx_th_c_005fif_005f15.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f15.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f15);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f15);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f16(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f16 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f16.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f16.setParent(null);
    // /bill2.jsp(1044,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f16.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.id==1  &&  showDebugInfo }", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f16 = _jspx_th_c_005fif_005f16.doStartTag();
    if (_jspx_eval_c_005fif_005f16 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("\t alert(\"JRE崩溃了，自动重新加载\");\r\n");
        out.write("\t ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f16.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f16.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f16);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f16);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f30(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f30 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f30.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f30.setParent(null);
    // /bill2.jsp(1065,47) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f30.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${wiseoaappsubpath}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f30 = _jspx_th_c_005fout_005f30.doStartTag();
    if (_jspx_th_c_005fout_005f30.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f30);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f30);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f31(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f31 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f31.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f31.setParent(null);
    // /bill2.jsp(1087,15) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f31.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${dblClickAction}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f31 = _jspx_th_c_005fout_005f31.doStartTag();
    if (_jspx_th_c_005fout_005f31.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f31);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f31);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f17(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f17 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f17.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f17.setParent(null);
    // /bill2.jsp(1137,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f17.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flowid==0}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f17 = _jspx_th_c_005fif_005f17.doStartTag();
    if (_jspx_eval_c_005fif_005f17 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("    switchToBillForm ('billedit.jsp'+appendQueryString('tableid='+tableId +'&action=new'+ param));\r\n");
        out.write("    ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f17.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f17.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f17);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f17);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f18(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f18 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f18.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f18.setParent(null);
    // /bill2.jsp(1140,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f18.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flowid>0}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f18 = _jspx_th_c_005fif_005f18.doStartTag();
    if (_jspx_eval_c_005fif_005f18 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("    var url='flow_step.jsp'+appendQueryString('tableid='+tableId +'&action=new&flowid=");
        if (_jspx_meth_c_005fout_005f32(_jspx_th_c_005fif_005f18, _jspx_page_context))
          return true;
        out.write("&backto=bill&");
        if (_jspx_meth_c_005fout_005f33(_jspx_th_c_005fif_005f18, _jspx_page_context))
          return true;
        out.write("'+param);\r\n");
        out.write("   \r\n");
        out.write("    switchToBillForm (url);\r\n");
        out.write("    ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f18.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f18.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f18);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f18);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f32(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f18, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f32 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f32.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f32.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f18);
    // /bill2.jsp(1141,86) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f32.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flowid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f32 = _jspx_th_c_005fout_005f32.doStartTag();
    if (_jspx_th_c_005fout_005f32.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f32);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f32);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f33(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f18, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f33 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f33.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f33.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f18);
    // /bill2.jsp(1141,125) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f33.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flow_urlparameter}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f33 = _jspx_th_c_005fout_005f33.doStartTag();
    if (_jspx_th_c_005fout_005f33.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f33);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f33);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f34(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f34 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f34.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f34.setParent(null);
    // /bill2.jsp(1153,33) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f34.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${printFormatTemplateId}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f34 = _jspx_th_c_005fout_005f34.doStartTag();
    if (_jspx_th_c_005fout_005f34.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f34);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f34);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f35(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f35 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f35.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f35.setParent(null);
    // /bill2.jsp(1165,32) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f35.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.id}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f35 = _jspx_th_c_005fout_005f35.doStartTag();
    if (_jspx_th_c_005fout_005f35.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f35);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f35);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f36(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f36 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f36.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f36.setParent(null);
    // /bill2.jsp(1176,25) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f36.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flowid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f36 = _jspx_th_c_005fout_005f36.doStartTag();
    if (_jspx_th_c_005fout_005f36.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f36);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f36);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f19(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f19 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f19.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f19.setParent(null);
    // /bill2.jsp(1433,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f19.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flowid>0}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f19 = _jspx_th_c_005fif_005f19.doStartTag();
    if (_jspx_eval_c_005fif_005f19 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("  \t  var record= $G.ds.getById( id);\r\n");
        out.write("  \t  var workid=   record.data.workid ;\r\n");
        out.write("  \t  if( workid==undefined) workid=0;\r\n");
        out.write("  \t  if(workid==null) workid=0;\r\n");
        out.write("  \t  if( workid!=0)\r\n");
        out.write("  \t {\r\n");
        out.write("  \t\t  url='flow_step.jsp'+appendQueryString('tableid='+tableId +'&flowid=");
        if (_jspx_meth_c_005fout_005f37(_jspx_th_c_005fif_005f19, _jspx_page_context))
          return true;
        out.write("&backto=bill&id='+record.data.workid+'&toolbar=0&action=step&moreaction=view&");
        if (_jspx_meth_c_005fout_005f38(_jspx_th_c_005fif_005f19, _jspx_page_context))
          return true;
        out.write("');\r\n");
        out.write("  \t }else\r\n");
        out.write("  \t {\r\n");
        out.write("  \t\t alert(\"单据挂接了流程，但本行数据没有对应的流程数据，所以仍以单据模式进行查看\\n(出现这个现象的原因可能是在已经录入不少数据后再为单据挂接了流程，历史数据就没有对应的流程数据)\");\t \r\n");
        out.write("  \t }\r\n");
        out.write("      ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f19.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f19.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f19);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f19);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f37(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f19, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f37 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f37.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f37.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f19);
    // /bill2.jsp(1440,73) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f37.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flowid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f37 = _jspx_th_c_005fout_005f37.doStartTag();
    if (_jspx_th_c_005fout_005f37.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f37);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f37);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f38(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f19, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f38 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f38.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f38.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f19);
    // /bill2.jsp(1440,176) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f38.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flow_urlparameter}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f38 = _jspx_th_c_005fout_005f38.doStartTag();
    if (_jspx_th_c_005fout_005f38.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f38);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f38);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f39(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f39 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f39.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f39.setParent(null);
    // /bill2.jsp(1475,14) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f39.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${wiseoaappsubpath}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f39 = _jspx_th_c_005fout_005f39.doStartTag();
    if (_jspx_th_c_005fout_005f39.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f39);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f39);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f20(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f20 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f20.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f20.setParent(null);
    // /bill2.jsp(1477,3) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f20.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flowid>0}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f20 = _jspx_th_c_005fif_005f20.doStartTag();
    if (_jspx_eval_c_005fif_005f20 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write(" \t var record= $G.ds.getById( id);\r\n");
        out.write(" \t \r\n");
        out.write(" \t var workid=   record.data.workid ;\r\n");
        out.write(" \t  if( workid==undefined) workid=0;\r\n");
        out.write(" \t  if(workid==null) workid=0;\r\n");
        out.write(" \t  if( workid!=0)\r\n");
        out.write(" \t {\r\n");
        out.write(" \t\t url='");
        if (_jspx_meth_c_005fout_005f40(_jspx_th_c_005fif_005f20, _jspx_page_context))
          return true;
        out.write("/flow_step.jsp'+appendQueryString('tableid='+tableId +'&flowid=");
        if (_jspx_meth_c_005fout_005f41(_jspx_th_c_005fif_005f20, _jspx_page_context))
          return true;
        out.write("&backto=bill&id='+record.data.workid+'&toolbar=0&action=step&moreaction=todo&");
        if (_jspx_meth_c_005fout_005f42(_jspx_th_c_005fif_005f20, _jspx_page_context))
          return true;
        out.write("');\r\n");
        out.write(" \t }else\r\n");
        out.write(" \t {\r\n");
        out.write(" \t\t  \r\n");
        out.write(" \t  \t     jsrsExecute(\"servlet/wiseoa.bill.rpc.BillDataManage\", callback_checkWorkIdForBIll, \"checkWorkIdForBIll\",\r\n");
        out.write(" \t  \t  \t\t  \t   \t             [tableId , id  ] ,false);\r\n");
        out.write(" \t \r\n");
        out.write(" \t  \t     return;\r\n");
        out.write(" \t \r\n");
        out.write(" \t }\r\n");
        out.write(" \t  \r\n");
        out.write("     \r\n");
        out.write("     ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f20.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f20.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f20);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f20);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f40(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f20, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f40 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f40.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f40.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f20);
    // /bill2.jsp(1485,9) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f40.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${wiseoaappsubpath}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f40 = _jspx_th_c_005fout_005f40.doStartTag();
    if (_jspx_th_c_005fout_005f40.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f40);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f40);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f41(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f20, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f41 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f41.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f41.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f20);
    // /bill2.jsp(1485,108) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f41.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flowid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f41 = _jspx_th_c_005fout_005f41.doStartTag();
    if (_jspx_th_c_005fout_005f41.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f41);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f41);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f42(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f20, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f42 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f42.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f42.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f20);
    // /bill2.jsp(1485,211) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f42.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${flow_urlparameter}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f42 = _jspx_th_c_005fout_005f42.doStartTag();
    if (_jspx_th_c_005fout_005f42.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f42);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f42);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f43(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f43 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f43.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f43.setParent(null);
    // /bill2.jsp(1600,52) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f43.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.id}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f43 = _jspx_th_c_005fout_005f43.doStartTag();
    if (_jspx_th_c_005fout_005f43.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f43);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f43);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f44(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f44 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f44.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f44.setParent(null);
    // /bill2.jsp(1600,90) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f44.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.billtype}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f44 = _jspx_th_c_005fout_005f44.doStartTag();
    if (_jspx_th_c_005fout_005f44.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f44);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f44);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f45(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f45 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f45.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f45.setParent(null);
    // /bill2.jsp(1714,135) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f45.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.id}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f45 = _jspx_th_c_005fout_005f45.doStartTag();
    if (_jspx_th_c_005fout_005f45.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f45);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f45);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f46(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f46 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f46.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f46.setParent(null);
    // /bill2.jsp(1714,178) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f46.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.billtype}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f46 = _jspx_th_c_005fout_005f46.doStartTag();
    if (_jspx_th_c_005fout_005f46.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f46);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f46);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f23(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f21, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f23 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f23.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f23.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f21);
    // /bill2.jsp(1873,6) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f23.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.wiseoabilltitle!=null}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f23 = _jspx_th_c_005fif_005f23.doStartTag();
    if (_jspx_eval_c_005fif_005f23 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("\t\t\t\t\t\t\t");
        if (_jspx_meth_c_005fout_005f47(_jspx_th_c_005fif_005f23, _jspx_page_context))
          return true;
        out.write("\r\n");
        out.write("\t\t\t\t\t\t");
        int evalDoAfterBody = _jspx_th_c_005fif_005f23.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f23.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f23);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f23);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f47(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f23, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f47 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f47.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f47.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f23);
    // /bill2.jsp(1874,7) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f47.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.wiseoabilltitle}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f47 = _jspx_th_c_005fout_005f47.doStartTag();
    if (_jspx_th_c_005fout_005f47.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f47);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f47);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f24(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f24 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f24.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f24.setParent(null);
    // /bill2.jsp(1877,13) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f24.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${billtypename!=''}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f24 = _jspx_th_c_005fif_005f24.doStartTag();
    if (_jspx_eval_c_005fif_005f24 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("\t\t\t\t\t\t");
        if (_jspx_meth_c_005fif_005f25(_jspx_th_c_005fif_005f24, _jspx_page_context))
          return true;
        out.write("\r\n");
        out.write("\t\t\t\t\t\t");
        if (_jspx_meth_c_005fif_005f26(_jspx_th_c_005fif_005f24, _jspx_page_context))
          return true;
        out.write("\r\n");
        out.write("\r\n");
        out.write("\t\t\t\t\t\r\n");
        out.write("\t\t\t\t\t");
        int evalDoAfterBody = _jspx_th_c_005fif_005f24.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f24.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f24);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f24);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f25(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f24, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f25 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f25.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f25.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f24);
    // /bill2.jsp(1878,6) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f25.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.wiseoabilltitle==null}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f25 = _jspx_th_c_005fif_005f25.doStartTag();
    if (_jspx_eval_c_005fif_005f25 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("\t\t\t\t\t\t\t");
        if (_jspx_meth_c_005fout_005f48(_jspx_th_c_005fif_005f25, _jspx_page_context))
          return true;
        out.write("\r\n");
        out.write("\t\t\t\t\t\t");
        int evalDoAfterBody = _jspx_th_c_005fif_005f25.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f25.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f25);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f25);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f48(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f25, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f48 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f48.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f48.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f25);
    // /bill2.jsp(1879,7) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f48.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${billtypename}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f48 = _jspx_th_c_005fout_005f48.doStartTag();
    if (_jspx_th_c_005fout_005f48.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f48);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f48);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f26(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f24, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f26 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f26.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f26.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f24);
    // /bill2.jsp(1881,6) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f26.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.wiseoabilltitle!=null}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f26 = _jspx_th_c_005fif_005f26.doStartTag();
    if (_jspx_eval_c_005fif_005f26 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("\t\t\t\t\t\t\t");
        if (_jspx_meth_c_005fout_005f49(_jspx_th_c_005fif_005f26, _jspx_page_context))
          return true;
        out.write("\r\n");
        out.write("\t\t\t\t\t\t");
        int evalDoAfterBody = _jspx_th_c_005fif_005f26.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f26.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f26);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f26);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f49(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f26, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f49 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f49.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f49.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f26);
    // /bill2.jsp(1882,7) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f49.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.wiseoabilltitle}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f49 = _jspx_th_c_005fout_005f49.doStartTag();
    if (_jspx_th_c_005fout_005f49.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f49);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f49);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f27(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f27 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f27.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f27.setParent(null);
    // /bill2.jsp(1887,5) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f27.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${nodeName!='' }", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f27 = _jspx_th_c_005fif_005f27.doStartTag();
    if (_jspx_eval_c_005fif_005f27 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("\t\t\t\t\t【");
        if (_jspx_meth_c_005fout_005f50(_jspx_th_c_005fif_005f27, _jspx_page_context))
          return true;
        out.write("】 <!-- 如果限定只列出某步骤的 -->\r\n");
        out.write("\t\t\t\t\t");
        int evalDoAfterBody = _jspx_th_c_005fif_005f27.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f27.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f27);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f27);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f50(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f27, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f50 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f50.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f50.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f27);
    // /bill2.jsp(1888,6) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f50.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${nodeName}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f50 = _jspx_th_c_005fout_005f50.doStartTag();
    if (_jspx_th_c_005fout_005f50.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f50);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f50);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f51(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f51 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f51.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f51.setParent(null);
    // /bill2.jsp(1891,38) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f51.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${printFormatTemplateId}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f51 = _jspx_th_c_005fout_005f51.doStartTag();
    if (_jspx_th_c_005fout_005f51.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f51);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f51);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f52(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f52 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f52.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f52.setParent(null);
    // /bill2.jsp(1906,31) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f52.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${homeURL}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f52 = _jspx_th_c_005fout_005f52.doStartTag();
    if (_jspx_th_c_005fout_005f52.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f52);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f52);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f53(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f53 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f53.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f53.setParent(null);
    // /bill2.jsp(1917,32) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f53.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.billtype}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f53 = _jspx_th_c_005fout_005f53.doStartTag();
    if (_jspx_th_c_005fout_005f53.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f53);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f53);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f54(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f54 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f54.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f54.setParent(null);
    // /bill2.jsp(1918,32) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f54.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.id}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f54 = _jspx_th_c_005fout_005f54.doStartTag();
    if (_jspx_th_c_005fout_005f54.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f54);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f54);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f55(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f55 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f55.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f55.setParent(null);
    // /bill2.jsp(1920,15) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f55.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${jsonQueryString}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f55 = _jspx_th_c_005fout_005f55.doStartTag();
    if (_jspx_th_c_005fout_005f55.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f55);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f55);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f56(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f56 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f56.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f56.setParent(null);
    // /bill2.jsp(1922,15) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f56.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${onCommissionURL}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f56 = _jspx_th_c_005fout_005f56.doStartTag();
    if (_jspx_th_c_005fout_005f56.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f56);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f56);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f57(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f57 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f57.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f57.setParent(null);
    // /bill2.jsp(1924,44) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f57.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.showinitstepinfo}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f57 = _jspx_th_c_005fout_005f57.doStartTag();
    if (_jspx_th_c_005fout_005f57.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f57);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f57);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f28(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f28 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f28.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f28.setParent(null);
    // /bill2.jsp(1983,3) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f28.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${iframeUrl!=''}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f28 = _jspx_th_c_005fif_005f28.doStartTag();
    if (_jspx_eval_c_005fif_005f28 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("\t\t\t\t<iframe id=detailframe frameborder=0\r\n");
        out.write("\t\t\t\t\tsrc='");
        if (_jspx_meth_c_005fout_005f58(_jspx_th_c_005fif_005f28, _jspx_page_context))
          return true;
        out.write("'\r\n");
        out.write("\t\t\t\t\tstyle=\"width:100%; height:");
        if (_jspx_meth_c_005fout_005f59(_jspx_th_c_005fif_005f28, _jspx_page_context))
          return true;
        out.write("px; border:0;\">\r\n");
        out.write("\t\t\t\t</iframe>\r\n");
        out.write("\r\n");
        out.write("\t\t\t");
        int evalDoAfterBody = _jspx_th_c_005fif_005f28.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f28.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f28);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f28);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f58(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f28, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f58 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f58.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f58.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f28);
    // /bill2.jsp(1985,10) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f58.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${iframeUrl}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f58 = _jspx_th_c_005fout_005f58.doStartTag();
    if (_jspx_th_c_005fout_005f58.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f58);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f58);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f59(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f28, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f59 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f59.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f59.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f28);
    // /bill2.jsp(1986,31) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f59.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${footerHeight-25}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f59 = _jspx_th_c_005fout_005f59.doStartTag();
    if (_jspx_th_c_005fout_005f59.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f59);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f59);
    return false;
  }
}
