var forecast1 = contentPane.parameterEl.getWidgetByName("forecast1").getValue(); var forecast2 = contentPane.parameterEl.getWidgetByName("forecast2").getValue(); var subsidiary = contentPane.parameterEl.getWidgetByName("subsidiary").getValue(); var customergroup = contentPane.parameterEl.getWidgetByName("customergroup").getValue(); var customer = contentPane.parameterEl.getWidgetByName("customer").getValue(); var channel = contentPane.parameterEl.getWidgetByName("channel").getValue(); var modelgroup = contentPane.parameterEl.getWidgetByName("modelgroup").getValue(); var model = contentPane.parameterEl.getWidgetByName("model").getValue(); var article = contentPane.parameterEl.getWidgetByName("article").getValue(); var base = contentPane.parameterEl.getWidgetByName("base").getValue(); var override = contentPane.parameterEl.getWidgetByName("override").getValue(); var special = contentPane.parameterEl.getWidgetByName("special").getValue(); if(parseInt(page) > parseInt(total))//如果报表显示最后一页,则下一页不可用 { this.setEnable(false)} else { window.location.href="${servletURL}?reportlet=DP/DP.cpt&op=view&page="+page+ "&forecast1="+forecast1+"&forecast2="+forecast1+ "&subsidiary="+subsidiary+"&customergroup="+customergroup+"&customer="+customer+ "&channel="+channel+ "&modelgroup="+modelgroup+"&model="+model+"&article="+article+"&base="+base+"&override="+override +"&special="+special } |