Index: ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/tousseBatchModify.js =================================================================== diff -u -r33998 -r33999 --- ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/tousseBatchModify.js (.../tousseBatchModify.js) (revision 33998) +++ ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/tousseBatchModify.js (.../tousseBatchModify.js) (revision 33999) @@ -605,11 +605,15 @@ flushProgress(result.process); }else { clearTimeout(progress); - myMask.hide(); + if(myMask){ + myMask.hide(); + } } }, failure: function (response, options) { - myMask.hide(); + if(myMask){ + myMask.hide(); + } var result = Ext.decode(response.responseText); showResult(result.message); } @@ -650,10 +654,10 @@ failure: function (response, options) { myMask.hide(); var result = Ext.decode(response.responseText); - if(result.message){ + if(result && result.message){ showResult(result.message); }else { - showResult("无法加载数据..."); + showResult("保存失败,请重新操作!"); } } }); @@ -684,9 +688,6 @@ /****************器械包单元格修改********************* */ function cellEditTousseDefinition(id, fieldName, columnData) { - // console.log(fieldName); - // console.log(id); - // console.log(columnData); var tousseDefinitionID = id; var cellModifyFormObj; var cellModifyWin;