Index: ssts-web/src/main/webapp/js/common.js =================================================================== diff -u -r36525 -r36620 --- ssts-web/src/main/webapp/js/common.js (.../common.js) (revision 36525) +++ ssts-web/src/main/webapp/js/common.js (.../common.js) (revision 36620) @@ -2632,7 +2632,8 @@ } if (sstsConfig.enablePrintLabelsOutputPrinterSettingsFunction) { - if (sessionStorage.getItem('clientComputerPrinters')) { + var clientComputerPrinters = sessionStorage.getItem('clientComputerPrinters'); + if (clientComputerPrinters !== 'null' && clientComputerPrinters !== null) { var clientComputerPrinters = eval('(' + sessionStorage.getItem('clientComputerPrinters') + ')'); var name = ''; if (type == 'smallLabel') { @@ -3290,7 +3291,7 @@ doctorAccountDepart: true, remark: true } - }else if(configureName == 'notAllowBlankFieldsOfOperationReservationForm'){ + } else if (configureName == 'notAllowBlankFieldsOfOperationReservationForm') { newArray = sstsConfig.notAllowBlankFieldsOfOperationReservationForm; obj = { operationRoom: true,