Browse Source

直接打印

hurugang 5 years ago
parent
commit
58e90f0649
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/resources/static/js/schedule-of-medical-apply.js

+ 2 - 2
src/main/resources/static/js/schedule-of-medical-apply.js

@@ -215,8 +215,8 @@ function print(id,recordDate,beginTime,endTime,roomNum) {
                     LODOP.SET_SHOW_MODE("BKIMG_HEIGHT", "148mm");
                     var strStyle="<style>table{width: 96%;margin-top: 20px;margin-bottom: 10px;} table,td,th {border-width: 1px;border-style: solid;border-collapse: collapse}</style>";
                     LODOP.ADD_PRINT_HTM("0mm", "5mm", "200mm", "148mm",strStyle+ document.getElementById("report_table_1").innerHTML);
-                    //LODOP.PRINT();
-                    LODOP.PREVIEW();
+                    LODOP.PRINT();
+                    //LODOP.PREVIEW();
                     return;
                 }
                 alert("当前医技科室没有配置通知单!");