Index: ssts-web/src/main/webapp/disinfectsystem/routineMonitoring/routineMonitoringView.js =================================================================== diff -u -r18196 -r18370 --- ssts-web/src/main/webapp/disinfectsystem/routineMonitoring/routineMonitoringView.js (.../routineMonitoringView.js) (revision 18196) +++ ssts-web/src/main/webapp/disinfectsystem/routineMonitoring/routineMonitoringView.js (.../routineMonitoringView.js) (revision 18370) @@ -2313,13 +2313,8 @@ var isRepacking = top.Ext.getCmp("isRepacking").getValue(); var tousseAmount = 1; if(!isUndefinedOrNullOrEmpty(tousseName)){ - if(isUndefinedOrNullOrEmpty(material)){ - tousseInstanceInfo = tousseBarcode + "@" + tousseInstanceId + "@" + tousseName + "@" + tousseAmount - + "@" + isRecycle+ "@" + isRepacking+ "@" + amount +";"; - }else{ - tousseInstanceInfo = tousseBarcode + "@" + tousseInstanceId + "@" + tousseName + "@" + tousseAmount - + "@" + isRecycle+ "@" + isRepacking+ "@" + 1 +";"; - } + tousseInstanceInfo = tousseBarcode + "@" + tousseInstanceId + "@" + tousseName + "@" + tousseAmount + + "@" + isRecycle+ "@" + isRepacking+ "@" + 1 +";"; } top.Ext.getCmp('addRoutineMonitoringForm').form.submit( { url : WWWROOT + '/disinfectSystem/qualityMonitoringInstanceAction!saveQualityMonitoringInstance.do',