Index: ssts-web/src/main/webapp/disinfectsystem/materialmanager/materialEntryView.js =================================================================== diff -u -r13520 -r13522 --- ssts-web/src/main/webapp/disinfectsystem/materialmanager/materialEntryView.js (.../materialEntryView.js) (revision 13520) +++ ssts-web/src/main/webapp/disinfectsystem/materialmanager/materialEntryView.js (.../materialEntryView.js) (revision 13522) @@ -450,7 +450,7 @@ hideTrigger : true, typeAhead : false, allowBlank : true, - width : 150, + width : 250, listeners : { select : function(combo, record, index) { top.Ext.getCmp('name1').setValue(record.data.name); @@ -481,7 +481,7 @@ hideTrigger : true, typeAhead : false, allowBlank : true, - width : 200, + width : 180, listeners : { select : function(combo, record, index) { combo.setValue(record.data.name); @@ -499,7 +499,7 @@ maxLength : '16', id : 'amount1', name : 'amount1', - width : 70, + width : 40, regex: /^\d+$/, regexText:'只能输入数字', anchor : '95%', @@ -517,7 +517,7 @@ maxLength : '16', id : 'cost1', name : 'cost1', - width : 70, + width : 40, regex: /^(([1-9]+[0-9]*.{1}[0-9]+)|([0].{1}[1-9]+[0-9]*)|([1-9][0-9]*)|([0][.][0-9]+[1-9]*))$/, regexText:'只能输入正数', anchor : '95%', @@ -580,18 +580,7 @@ allowBlank : true, width : 80, tabIndex : 9, - hidden:!sstsConfig.godownEntryShowInvoice, - listeners : { - select : function(field, r) { - top.Ext.getCmp('manufacturer').focus(); - }, - specialKey:function(f,e){ - if (e.getKey() == Ext.EventObject.ENTER) { - top.Ext.getCmp('manufacturer').focus(); - top.Ext.getCmp('manufacturer').selectText(); - } - } - } + hidden:!sstsConfig.godownEntryShowInvoice },{ text : '注册证号:' },{