Index: ssts-web/src/main/webapp/disinfectsystem/assestManagement/godownEntry/godownOutView.js =================================================================== diff -u -r12754 -r12758 --- ssts-web/src/main/webapp/disinfectsystem/assestManagement/godownEntry/godownOutView.js (.../godownOutView.js) (revision 12754) +++ ssts-web/src/main/webapp/disinfectsystem/assestManagement/godownEntry/godownOutView.js (.../godownOutView.js) (revision 12758) @@ -318,7 +318,7 @@ id : 'warehouseName' },{ id : 'serialNum', - columnWidth : .33, + columnWidth : .25, layout : 'form', labelWidth : 40, hidden:true, @@ -334,8 +334,41 @@ anchor : '95%' }] }, { - columnWidth : .33, + columnWidth : .25, layout : 'form', + labelWidth : 40, + items:[{ + xtype : 'combo', + fieldLabel : '仓库', + id : 'wareHouse1', + name : 'wareHouse1', + minChars : 0, + valueField : 'id', + displayField : 'name', + store : wareHouseStore, + forceSelection : true, + lazyInit : false, + triggerAction : 'all', + hideTrigger : true, + typeAhead : false, + allowBlank : true, + width : 100, + listeners : { + select : function(combo, record, index) { + setWareHouseInfo(record.data.id,record.data.name); + top.Ext.getCmp('wareHouse1').setValue(record.data.id); + top.Ext.getCmp('name1').focus(); + }, + specialkey : function(field, ee) { + if (ee.getKey() == Ext.EventObject.ENTER) { + top.Ext.getCmp('name1').focus(); + } + } + } + }] + },{ + columnWidth : .25, + layout : 'form', labelWidth : 60, items : [{ xtype : 'textfield', @@ -350,7 +383,7 @@ anchor : '95%' }] }, { - columnWidth : .33, + columnWidth : .25, layout : 'form', labelWidth : 60, items : [{ @@ -440,37 +473,6 @@ name : 'barcode', id : 'barcode' },{ - text : '仓库:' - },{ - - xtype : 'combo', - id : 'wareHouse1', - name : 'wareHouse1', - minChars : 0, - valueField : 'id', - displayField : 'name', - store : wareHouseStore, - forceSelection : true, - lazyInit : false, - triggerAction : 'all', - hideTrigger : true, - typeAhead : false, - allowBlank : true, - width : 100, - listeners : { - select : function(combo, record, index) { - setWareHouseInfo(record.data.id,record.data.name); - top.Ext.getCmp('wareHouse1').setValue(record.data.id); - top.Ext.getCmp('name1').focus(); - }, - specialkey : function(field, ee) { - if (ee.getKey() == Ext.EventObject.ENTER) { - top.Ext.getCmp('name1').focus(); - } - } - } - - },{ text : '名称:' },{ xtype : 'combo',