{ xtype: "fieldcontainer", layout: "hbox", items: [{ fieldLabel: '开始时间', name: 'CreateTime', xtype: 'datefield', editable: false, emptyText: "--请选择--", format: "Y-m-d",//日期的格式 allowBlank: false, 300, }, { fieldLabel: '到期时间', name: 'EndTime', xtype: 'datefield', editable: false, emptyText: "--请选择--", format: "Y-m-d",//日期的格式 allowBlank: false, 300, }] }