items: [
        {
            xtype: "fieldcontainer",
            layout: "hbox",
            items: [{
                xtype: 'combo', 
                name: 'ModelId',
                fieldLabel: '服务模型',
                store: comStore_CCServiceModel,
                valueField: "ModelId",
                displayField: "ModelName",
                mode: 'remote',//local
                editable: false,
                triggerAction: 'all',
                autoload: true,
                listeners: {
                    "select": function (combo, store, index) {

                        var CCTypeId = form.form.findField('CCTypeId');
                        CCTypeId.clearValue();

                        var ModelId = form.form.findField("ModelId").getValue();
                        CCTypeId.store.load({
                            params: {
                                ModelId: ModelId
                            }
                        });
                    }
                }              
            }]
        },{
            xtype: "fieldcontainer",
            layout: "hbox",
            items: [{
                xtype: 'combo',
                name: 'CCTypeId',
                fieldLabel: '服务方式',
                store: comStore_CCServiceCategory,
                valueField: "CCTypeId",
                displayField: "CCTypeName",
                editable: false,
                triggerAction: 'all',
                allowBlank: false,
                autoload: false,
                queryMode: 'local',
            }]
        },

 

相关文章:

  • 2022-01-30
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-05
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2021-06-02
相关资源
相似解决方案