Index: ssts-web/src/main/webapp/disinfectsystem/reportforms/qualityMonitoringView.js =================================================================== diff -u -r40434 -r40435 --- ssts-web/src/main/webapp/disinfectsystem/reportforms/qualityMonitoringView.js (.../qualityMonitoringView.js) (revision 40434) +++ ssts-web/src/main/webapp/disinfectsystem/reportforms/qualityMonitoringView.js (.../qualityMonitoringView.js) (revision 40435) @@ -464,7 +464,7 @@ summaryTitle = title || '材料数量汇总'; } } - if (!summaryHidden) { + if (!summaryHidden && result.scope !== '无' && result.scope !== '') { var materialSumAmount = 0; if (result.materialSum && result.materialSum.length > 0) { for (var i = 0; i < result.materialSum.length; i++) { @@ -698,7 +698,7 @@ summaryTitle = title || '材料数量汇总'; } } - if (!summaryHidden) { + if (!summaryHidden && result.scope !== '无' && result.scope !== '') { var materialSumAmount = 0; if (result.materialSum && result.materialSum.length > 0) { for (var i = 0; i < result.materialSum.length; i++) { @@ -707,7 +707,9 @@ } tableHtml += ""; tableHtml += "" + summaryTitle + ""; - tableHtml += ""; + if (result.scope !== '无' && result.scope !== '') { + tableHtml += ""; + } if (result.scope == "材料和器械包") { tableHtml += ""; } @@ -762,7 +764,9 @@ if (sumTdHtml !== '') { tableHtml += ""; tableHtml += "合计"; - tableHtml += ""; + if (result.scope !== '无' && result.scope !== '') { + tableHtml += ""; + } if (result.scope == "材料和器械包") { tableHtml += ""; }