//n.setSelectedObjects([n.getObjects()[0][0]],STRING)
//范围过滤1.setSelectedObjects([formatDate(dateAdd(new Date(),"day",-1),"MM")],STRING)
范围过滤1.setSelectedObjects([formatDate(dateAdd(new Date(),"day",-1),"MM")],STRING)
var loc= new Locator(["r-0"], ROW, DETAIL);
自由式表格2.setRowHeight(loc,0);
var loc1= new Locator(["r-1"], ROW, DETAIL);
自由式表格2.setRowHeight(loc1,0);
var loc2= new Locator(["r-2"], ROW, DETAIL);
自由式表格2.setRowHeight(loc2,0);
var loc3= new Locator(["r-3"], ROW, DETAIL);
自由式表格2.setRowHeight(loc3,0);
var loc4= new Locator(["r-4"], ROW, DETAIL);
自由式表格2.setRowHeight(loc4,0);
var loc= new Locator(["r-0"], ROW, DETAIL);
自由式表格1.setRowHeight(loc,0);
var loc1= new Locator(["r-1"], ROW, DETAIL);
自由式表格1.setRowHeight(loc1,0);
var loc2= new Locator(["r-2"], ROW, DETAIL);
自由式表格1.setRowHeight(loc2,0);
var loc3= new Locator(["r-3"], ROW, DETAIL);
自由式表格1.setRowHeight(loc3,0);
var loc4= new Locator(["r-4"], ROW, DETAIL);
自由式表格1.setRowHeight(loc4,0);
var loc= new Locator(["r-0"], ROW, DETAIL);
自由式表格3.setRowHeight(loc,0);
var loc1= new Locator(["r-1"], ROW, DETAIL);
自由式表格3.setRowHeight(loc1,0);
var loc2= new Locator(["r-2"], ROW, DETAIL);
自由式表格3.setRowHeight(loc2,0);
var loc3= new Locator(["r-3"], ROW, DETAIL);
自由式表格3.setRowHeight(loc3,0);
var loc4= new Locator(["r-4"], ROW, DETAIL);
自由式表格3.setRowHeight(loc4,0);
var loc= new Locator(["r-0"], ROW, DETAIL);
自由式表格4.setRowHeight(loc,0);
var loc1= new Locator(["r-1"], ROW, DETAIL);
自由式表格4.setRowHeight(loc1,0);
var loc2= new Locator(["r-2"], ROW, DETAIL);
自由式表格4.setRowHeight(loc2,0);
var loc3= new Locator(["r-3"], ROW, DETAIL);
自由式表格4.setRowHeight(loc3,0);
var loc4= new Locator(["r-4"], ROW, DETAIL);
自由式表格4.setRowHeight(loc4,0);
var loc= new Locator(["r-0"], ROW, DETAIL);
自由式表格5.setRowHeight(loc,0);
var loc1= new Locator(["r-1"], ROW, DETAIL);
自由式表格5.setRowHeight(loc1,0);
var loc2= new Locator(["r-2"], ROW, DETAIL);
自由式表格5.setRowHeight(loc2,0);
var loc3= new Locator(["r-3"], ROW, DETAIL);
自由式表格5.setRowHeight(loc3,0);
var loc4= new Locator(["r-4"], ROW, DETAIL);
自由式表格5.setRowHeight(loc4,0);
var loc= new Locator(["r-0"], ROW, DETAIL);
自由式表格6.setRowHeight(loc,0);
var loc1= new Locator(["r-1"], ROW, DETAIL);
自由式表格6.setRowHeight(loc1,0);
var loc2= new Locator(["r-2"], ROW, DETAIL);
自由式表格6.setRowHeight(loc2,0);
var loc3= new Locator(["r-3"], ROW, DETAIL);
自由式表格6.setRowHeight(loc3,0);
var loc4= new Locator(["r-4"], ROW, DETAIL);
自由式表格6.setRowHeight(loc4,0);
var a = getData("范围过滤1").size(); //获取范围过滤的所有数据个数
var sum = 0;
var c = new Array();
for(var i=0;i<a;i++){
var b =范围过滤1.getSelectedObjects(); //获取范围过滤所选的数据
if(b!=null){ //判断选择项是否为空
sum=sum+1;
c.push(b);
}
}
param['y']=c[sum-1]
|