Index: ssts-web/src/main/webapp/disinfectsystem/config/zsdxfsdeyy/print/printConfig.js =================================================================== diff -u -r30703 -r30708 --- ssts-web/src/main/webapp/disinfectsystem/config/zsdxfsdeyy/print/printConfig.js (.../printConfig.js) (revision 30703) +++ ssts-web/src/main/webapp/disinfectsystem/config/zsdxfsdeyy/print/printConfig.js (.../printConfig.js) (revision 30708) @@ -1131,8 +1131,12 @@ var barcode = idCardInstance.barcode; var date = idCardInstance.printDate; var name = idCardInstance.tousseDefinition.name; + var packageType = idCardInstance.tousseDefinition.packageType; + var sterilingMethod = idCardInstance.tousseDefinition.sterilingMethod; var userName = idCardInstance.userName; var unit = idCardInstance.unit; + var description = idCardInstance.description; + var idCardQuestionList = idCardInstance.idCardQuestionList; var tableHtml = ""; tableHtml += ""; tableHtml += ""; @@ -1200,25 +1204,56 @@ tableHtml += ""; } + if (description !== null) { + //打印备注 + tableHtml += ""; + tableHtml += ""; + tableHtml += ""; + } + + if (idCardQuestionList && idCardQuestionList.length > 0) { + for (var i = 0; i < idCardQuestionList.length; i++) { + var html = idCardQuestionList[i].serialNumber + '.' + idCardQuestionList[i].registTime + ' ' + idCardQuestionList[i].question + ' ' + idCardQuestionList[i].registUser + '/' + idCardQuestionList[i].discoverUser + '\n'; + tableHtml += ""; + tableHtml += ""; + tableHtml += ""; + } + } + tableHtml += "
" + name + "
" + description + "
" + html + "
"; tableHtml += ""; //条码,打印人和时间和器械数量 if (barcode != '' && userName != '' && date != '') { tableHtml += ""; - tableHtml += ""; + tableHtml += ""; - tableHtml += ""; + tableHtml += ""; + tableHtml += ""; tableHtml += ""; + tableHtml += ""; + tableHtml += ""; + tableHtml += ""; } else { tableHtml += ""; - tableHtml += ""; tableHtml += ""; + tableHtml += ""; + tableHtml += ""; + tableHtml += ""; + tableHtml += ""; + tableHtml += ""; + tableHtml += ""; } //告警语
"; - tableHtml += ""; + tableHtml += ""; + tableHtml += ""; tableHtml += "
" + barcode; tableHtml += "
包装类型:" + packageType; tableHtml += "器械总数量:" + amount + "件"; + tableHtml += "
灭菌程序:" + sterilingMethod; tableHtml += "
器械总数量:" + amount + "件"; + tableHtml += "
器械总数量:" + amount + "件"; + tableHtml += "包装类型:" + packageType; tableHtml += "
灭菌程序:" + sterilingMethod; + tableHtml += "
器械总数量:" + amount + "件"; + tableHtml += "