首页新闻招聘找找看知识库

求助:dorado 处理下拉框级联怎么获取父节点的值

0
悬赏园豆:10 [已关闭问题]

<AutoFormElement id="afeType">
<Property name="name">problemType</Property>
<Property name="property">problemType</Property>
<Property name="trigger">dropDown1</Property>
<Property name="editable">false</Property>
<Editor/>
</AutoFormElement>
<AutoFormElement id="afeUnit">
<Property name="name">problemUnit</Property>
<Property name="property">problemUnit</Property>
<Property name="readOnly">true</Property>
<Editor/>
</AutoFormElement>

我要用problemType 选择的值去确定problemUnit字段是否能填充值

在dropDown1的onAttributeChange事件中写了如下代码,if()是想得到problemType的值,请帮看下应该咋搞才能渠道problemType值?

if(view.get("#afeType").getValue = "外部"){
view.set("#afeUnit.readOnly",false);
}

终南太白的主页 终南太白 | 初学一级 | 园豆:193
提问于:2017-07-17 16:50

问题补充:

有会dorado的没?

< >
分享
   您需要登录以后才能回答,未注册用户请先注册