xtype: 'combo',
emptyText : '选择工地(编码/地址)',
store:'buildSite.BuildSite',
id:'chooseS',
hidden:true,
displayField: 'code',
valueField:'code',
typeAhead: false,
allowBlank:false,
queryParam:'superParam',
hideLabel: true,
hideTrigger:true,
anchor: '70%',
name:'siteCode',
minChars:1,
bind: '{theUser.siteCode}',
listConfig: {
loadingText: '查询中...',
emptyText: '没有查到该工地...',
itemSelector: '.search-item',
itemTpl: [
'<div style="border:1px solid;border-color: white;">',
'<span style="font-size: 14px;font-weight: 800">工地编号:{code}</span><br>' +
'<span style="font-size: 10px;font-color:#ccc">地址:{address}</span>',
'</div>'
]
}
Ext 根据输入值模糊查询所需选项
最新推荐文章于 2019-04-02 23:08:24 发布