Index: ssts-web/src/main/webapp/systemmanage/orgUnitExt.js =================================================================== diff -u -r29551 -r30913 --- ssts-web/src/main/webapp/systemmanage/orgUnitExt.js (.../orgUnitExt.js) (revision 29551) +++ ssts-web/src/main/webapp/systemmanage/orgUnitExt.js (.../orgUnitExt.js) (revision 30913) @@ -140,7 +140,6 @@ blankText:'', invalidText:'部门编码不能为空!', msgTarget:'side', - enableKeyEvents: true, listeners: { 'render': function(c) { c.getEl().on('keyup', function(key) { @@ -462,11 +461,13 @@ Ext.getCmp('saveAndNewBtn').setVisible(true); Ext.getCmp('saveAndPrint').setVisible(true); FormUtils.setReadOnly(formObj.form.el.dom, false); - Ext.getCmp('orgUnitCoding').addClass('fieldReadOnlyNoRemove'); + Ext.getCmp('orgUnitCoding').addClass('fieldReadOnlyNoRemove'); + Ext.getCmp('orgUnitCoding').disable(); FormUtils.setSpecificElReadOnly(formObj.form.el.dom,['userNames'], true); FormUtils.setSpecificElReadOnly(formObj.form.el.dom,['principal','subLeadName'], true); FormUtils.setSpecificElReadOnly(formObj.form.el.dom,['wbCode','spelling'], true); - FormUtils.setSpecificElReadOnly(formObj.form.el.dom,['barcode','orgUnitCoding','nodePath'], true); + FormUtils.setSpecificElReadOnly(formObj.form.el.dom,['barcode','nodePath'], true); + Ext.getCmp('wbCode').addClass('fieldReadOnlyNoRemove'); Ext.getCmp('spelling').addClass('fieldReadOnlyNoRemove'); }