Преглед изворни кода

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN пре 4 година
родитељ
комит
074ceb1895

+ 5 - 5
src/xt_pages/outpatientCharges/newStatementPrintTwo.vue Прегледај датотеку

@@ -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) {

+ 1 - 1
src/xt_pages/outpatientCharges/newTreatTemplate/printOne.vue Прегледај датотеку

@@ -2,7 +2,7 @@
2 2
     <div>
3 3
         <div id='prescription-print' class="prescription-print">
4 4
             <div v-for='(i,index) in pageArr.length'>
5
-                <div class="printTitle">&nbsp血液透析中心医药费收据及收费项目清单</div>
5
+                <div class="printTitle">{{$store.getters.xt_user.org.org_name}}&nbsp血液透析中心医药费收据及收费项目清单</div>
6 6
                 <div class="infoMain">
7 7
                     <div class="infoP">医院(药店)编号:{{info.org_code}}</div>
8 8
                     <div class="infoP">名称:{{info.org_name}}</div>