Index: ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js =================================================================== diff -u -r23931 -r23933 --- ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js (.../foreignTousseInfoForm.js) (revision 23931) +++ ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js (.../foreignTousseInfoForm.js) (revision 23933) @@ -1759,53 +1759,59 @@ thiz.selectText(); } } - }, - //simon-add - { - xtype : 'combo', - fieldLabel : '处理科室', - id : 'handleDepart', - name : 'handleDepart', - minChars : 0, - valueField : 'handleDepart', - displayField : 'handleDepart', - store : handleDepartmentStore, - forceSelection : false, - lazyInit : true, - width : '33.3%', - triggerAction : 'all', - hideTrigger : false, - typeAhead : false, - allowBlank : false, + }] + },{ + xtype : 'container', + width : '100%', + layout : 'hbox', flex : 1, - listeners:{ - select:function(combo, records, index){ - var record = transformRecords(records); - var handleDepart=record.data.handleDepart; - var handleDepartCoding=record.data.handleDepartCoding; - top.Ext4.getCmp("handleDepart").setValue(handleDepart); - top.Ext4.getCmp("handleDepartCoding").setValue(handleDepartCoding); - }, - focus : function(thiz){ - thiz.selectText(); - } - } - }, - { + items : [ + //simon-add + { xtype : 'combo', - fieldLabel : '处理方式', - id : 'processType', - name : 'processType', - valueField : 'typeName', - displayField : 'typeName', - store : processTypeJsonStore, - allowBlank: true, - forceSelection : true, + fieldLabel : '处理科室', + id : 'handleDepart', + name : 'handleDepart', + minChars : 0, + valueField : 'handleDepart', + displayField : 'handleDepart', + store : handleDepartmentStore, + forceSelection : false, + lazyInit : true, + width : '33.3%', triggerAction : 'all', - flex : 1 - } - ] - },{ + hideTrigger : false, + typeAhead : false, + allowBlank : false, + flex : 1, + listeners:{ + select:function(combo, records, index){ + var record = transformRecords(records); + var handleDepart=record.data.handleDepart; + var handleDepartCoding=record.data.handleDepartCoding; + top.Ext4.getCmp("handleDepart").setValue(handleDepart); + top.Ext4.getCmp("handleDepartCoding").setValue(handleDepartCoding); + }, + focus : function(thiz){ + thiz.selectText(); + } + } + }, + { + xtype : 'combo', + fieldLabel : '处理方式', + id : 'processType', + name : 'processType', + valueField : 'typeName', + displayField : 'typeName', + store : processTypeJsonStore, + allowBlank: true, + forceSelection : true, + triggerAction : 'all', + flex : 1 + } + ] + },{ xtype : 'container', width : '100%', layout : 'hbox',