//申请科室
var comboboxdept = new Ext.form.ComboBox({
xtype: "combobox",
name: "Gender",
fieldLabel: "申请科室",
columnWidth: .271,
labelAlign: 'right',
labelWidth: 60,
id: this.namespace + '_deptCombo',
store: deptStore,
editable: false,
displayField: "NAME",
valueField: "CODE",
emptyText: "--请选择科室--",
queryMode: "local",
style: 'padding-top:20px;margin-left:30px;'
});

 

 

//同层级下可用该写法
var code= comboboxdept.getValue(); var name= comboboxdept.getRawValue()

 

//不同层级下可用该写法
var code=Ext.getCmp(this.namespace + '_orgCombo').getValue()
var name=Ext.getCmp(this.namespace + '_doctorOutCombo').getRawValue()

 

相关文章:

  • 2021-12-10
  • 2022-12-23
  • 2021-07-03
  • 2021-10-28
  • 2022-12-23
  • 2021-11-17
猜你喜欢
  • 2021-06-29
  • 2022-12-23
  • 2021-07-27
  • 2022-12-23
  • 2021-09-19
  • 2022-12-23
  • 2021-08-03
相关资源
相似解决方案