yhdata_lyaa
显示全部楼层
发表于 2022-6-23 16:07:46
参考,第二个是多选
var a = 下拉参数1.getSelectedObjects()[0
var b= 下拉列表参数1.getSelectedObjects();
var c=[];
for (var i=0;i<b.length;i++) {
c.push(a + "-" +"0" +b[i]+ "-01")
}
param["data1" =c;
for(var i=0;i<c.length;i++){
debug(param["data1"][i)
}
|
|