Index: ssts-web/src/main/webapp/disinfectsystem/materialmanager/materialEntryView.js =================================================================== diff -u -r13103 -r13119 --- ssts-web/src/main/webapp/disinfectsystem/materialmanager/materialEntryView.js (.../materialEntryView.js) (revision 13103) +++ ssts-web/src/main/webapp/disinfectsystem/materialmanager/materialEntryView.js (.../materialEntryView.js) (revision 13119) @@ -469,6 +469,7 @@ ] })], buttons : [{ + id : 'btnSave', text : '保存', handler : function() { @@ -529,7 +530,7 @@ items : [ form ] }); window.show(); - + top.Ext.getCmp('btnSave').setDisabled(false); wareHouseStore.load(); } @@ -589,6 +590,7 @@ function editRecord(id){ addGodownEntry(id); + top.Ext.getCmp('btnSave').setDisabled(true); top.Ext.getCmp("serialNum").show(); top.Ext.getCmp('godownEntryForm').form.load({ url : WWWROOT + '/disinfectSystem/MaterialEntryAction!loadMaterialEntry.do', @@ -664,15 +666,15 @@ handler : function() { addGodownEntry(""); } - }, '-', { + }, /*'-', { text : '修改', hidden : SSTS_WarehouseEntry_Update, iconCls : 'btn_ext_application_edit', id : 'editTbar', handler : function() { loadFormData(grid); } - }, '-', { + },*/ '-', { text : '删除', hidden : SSTS_WarehouseEntry_Delete, iconCls : 'btn_ext_application_del',