关于ligerUI下拉列表两级联动的问题

2020-07-12 社会 58阅读
var tempextno="0";
{ display: '分机号', name: 'extno',width:50, type: "select",
editor: { type: 'select', url: 'accountaction!getaccountextno.action', parms :{exttype:0},valueField:'extno', textField:'extno',
onSelected:function(value){
tempextno=value;
}
}
},
{ display: "分机1", name: "extnoa", width:50, type: "select",
editor: { type: 'select',valueField:'extno', textField:'extno',
ext:function(){
var options = {
url:"accountaction!getaccountextno.action",
parms:{exttype:tempextno},
};
return options;
}
}
}
声明:你问我答网所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系fangmu6661024@163.com