Index: ssts-web/src/main/webapp/disinfectsystem/config/zjjsrmyy/print/printConfig.js =================================================================== diff -u -r31885 -r41247 --- ssts-web/src/main/webapp/disinfectsystem/config/zjjsrmyy/print/printConfig.js (.../printConfig.js) (revision 31885) +++ ssts-web/src/main/webapp/disinfectsystem/config/zjjsrmyy/print/printConfig.js (.../printConfig.js) (revision 41247) @@ -1395,6 +1395,45 @@ } } } +/** + * 打印清洗机运行参数 + */ + var printPhaseWashDataConfig = { + customPrint:printPhaseWashDataContent +} + +function printPhaseWashDataContent(obj){ + doGetLodop(); + // 设置纸张类型为连续纸,纸张宽度为79mm,打印完毕后的下边距为20mm + LODOP.SET_PRINT_PAGESIZE(3,"79mm","20mm","CreateCustomPage"); + var html = ''; + html += '
清洗机:'+(obj.rinser || "")+'
'; + html += '程序编号:'+(obj.programNo || "")+'
'; + html += '周期名称:'+(obj.cycleName || "")+'
'; + html += '周期数:'+(obj.cycleCounter || "")+'
'; + html += '周期开始时间:'+(obj.cycleStartTime || "")+'
'; + html += '周期时间:'+(obj.cycleTotalTime || "")+'
'; + html += '消毒时间:'+(obj.disinfectTotalTime || "")+'
'; + html += 'A0:'+(obj.A0 || "")+'
'; + if(obj.lastPhaseWashData && obj.lastPhaseWashData.length > 0){ + html += '| 时间 | 步骤名称 | 温度 °C | DoV1 ml | '; + html += ''+obj.lastPhaseWashData[i].time+' | '; + html += ''+obj.lastPhaseWashData[i].stepPhase+' | '; + html += ''+obj.lastPhaseWashData[i].temp+' | '; + html += ''+obj.lastPhaseWashData[i].DosVml+' | '; + html += ''; + } + html += '