see999 4 years ago
parent
commit
6b63558aea
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/xt_pages/outpatientCharges/newStatementPrintTwo.vue

+ 5 - 5
src/xt_pages/outpatientCharges/newStatementPrintTwo.vue View File

@@ -64,12 +64,12 @@
64 64
         this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
65 65
 
66 66
         const style =
67
-          '@media print {.statementTitle{font-size: 28px;text-align: center;font-weight: bold;margin-bottom: 10px;}.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;}}';
67
+        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoMain{display: flex;flex-wrap: wrap;padding:0 10px;margin-top:10px;}.infoMain .infoP{width: 33%;}.chargeBox{border: 1px solid #000;}.chargeUl{display:flex;justify-content: space-between;text-align: center;}.chargeUl p{line-height: 1px;}.chargeP{line-height: 1px;padding-bottom:16px;}.moneyBox{display: flex;justify-content: space-between;padding: 0 10px;background: #eeeeee;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;-ms-print-color-adjust:exact;print-color-adjust:exact;height: 40px;align-items: center;border:1px solid #000; border-top:none}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar div{width:150px;}}';
68 68
         printJS({
69
-          printable: "statement-print",
70
-          type: "html",
71
-          style: style,
72
-          scanStyles: false
69
+            printable: "prescription-print",
70
+            type: "html",
71
+            style: style,
72
+            scanStyles: false
73 73
         });
74 74
 
75 75
         // if (this.org_template_info.template_id == 1) {