Index: ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js =================================================================== diff -u -r14983 -r14989 --- ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js (.../foreignTousseInfoForm.js) (revision 14983) +++ ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js (.../foreignTousseInfoForm.js) (revision 14989) @@ -185,7 +185,10 @@ } } var text = '工具:'+toolsAmount+'件 植入物: '+includeImplantAmount+'件'; - top.Ext4.getCmp('materialAmountInfo').setText(text); + var amountElement = top.Ext4.getCmp('materialAmountInfo'); + if(amountElement != null){ + amountElement.setText(text); + } } function getStoreDepartCoding(store,deptName){ var deptCoding = "";