Parcourir la source

打印取消调试窗口

WANGJIALIANG il y a 3 ans
Parent
commit
b546897b0f
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      src/main/resources/static/js/yf/ward_prescription.js

+ 4 - 4
src/main/resources/static/js/yf/ward_prescription.js

@@ -973,8 +973,8 @@ function printLabel(datas,isMx) {
     }
     $("#bqdy_table").append(html);
     LODOP.ADD_PRINT_HTM("1mm", "3mm", "RightMargin:1mm", "BottomMargin:3mm",strStyle+ document.getElementById("bqdy_table_div").innerHTML);
-    /*LODOP.PRINT();*/
-    LODOP.PRINT_DESIGN();
+    LODOP.PRINT();
+    //LODOP.PRINT_DESIGN();
 }
 
 /**
@@ -992,9 +992,9 @@ function print(div_id) {
     var strStyle="<style>table,td,th {border-width: 1px;" +
         "border-style: solid;border-collapse: collapse;table-layout:fixed;word-wrap:break-word;font-size: 11}.xtd{border: 1px solid black;}</style>";
     LODOP.ADD_PRINT_HTM("0mm", "4mm", "RightMargin:4mm", "BottomMargin:0mm",strStyle+ document.getElementById(div_id).innerHTML);
-    //LODOP.PRINT();
+    LODOP.PRINT();
     //LODOP.PREVIEW();
-    LODOP.PRINT_DESIGN();
+    //LODOP.PRINT_DESIGN();
 }
 
 /**