您的位置:首页 > 产品设计 > UI/UE

easyui中下拉菜单默认显示值处理

2016-06-06 17:56 323 查看

       //投资总额

        $("#touZiZongEDanWeiAA").combobox({ 

            valueField: 'dictionaryCode',

            textField: 'name',

            data:[{'name':'万美元','dictionaryCode':'10150002'}],

            value:"10150002"//默认显示值

        });

        //外方出资

        $('#waiFangChuZiJinE').numberbox({   

            required: true   

        });

        $('#waiFangChuZiJinEDanWeiAA').combobox({

            data:[{'name':'万美元','dictionaryCode':'10160002'}],

            required: true,

            value:"10160002"

        });

        //注册资本

        $("#zhuCeZiBenBiZhongAA").combobox({   

            valueField: 'dictionaryCode',

            textField: 'name',

            data:[{'name':'万美元','dictionaryCode':'10180002'}],

            value:"10180002"

        });
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  easyui combobox