浏览代码

打印药房处方

zengfanwei 2 周之前
父节点
当前提交
72167ae78b

+ 1 - 1
src/main/resources/static/js/mz/west_pharmacy_send.js

@@ -2807,7 +2807,7 @@ function printView(data) {
 
 // 关键:设置打印方向为横向(1=横向),并保持自定义纸张尺寸
 // 横向打印时,宽高参数建议按 "实际高度, 实际宽度" 传递更符合视觉习惯
-    LODOP.SET_PRINT_PAGESIZE(0, '202mm', '202mm', "CreateCustomPage");
+    LODOP.SET_PRINT_PAGESIZE(2, '202mm', '202mm', "CreateCustomPage");
 
 // // 整宽不变形模式(横向适配关键)
 //     LODOP.SET_PRINT_MODE('FULL_WIDTH_FOR_OVERFLOW', true);

+ 2 - 2
src/main/resources/templates/mz/west_pharmacy_send.html

@@ -399,8 +399,8 @@
                     <!--放射科发药打印结束-->
                     <!--打印处方html开始-->
                     <div id="print_view">
-                        <div id="report_table_cf" style="position: relative;margin-left: 50mm;margin-top: 300px">
-                            <h3 style="margin-left: 140px;font-size: 30px"><span class="hospitalName">铭和医院</span>处方笺</h3>
+                        <div id="report_table_cf" style="position: relative;margin-left: 60mm;margin-top: 300px">
+                            <h3 style="margin-left: 100px;font-size: 30px"><span class="hospitalName">铭和医院</span>处方笺</h3>
                             <div>
                                 <form>
                                     <div style="float: left;height: 20px;margin-top: -5px">