|
|
|
@ -144,8 +144,16 @@ function onValueChange(_type: string) { |
|
|
|
//select 组件特殊处理 |
|
|
|
function onSekectValueChange(news:number){ |
|
|
|
if(props.data.options){ |
|
|
|
let _label=""; |
|
|
|
for(const op of props.data.options){ |
|
|
|
if(op.value==news.toString()){ |
|
|
|
_label= op.label |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
fieldChangeEnt && |
|
|
|
fieldChangeEnt({key:props.data.name,value:props.data.options[news-1].label, field:props.data.item.label,rowdex:props.rowIndex}) |
|
|
|
fieldChangeEnt({key:props.data.name,value:_label, field:props.data.item.label,rowdex:props.rowIndex}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|