const store = this.getStore('xxxx');
store.proxy.extraParams = {
e:e
};
store.load({
scope : this,
callback: function(records, operation, success) {
if(store.getCount()===1){
combo.up().getForm().findField('iName').setValue(records[0].data.invoiceTitle);
}else{
for(var i=0;i<records.length;i++){
if(records[i].data.it ==='1'){
combo.up().getForm().findField('iName').setValue(records[i].data.xxx);
}
}
}
}
});
12-08
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交