Browse Source

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

XMLWAN 2 years ago
parent
commit
f52fd16daa

+ 125 - 121
src/xt_pages/dialysis/template/DialysisPrintOrderFortyEight.vue View File

@@ -9,7 +9,10 @@
9 9
         </div>
10 10
         <table class="print-table" border="1" style="margin-top: 10px">
11 11
           <tr>
12
-            <td style="text-align: left; width: 170px;line-height:30px;" colspan="1">
12
+            <td
13
+              style="text-align: left; width: 170px; line-height: 30px"
14
+              colspan="1"
15
+            >
13 16
               <span style="display: inline-block; margin-left: 15px">
14 17
                 {{ getDatge(queryParams.xtdate) }}
15 18
               </span>
@@ -505,62 +508,20 @@
505 508
           </tr>
506 509
           <tr>
507 510
             <td colspan="8" style="text-align: left">
508
-              <span style="display: inline-block; margin-left: 15px">
509
-                血管通路:内瘘波动及震颤: (&nbsp;
510
-                <!-- <label-box
511
-                  v-for="(item, index) in arr"
511
+              <span style="display: inline-block; margin-left: 15px" v-if="predialysis.blood_access_part_opera_name!=''">
512
+                血管通路:
513
+                <!-- {{predialysis.blood_access_part_opera_name ?'' :predialysis.blood_access_part_opera_name}}&nbsp;&nbsp; -->
514
+               <span
515
+                  v-for="(item, index) in arrtwo"
512 516
                   :key="index"
513
-                  :isChecked="
514
-                    predialysis.blood_access_part_opera_id == item.id
515
-                      ? true
516
-                      : false
517
-                  "
518
-                  :showValue="item.name"
519
-                ></label-box> -->
520
-                <label-box
521
-                  :isChecked="
522
-                    predialysis.blood_access_part_opera_name.indexOf(
523
-                      '内瘘波动及震颤-存在'
524
-                    ) > -1
525
-                      ? true
526
-                      : predialysis.internal_fistula.indexOf(
527
-                          '内瘘波动及震颤-存在'
528
-                        ) > -1
529
-                      ? true
530
-                      : false
531
-                  "
532
-                  showValue="存在"
533
-                ></label-box>
534
-                <label-box
535
-                  :isChecked="
536
-                    predialysis.blood_access_part_opera_name.indexOf(
537
-                      '内瘘波动及震颤-减弱'
538
-                    ) > -1
539
-                      ? true
540
-                      : predialysis.internal_fistula.indexOf(
541
-                          '内瘘波动及震颤-减弱'
542
-                        ) > -1
543
-                      ? true
544
-                      : false
545
-                  "
546
-                  showValue="减弱"
547
-                ></label-box>
548
-                <label-box
549
-                  :isChecked="
550
-                    predialysis.blood_access_part_opera_name.indexOf(
551
-                      '内瘘波动及震颤-消失'
552
-                    ) > -1
553
-                      ? true
554
-                      : predialysis.internal_fistula.indexOf(
555
-                          '内瘘波动及震颤-消失'
556
-                        ) > -1
557
-                      ? true
558
-                      : false
559
-                  "
560
-                  showValue="消失"
561
-                ></label-box>
562
-                )
563
-                <label-box
517
+                >
518
+                {{predialysis.blood_access_part_opera_id == item.id ? item.name :''}}
519
+                </span>
520
+                部位:
521
+                {{predialysis.blood_access_part_id ? predialysis.blood_access_part_id : ''}}&nbsp;&nbsp;
522
+
523
+                内瘘:{{predialysis.internal_fistula == ""?'无':predialysis.internal_fistula}}
524
+                <!-- <label-box
564 525
                   v-for="(item, index) in arrtwo"
565 526
                   :key="index"
566 527
                   :isChecked="
@@ -569,69 +530,47 @@
569 530
                       : false
570 531
                   "
571 532
                   :showValue="item.name"
572
-                ></label-box>
533
+                ></label-box> -->
534
+              </span>
535
+              <span style="display: inline-block; margin-left: 15px" v-else>
536
+                血管通路:无
573 537
               </span>
574 538
             </td>
575 539
           </tr>
576 540
           <tr>
577 541
             <td colspan="8" style="text-align: left">
578
-              <span style="display: inline-block; margin-left: 15px"
579
-                >中心静脉导管:</span
580
-              >
542
+              <span v-if="predialysis.venous_catheterization==1||predialysis.venous_catheterization==2">
543
+                <span style="display: inline-block; margin-left: 15px"
544
+                >中心静脉导管: {{predialysis.venous_catheterization == 1?'长期':'短期'}}</span
545
+              >&nbsp;&nbsp;
581 546
               <!-- (部位:{{ getPartName(predialysis.blood_access_part_id) }}) -->
582
-              (部位:{{ predialysis.blood_access_part_id }})
583
-              <label-box
584
-                showValue="长期"
585
-                :isChecked="
586
-                  predialysis.venous_catheterization == 1 ? true : false
587
-                "
588
-              ></label-box>
589
-              <label-box
590
-                showValue="临时"
591
-                :isChecked="
592
-                  predialysis.venous_catheterization == 2 ? true : false
593
-                "
594
-              ></label-box
595
-              >&nbsp;&nbsp; 感染:
596
-              <label-box
597
-                showValue="有"
598
-                :isChecked="
599
-                  predialysis.catheter.indexOf('感染-有') > -1 ? true : false
600
-                "
601
-              ></label-box>
602
-              <label-box
603
-                showValue="无"
604
-                :isChecked="
605
-                  predialysis.catheter.indexOf('感染-无') > -1 ? true : false
606
-                "
607
-              ></label-box
608
-              >&nbsp;&nbsp;流畅度:
609
-              <label-box
610
-                showValue="好"
611
-                :isChecked="
612
-                  predialysis.catheter.indexOf('通畅度-好') > -1 ? true : false
613
-                "
614
-              ></label-box>
615
-              <label-box
616
-                showValue="差"
617
-                :isChecked="
618
-                  predialysis.catheter.indexOf('通畅度-差') > -1 ? true : false
619
-                "
620
-              ></label-box
621
-              >&nbsp;&nbsp;溶栓:
622
-              <label-box
623
-                showValue="有"
624
-                :isChecked="
625
-                  predialysis.catheter.indexOf('溶栓-有') > -1 ? true : false
626
-                "
627
-              ></label-box>
628
-              <label-box
629
-                showValue="无"
630
-                :isChecked="
631
-                  predialysis.catheter.indexOf('溶栓-无') > -1 ? true : false
632
-                "
633
-              ></label-box>
547
+              部位:{{ predialysis.blood_access_part_id }}&nbsp;&nbsp;
548
+              
549
+              感染:<span v-if="predialysis.is_infect==1">
550
+                无
551
+              </span>
552
+              <span v-if="predialysis.is_infect==2">
553
+                有
554
+              </span>&nbsp;&nbsp;
555
+              
556
+              流畅度:
557
+              <span v-if="predialysis.catheter.indexOf('通畅度-好') > -1">
558
+                好
559
+              </span>
560
+              <span v-if="predialysis.catheter.indexOf('通畅度-差') > -1">
561
+                差
562
+              </span>&nbsp;&nbsp;
563
+             
564
+             <span v-if="predialysis.catheter.indexOf('溶栓-有') > -1 ||predialysis.catheter.indexOf('溶栓-无') > -1">
565
+               溶栓:<span v-if="predialysis.catheter.indexOf('溶栓-有') > -1">有</span>
566
+                     <span v-if="predialysis.catheter.indexOf('溶栓-无') > -1">无</span>
567
+             </span>
568
+              
634 569
               &nbsp;&nbsp;外露:{{ predialysis.exposed }}cm
570
+              </span>
571
+              <span style="display: inline-block; margin-left: 15px" v-else>
572
+                中心静脉导管:无
573
+              </span>
635 574
             </td>
636 575
           </tr>
637 576
           <tr>
@@ -808,14 +747,18 @@
808 747
               <span style="display: inline-block; margin-left: 15px"
809 748
                 >使用特殊药物:</span
810 749
               >
811
-              <label-box :isChecked="prescription.special_medicine == 1 ? true : false" showValue="无"></label-box>
812
-              <label-box :isChecked="prescription.special_medicine == 2 ? true : false" showValue="有"></label-box>:
813 750
               <label-box
814
-                :isChecked="prescription.special_medicine == 3 ? true : false"
751
+                :isChecked="prescription.special_medicine == 1 ? true : false"
752
+                showValue="无"
753
+              ></label-box>
754
+              <!-- <label-box :isChecked="prescription.special_medicine == 2 ? true : false" showValue="有"></label-box>: -->
755
+              有:
756
+              <label-box
757
+                :isChecked="prescription.special_medicine == 2 ? true : false"
815 758
                 showValue="降压药"
816 759
               ></label-box>
817 760
               <label-box
818
-                :isChecked="prescription.special_medicine == 4 ? true : false"
761
+                :isChecked="prescription.special_medicine == 3 ? true : false"
819 762
                 showValue="抗凝药"
820 763
               ></label-box>
821 764
               其他:{{ prescription.special_medicine_other }}
@@ -995,7 +938,10 @@
995 938
         <table class="print-table" border="1" style="line-height: 30px">
996 939
           <tr style="line-height: 20px">
997 940
             <td style="min-width: 80px">时间</td>
998
-
941
+            <td style="min-width: 80px">
942
+              体温
943
+              <br />℃
944
+            </td>
999 945
             <td style="min-width: 80px">
1000 946
               血流量
1001 947
               <br />ml/min
@@ -1016,12 +962,16 @@
1016 962
               超滤量
1017 963
               <br />ml
1018 964
             </td>
965
+            <td style="min-width: 80px">
966
+              置换量
967
+              <br />ml
968
+            </td>
1019 969
             <td style="min-width: 80px">
1020 970
               血压
1021 971
               <br />(mmHg)
1022 972
             </td>
1023 973
             <td style="min-width: 80px">
1024
-              心率
974
+              脉搏
1025 975
               <br />次/分
1026 976
             </td>
1027 977
             <!-- <td style="min-width:60px">
@@ -1033,12 +983,15 @@
1033 983
           </tr>
1034 984
 
1035 985
           <tr v-for="(monitor, monindex) in monitors" :key="monindex">
1036
-            <td style="height:30px;line-height:30px;">{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
1037
-
986
+            <td style="height: 30px; line-height: 30px">
987
+              {{ getTime(monitor.operate_time, "{h}:{i}") }}
988
+            </td>
989
+            <td>{{ monitor.temperature }}</td>
1038 990
             <td>{{ monitor.blood_flow_volume }}</td>
1039 991
             <td>{{ monitor.venous_pressure }}</td>
1040 992
             <td>{{ monitor.transmembrane_pressure }}</td>
1041 993
             <td>{{ monitor.ultrafiltration_volume }}</td>
994
+            <td>{{ monitor.displacement_quantity }}</td>
1042 995
             <td>
1043 996
               {{
1044 997
                 monitor.systolic_blood_pressure
@@ -1421,7 +1374,7 @@ export default {
1421 1374
       systolic_blood_pressure: "",
1422 1375
       diastolic_blood_pressure: "",
1423 1376
       mission: "",
1424
-      doctor:{},
1377
+      doctor: {},
1425 1378
       dialysis_summary: "",
1426 1379
       orderForm: {
1427 1380
         start_nurse: "",
@@ -2430,6 +2383,57 @@ export default {
2430 2383
       if (bloodAccessParOpera[i].name == "直穿") {
2431 2384
         arrtwo.push(bloodAccessParOpera[i]);
2432 2385
       }
2386
+      if (bloodAccessParOpera[i].name == "动脉直穿") {
2387
+        arrtwo.push(bloodAccessParOpera[i]);
2388
+      }
2389
+      if (bloodAccessParOpera[i].name == "动静脉直穿") {
2390
+        arrtwo.push(bloodAccessParOpera[i]);
2391
+      }
2392
+      if (bloodAccessParOpera[i].name == "带隧道带绦纶套股静脉导管") {
2393
+        arrtwo.push(bloodAccessParOpera[i]);
2394
+      }
2395
+      if (bloodAccessParOpera[i].name == "带隧道带绦纶套锁骨下静脉导管") {
2396
+        arrtwo.push(bloodAccessParOpera[i]);
2397
+      }
2398
+      if (bloodAccessParOpera[i].name == "带隧道带绦纶套颈内静脉导管") {
2399
+        arrtwo.push(bloodAccessParOpera[i]);
2400
+      }
2401
+      if (bloodAccessParOpera[i].name == "无绦纶套股静脉导管") {
2402
+        arrtwo.push(bloodAccessParOpera[i]);
2403
+      }
2404
+      if (bloodAccessParOpera[i].name == "无绦纶套锁骨下静脉导管") {
2405
+        arrtwo.push(bloodAccessParOpera[i]);
2406
+      }
2407
+      if (bloodAccessParOpera[i].name == "无绦纶套颈内静脉导管") {
2408
+        arrtwo.push(bloodAccessParOpera[i]);
2409
+      }
2410
+      if (bloodAccessParOpera[i].name == "直线型移植血管动静脉内瘘") {
2411
+        arrtwo.push(bloodAccessParOpera[i]);
2412
+      }
2413
+      if (bloodAccessParOpera[i].name == "自体动静脉内瘘") {
2414
+        arrtwo.push(bloodAccessParOpera[i]);
2415
+      }
2416
+      if (bloodAccessParOpera[i].name == "袢型移植血管动静脉内瘘") {
2417
+        arrtwo.push(bloodAccessParOpera[i]);
2418
+      }
2419
+      if (bloodAccessParOpera[i].name == "静脉直穿") {
2420
+        arrtwo.push(bloodAccessParOpera[i]);
2421
+      }
2422
+      if (bloodAccessParOpera[i].name == "AVG") {
2423
+        arrtwo.push(bloodAccessParOpera[i]);
2424
+      }
2425
+      if (bloodAccessParOpera[i].name == "自体内瘘") {
2426
+        arrtwo.push(bloodAccessParOpera[i]);
2427
+      }
2428
+      if (bloodAccessParOpera[i].name == "AVF") {
2429
+        arrtwo.push(bloodAccessParOpera[i]);
2430
+      }
2431
+      if (bloodAccessParOpera[i].name == "颈内静脉") {
2432
+        arrtwo.push(bloodAccessParOpera[i]);
2433
+      }
2434
+      if (bloodAccessParOpera[i].name == "股静脉") {
2435
+        arrtwo.push(bloodAccessParOpera[i]);
2436
+      }
2433 2437
       if (bloodAccessParOpera[i].name == "人造血管") {
2434 2438
         arrtwo.push(bloodAccessParOpera[i]);
2435 2439
       }

+ 0 - 8
src/xt_pages/hospitalStation/allListTemplate/printOne.vue View File

@@ -118,14 +118,6 @@
118 118
       }
119 119
 
120 120
     },
121
-    watch:{
122
-        list: {
123
-            handler(newVal) {
124
-                this.getPage()
125
-            },
126
-            deep: true
127
-        }
128
-    }
129 121
   }
130 122
 
131 123
 

+ 5 - 5
src/xt_pages/hospitalStation/invoicePrint.vue View File

@@ -13,9 +13,9 @@
13 13
     </template>
14 14
     <div class="app-container" style="padding-top:40px;">
15 15
         <div class='dialysisPage'>
16
-            <printOne v-if="org_id!=10215 && org_id!=10265 && org_id!=0" :paramsObj="invoiceParams"></printOne>
17
-            <printTwo v-if="org_id == 10215" :paramsObj="invoiceParams"></printTwo>
18
-            <printThree v-if="org_id == 0 || org_id == 10265 ||org_id == 4" :paramsObj="invoiceParams"></printThree>
16
+            <printOne v-if="org_id != 10215 && org_id != 10265 && org_id !=0" :paramsObj="invoiceParams"></printOne>
17
+            <printTwo v-if="org_id == 10215  " :paramsObj="invoiceParams"></printTwo>
18
+            <printThree v-if="org_id == 10265" :paramsObj="invoiceParams"></printThree>
19 19
         </div>
20 20
     </div>
21 21
   </div>
@@ -95,7 +95,7 @@ export default {
95 95
     paramsObj:{//深度监听,可监听到对象、数组的变化
96 96
       handler(val, oldVal){
97 97
         this.invoiceParams = val
98
-        
98
+
99 99
       },
100 100
       deep:true
101 101
     }
@@ -149,7 +149,7 @@ export default {
149 149
 }
150 150
 .actionBar{
151 151
     display: flex;
152
-    justify-content: space-between; 
152
+    justify-content: space-between;
153 153
     line-height: 24px;
154 154
     padding:0 10px;
155 155
 }

+ 50 - 31
src/xt_pages/hospitalStation/invoiceTemplate/printThree.vue View File

@@ -1,9 +1,9 @@
1 1
 <template>
2 2
     <div id='invoice-print'>
3
-       
3
+
4 4
         <div style="display:flex;justify-content: space-between;">
5 5
             <!-- 机构名称 -->
6
-            <div>{{ list.department_name }}</div>
6
+            <div>{{ list.org_name }}</div>
7 7
             <!-- 单据号 -->
8 8
             <div  style="position: absolute;top:70px;left:300px">{{ list.number }}</div>
9 9
             <div></div>
@@ -18,20 +18,20 @@
18 18
             <!-- 个人电脑编号 -->
19 19
             <div style="position: absolute;top:90px;left:240px;"></div>
20 20
             <!-- 科室 -->
21
-            <div style="position: absolute;top:90px;left:240px;"></div>
21
+            <div style="position: absolute;top:90px;left:240px;">{{'血透'}}</div>
22 22
             <!-- 床号 -->
23 23
             <div style="position: absolute;top:90px;left:240px;"></div>
24 24
         </div>
25 25
 
26 26
         <div style="display:flex;justify-content: space-between;">
27 27
             <!-- 住院号 -->
28
-            <div style="position: absolute;top:90px;left:120px;"> {{ list.number }}</div>
28
+            <div style="position: absolute;top:90px;left:120px;"> {{ list.his_hospital_record.number?list.order.mdtrt_id:'' }}</div>
29 29
             <!-- 入院日期 -->
30
-            <div style="position: absolute;top:90px;left:240px;"></div>
30
+            <div style="position: absolute;top:90px;left:240px;">{{list.his_hospital_record.in_hosptial_time?list.his_hospital_record.in_hosptial_time.spilt(' ')[0]:''}}</div>
31 31
             <!-- 出院日期 -->
32
-            <div style="position: absolute;top:90px;left:240px;"></div>
32
+            <div style="position: absolute;top:90px;left:240px;">{{list.his_hospital_record.out_hosptial_time?list.his_hospital_record.out_hosptial_time.spilt(' ')[0]:''}}</div>
33 33
             <!-- 住院天数 -->
34
-            <div style="position: absolute;top:90px;left:240px;"></div>
34
+          <div style="position: absolute;top:90px;left:240px;">{{getDay(list.his_hospital_record.in_hosptial_time.split(' ')[0] ,list.his_hospital_record.out_hosptial_time.split(' ')[0])}}</div>
35 35
         </div>
36 36
 
37 37
         <!-- <div style="display:flex;justify-content: space-between;">
@@ -47,37 +47,37 @@
47 47
             <div style="position: absolute;top:160px;left:180px">检查费</div>
48 48
             <div style="position: absolute;top:160px;left:260px">{{ list.checkCostTotal }}</div>
49 49
             <div style="position: absolute;top:160px;left:340px">护理费</div>
50
-            <div style="position: absolute;top:160px;left:420px">{{ list.treatCostTotal }}</div>
50
+            <div style="position: absolute;top:160px;left:420px"></div>
51 51
             <div style="position: absolute;top:160px;left:500px">麻醉费</div>
52
-            <div style="position: absolute;top:160px;left:580px">{{ list.bedCostTotal }}</div>
52
+            <div style="position: absolute;top:160px;left:580px"></div>
53 53
         </div>
54 54
         <div style="display:flex;justify-content: space-between;">
55 55
             <div style="position: absolute;top:190px;left:40px">中成药费</div>
56
-            <div style="position: absolute;top:190px;left:110px">{{ list.chineseTraditionalMedicineCostTotal }}</div>
56
+            <div style="position: absolute;top:190px;left:110px"></div>
57 57
             <div style="position: absolute;top:190px;left:180px">治疗费</div>
58
-            <div style="position: absolute;top:190px;left:260px">{{ list.laboratoryCostTotal }}</div>
58
+            <div style="position: absolute;top:190px;left:260px">{{list.treatCostTotal}}</div>
59 59
             <div style="position: absolute;top:190px;left:340px">CT核磁</div>
60
-            <div style="position: absolute;top:190px;left:420px">{{ list.operationCostTotal }}</div>
60
+            <div style="position: absolute;top:190px;left:420px"></div>
61 61
             <div style="position: absolute;top:190px;left:500px">床位费</div>
62
-            <div style="position: absolute;top:190px;left:580px">{{ list.otherCostTotal }}</div>
62
+            <div style="position: absolute;top:190px;left:580px"></div>
63 63
         </div>
64 64
         <div style="display:flex;justify-content: space-between;">
65 65
             <div style="position: absolute;top:220px;left:40px">中草药费</div>
66
-            <div style="position: absolute;top:220px;left:110px">{{ list.chineseTraditionalMedicineCostTotal }}</div>
66
+            <div style="position: absolute;top:220px;left:110px"></div>
67 67
             <div style="position: absolute;top:220px;left:180px">手术费</div>
68
-            <div style="position: absolute;top:220px;left:260px">{{ list.laboratoryCostTotal }}</div>
68
+            <div style="position: absolute;top:220px;left:260px">{{ list.operationCostTotal }}</div>
69 69
             <div style="position: absolute;top:220px;left:340px">输血费</div>
70
-            <div style="position: absolute;top:220px;left:420px">{{ list.operationCostTotal }}</div>
70
+            <div style="position: absolute;top:220px;left:420px"></div>
71 71
             <div style="position: absolute;top:220px;left:500px">取暖费</div>
72
-            <div style="position: absolute;top:220px;left:580px">{{ list.otherCostTotal }}</div>
72
+            <div style="position: absolute;top:220px;left:580px"></div>
73 73
         </div>
74 74
         <div style="display:flex;justify-content: space-between;">
75 75
             <div style="position: absolute;top:250px;left:40px">高压氧费</div>
76
-            <div style="position: absolute;top:250px;left:110px">{{ list.chineseTraditionalMedicineCostTotal }}</div>
76
+            <div style="position: absolute;top:250px;left:110px"></div>
77 77
             <div style="position: absolute;top:250px;left:180px">化验费</div>
78 78
             <div style="position: absolute;top:250px;left:260px">{{ list.laboratoryCostTotal }}</div>
79 79
             <div style="position: absolute;top:250px;left:340px">氧气费</div>
80
-            <div style="position: absolute;top:250px;left:420px">{{ list.operationCostTotal }}</div>
80
+            <div style="position: absolute;top:250px;left:420px"></div>
81 81
             <div style="position: absolute;top:250px;left:500px">其他</div>
82 82
             <div style="position: absolute;top:250px;left:580px">{{ list.otherCostTotal }}</div>
83 83
         </div>
@@ -139,57 +139,63 @@
139 139
 
140 140
         <div style="position: absolute;top:310px;left:320px">
141 141
             <!-- 个人账户支付 -->
142
+          {{list.order.acct_pay?list.order.acct_pay:''}}
142 143
         </div>
143 144
         <div style="position: absolute;top:310px;left:380px">
144 145
             <!-- 统筹支付 -->
145
-           
146
+          {{list.order.hifp_pay?list.order.hifp_pay:''}}
146 147
         </div>
147 148
         <div style="position: absolute;top:310px;left:500px">
148
-            <!-- 现金支付 -->
149
+          {{list.order.psn_cash_pay?list.order.psn_cash_pay:''}}
150
+          <!-- 现金支付 -->
149 151
         </div>
150 152
         <div style="position: absolute;top:340px;left:320px">
151
-            <!-- 公务员补助 -->
153
+          {{list.order.cvlserv_pay?list.order.cvlserv_pay:''}}
154
+          <!-- 公务员补助 -->
152 155
         </div>
153 156
         <div style="position: absolute;top:340px;left:380px">
154
-            <!-- 医疗救助 -->
155
-            
157
+          {{list.order.maf_pay?list.order.maf_pay:''}}
158
+          <!-- 医疗救助 -->
156 159
         </div>
157 160
         <div style="position: absolute;top:340px;left:500px">
158 161
             <!-- 大病 -->
159
-            
162
+          {{list.order.hifmi_pay?list.order.hifmi_pay:''}}
163
+
164
+
160 165
         </div>
161 166
         <div style="position: absolute;top:340px;left:560px">
162 167
             <!-- 其他基金支付 -->
163
-            
168
+          {{list.order.oth_pay?list.order.oth_pay:''}}
169
+
164 170
         </div>
165 171
         <div style="position: absolute;top:370px;left:320px">
166 172
             <!-- 预交款合计 -->
167
-            
173
+
168 174
         </div>
169 175
         <div style="position: absolute;top:370px;left:380px">
170 176
             <!-- 补交款 -->
171
-            
172 177
         </div>
173 178
         <div style="position: absolute;top:370px;left:500px">
174 179
             <!-- 应退款 -->
175
-            
176 180
         </div>
177 181
         <div>
178 182
             <div style="position: absolute;top:400px;left:40px">
179 183
                 <!-- 开票日期 -->
180
-                
184
+              {{printDate}}
185
+
181 186
             </div>
182 187
             <div style="position: absolute;top:400px;left:280px">
183 188
                 <!-- 结算日期: -->
189
+              {{list.order.setl_time?list.order.setl_time.split(' ')[0]:''}}
184 190
             </div>
185 191
             <div style="position: absolute;top:400px;left:580px">
186 192
                 <!-- 经手人: -->
193
+              {{list.admin_user_name}}
187 194
             </div>
188 195
         </div>
189 196
     </div>
190 197
 </template>
191 198
 
192
-
193 199
 <script>
194 200
 import { getInvoice } from '@/api/project/project'
195 201
 export default {
@@ -222,6 +228,19 @@ export default {
222 228
         this.org_name = this.$store.getters.xt_user.org.org_name
223 229
     },
224 230
     methods:{
231
+      getDay(dateString1,dateString2){
232
+        var  startDate = Date.parse(dateString1);
233
+        var  endDate = Date.parse(dateString2);
234
+        if (startDate>endDate){
235
+          return 0;
236
+        }
237
+        if (startDate==endDate){
238
+          return 1;
239
+        }
240
+        var days=(endDate - startDate)/(1*24*60*60*1000);
241
+        return  days;
242
+
243
+      },
225 244
         getInvoice(params){
226 245
             getInvoice(params).then((res) => {
227 246
                 console.log('res',res)

+ 2 - 2
src/xt_pages/hospitalStation/invoiceTemplate/printTwo.vue View File

@@ -35,8 +35,8 @@
35 35
             <!-- <div>{{ paramsObj.gend == 1 ? '男' : '女' }}</div> -->
36 36
             <div v-if="paramsObj.gend == 1" style="position: absolute;top:110px;left:100px;">√</div>
37 37
             <div v-else style="position: absolute;top:110px;left:140px;">√</div>
38
-            <div style="position: absolute;top:110px;left:260px;">{{ list.his_hospital_record.number.length <= 13 ? (totalPrice - list.order.psn_cash_money).toFixed(2) : '0.00' }}</div>
39
-            <div style="position: absolute;top:110px;left:420px;">{{ list.his_hospital_record.number.length <= 13 ? list.order.psn_cash_money.toFixed(2) : (totalPrice - list.psn_cash_money).toFixed(2) }}</div>
38
+            <div style="position: absolute;top:110px;left:260px;">{{ list.his_hospital_record.number.length <= 13 ? (totalPrice - list.order.psn_cash_pay).toFixed(2) : '0.00' }}</div>
39
+            <div style="position: absolute;top:110px;left:420px;">{{ list.his_hospital_record.number.length <= 13 ? list.order.psn_cash_pay.toFixed(2) : (totalPrice - list.psn_cash_money).toFixed(2) }}</div>
40 40
             <div style="position: absolute;top:110px;left:540px;">现金</div>
41 41
         </div>
42 42
         <div style="display:flex;justify-content: space-between;">

+ 5 - 6
src/xt_pages/hospitalStation/outpatientChargesManagement.vue View File

@@ -98,7 +98,6 @@
98 98
 
99 99
             <el-button v-loading="loadingone" size="small"
100 100
                        v-if="(this.activeName == 'third' &&this.hisPatientInfo.balance_accounts_type != 2 && this.hisPatientInfo.id > 0 && this.hisPatientInfo.in_hospital_status == 1 && this.hisPatientInfo.out_hospital_status == 0)"
101
-
102 101
                        @click="open(2)"
103 102
                        type="primary">出院
104 103
             </el-button>
@@ -129,11 +128,11 @@
129 128
                        type="primary">收费
130 129
             </el-button>
131 130
 
132
-            <el-button v-loading="loadingtwo"
133
-                       size="small"
134
-                       @click="open(3)"
135
-                       type="primary">收费
136
-            </el-button>
131
+<!--            <el-button v-loading="loadingtwo"-->
132
+<!--                       size="small"-->
133
+<!--                       @click="open(3)"-->
134
+<!--                       type="primary">收费-->
135
+<!--            </el-button>-->
137 136
             <el-button size="small" @click="open(4)" type="primary"
138 137
                        v-if="this.activeName == 'third' &&this.hisPatientInfo.id > 0 && this.order.id > 0 &&  this.order.order_status == 2">
139 138
               退费

+ 2 - 2
src/xt_pages/hospitalStation/settlementTemplate/hospitalSettlePrint.vue View File

@@ -658,10 +658,10 @@
658 658
               </tr>
659 659
               <tr>
660 660
                 <td>其他费</td>
661
+                <td>&nbsp;{{info.other_cost_total?info.other_cost_total:""}}</td>
661 662
                 <td>&nbsp;</td>
662 663
                 <td>&nbsp;</td>
663
-                <td>&nbsp;</td>
664
-                <td>&nbsp;</td>
664
+                <td>&nbsp;{{info.other_cost_self_total?info.other_cost_self_total:""}}</td>
665 665
                 <td>&nbsp;</td>
666 666
               </tr>
667 667
               <tr>

+ 0 - 1
src/xt_pages/hospitalStation/summaryDetail.vue View File

@@ -63,7 +63,6 @@
63 63
                                 </template>
64 64
                             </el-table-column>
65 65
 
66
-
67 66
                             <el-table-column align="center" prop="name" width="80" label="备注">
68 67
                                 <template slot-scope="scope">
69 68
                                     <!--<el-input v-model="scope.row.remark" readonly></el-input>-->

+ 34 - 33
src/xt_pages/outpatientDoctorStation/batch_print_treatTemplate/index.vue View File

@@ -11,10 +11,10 @@
11 11
           >打印</el-button
12 12
         >
13 13
       </template> -->
14
-            
14
+
15 15
       <div class='dialysisPage' style="padding-top:40px;">
16
-        <printOne v-if="org_id != 10138 && org_id != 10278 &&org_id == 0" :printData="printData" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
17
-        <printTwo v-else :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo>
16
+        <printOne v-if="org_id != 10138 && org_id != 10278 && org_id != 0" :printData="printData" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
17
+<!--        <printTwo v-else :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo>-->
18 18
       </div>
19 19
   </div>
20 20
 </template>
@@ -76,10 +76,11 @@ export default {
76 76
             scanStyles: false
77 77
           });
78 78
         },500)
79
-        
80
-      }else{
79
+
80
+      }
81
+      else{
81 82
         const style =
82
-        '@media print {#prescription-print{font-size:14px;}.prescription-print:last-child {page-break-after: auto;}.prescription-print{font-size: 14px;}.printTitle{font-size: 18px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:5px;padding:0 10px;}.infoTitle div{width: 300px;margin-bottom:5px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;}.prescriptionBox{padding:0 10px;min-height:380px;}.Rp{font-size: 22px;font-weight: bold;line-height:1px;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox p{line-height: 1px;padding-bottom:10px !important;} .drugsOne{line-height: 1px;margin-bottom:10px !important;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; padding:0 10px;margin:5px 0;} .actionBar div{width:150px;}}';
83
+        '@media print {#prescription-print{font-size:14px;page-break-after:always;}.prescription-print:last-child {page-break-after: auto;}.prescription-print{font-size: 14px;page-break-after:always;}.printTitle{font-size: 18px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;padding:0 10px;}.infoTitle div{width: 300px;margin-bottom:5px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;}.prescriptionBox{padding:0 10px;min-height:360px;}.doctor_style{border:none;}.doctor_style tr{page-break-inside:avoid;}.doctor_style tr td{border:1px solid #000}.Rp{font-size: 22px;font-weight: bold;line-height:1px;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox p{line-height: 1px;padding-bottom:10px !important;} .drugsOne{line-height: 1px;margin-bottom:10px !important;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; padding:0 10px;margin:5px 0;} .actionBar div{width:150px;} .doctor_style{border: none} }';
83 84
         printJS({
84 85
           printable: "prescriptionPrint",
85 86
           type: "html",
@@ -87,7 +88,7 @@ export default {
87 88
           scanStyles: false
88 89
         });
89 90
       }
90
-      
91
+
91 92
 
92 93
       // if (this.org_template_info.template_id == 1) {
93 94
       //   printJS({
@@ -102,10 +103,10 @@ export default {
102 103
       getAllDoctorList().then(response=>{
103 104
         if(response.data.state == 1){
104 105
                var doctor =  response.data.data.doctor
105
-               
106
+
106 107
                this.doctorList = doctor
107 108
              }
108
-         })   
109
+         })
109 110
      },
110 111
     getAllHisPatientList(){
111 112
          const params = {
@@ -131,16 +132,16 @@ export default {
131 132
             // console.log(this.patientTableData[0])
132 133
             // this.choosePatient(this.patientTableData[0])
133 134
             this.cal_one = cal_one
134
-            this.cal_two = cal_two   
135
+            this.cal_two = cal_two
135 136
          }
136 137
       })
137 138
     },
138 139
 
139 140
     changePatient(row){
140
-      console.log("row",row)
141
-      this.patient_id = row.patient_id
142
-      this.record_date = this.record_date
143
-      this.prescription_id = this.prescription_id
141
+      // console.log("row",row)
142
+      // this.patient_id = row.patient_id
143
+      // this.record_date = this.record_date
144
+      // this.prescription_id = this.prescription_id
144 145
       //   var params = {
145 146
       //     patient_id:row.patient_id,
146 147
       //     record_date:this.record_date,
@@ -165,31 +166,31 @@ export default {
165 166
     searchAction(){
166 167
 
167 168
     }
168
-    
169
+
169 170
   },
170 171
 
171 172
   created() {
172
-    this.org_id = this.$store.getters.xt_user.org_id
173
-    this.getAllDoctorList()
174
-    var record_date = this.paramsObj.record
175
-    this.record_date = record_date
176
-    console.log("record_date",record_date)
177
-    this.prescription_id = this.paramsObj.prescription_id
178
-    this.patient_id = this.paramsObj.patient_id
179
-    this.ids = this.paramsObj.ids
180
-    this.getAllHisPatientList(record_date)
173
+    // this.org_id = this.$store.getters.xt_user.org_id
174
+    // this.getAllDoctorList()
175
+    // var record_date = this.paramsObj.record_date
176
+    // this.record_date = record_date
177
+    // console.log("record_date",record_date)
178
+    // this.prescription_id = this.paramsObj.prescription_id
179
+    // this.patient_id = this.paramsObj.patient_id
180
+    // this.ids = this.paramsObj.ids
181
+    // this.getAllHisPatientList(record_date)
181 182
   },
182 183
   watch:{
183 184
     paramsObj:{//深度监听,可监听到对象、数组的变化
184 185
       handler(val, oldVal){
185
-        this.paramsObj = val
186
-        this.patient_id = this.paramsObj.patient_id
187
-        var record_date = this.paramsObj.record
188
-        this.record_date = record_date
189
-        var prescription_id = this.paramsObj.prescription_id
190
-        this.prescription_id = prescription_id
191
-        this.ids = this.paramsObj.ids
192
-        
186
+        // this.paramsObj = val
187
+        // this.patient_id = this.paramsObj.patient_id
188
+        // var record_date = this.paramsObj.record
189
+        // this.record_date = record_date
190
+        // var prescription_id = this.paramsObj.prescription_id
191
+        // this.prescription_id = prescription_id
192
+        // this.ids = this.paramsObj.ids
193
+
193 194
       },
194 195
       deep:true
195 196
     }
@@ -362,7 +363,7 @@ export default {
362 363
   .dialysisPage::-webkit-scrollbar {
363 364
     height: 15px;
364 365
   }
365
-  
366
+
366 367
   .el-date-editor{
367 368
     .el-input__inner{
368 369
       padding-right:0px;

+ 15 - 17
src/xt_pages/outpatientDoctorStation/batch_print_treatTemplate/printOne.vue View File

@@ -1,9 +1,9 @@
1 1
 <template>
2 2
   <div id='prescriptionPrint'>
3 3
     <div v-for="(i,index) in printData">
4
-      <div id='prescription-print' class="prescription-print" v-for="(item,index) in i.prescriptions" :key="index" v-if="item.project.length > 0">
5
-        <div style="display:flex;justify-content: space-between;font-weight:bold;align-items:center;">
6
-          <div style="width:200px;display:flex;justify-content: space-between;font-weight:bold;">
4
+      <div id='prescription-print' class="prescription-print" style="page-break-after:always;" v-for="(item,index) in i.prescriptions" :key="index" v-if="item.project.length > 0">
5
+        <div class="toptitle" style="display:flex;justify-content: space-between;font-weight:bold;align-items:center;">
6
+          <div  style="width:200px;display:flex;justify-content: space-between;font-weight:bold;">
7 7
             <span>费别</span>
8 8
             <span>自费</span>
9 9
             <span>公费</span>
@@ -13,7 +13,7 @@
13 13
           <div>就诊日期:{{ getTime(i.info.ctime, '{y}-{m}-{d}') }}</div>
14 14
         </div>
15 15
 
16
-        <div class="printTitle">{{ orgname }}</div>
16
+        <div class="printTitle">{{ orgname }}测试</div>
17 17
         <div class="printTitle">处方、治疗单</div>
18 18
 
19 19
         <div class="infoTitle">
@@ -94,8 +94,8 @@
94 94
           <div>费用:{{ getTotalOne(item.project).toFixed(2) ? getTotalOne(item.project).toFixed(2) : '' }}元</div>
95 95
         </div>
96 96
 
97
-        <table style="width:100%;text-align:center;line-height:25px;border-collapse: collapse;" border="1">
98
-          <tr>
97
+        <table class="doctor_style" style="width:100%;text-align:center;line-height:25px;border-collapse: collapse;" border="1">
98
+          <tr >
99 99
             <td style="width:16%;">治疗时间</td>
100 100
             <td style="width:16%;"></td>
101 101
             <td style="width:16%;"></td>
@@ -410,17 +410,7 @@ export default {
410 410
     this.orgname = xtuser.org.org_name
411 411
 
412 412
   },
413
-  watch: {
414
-    // patient_id: function(val) {
415
-    //   console.log('101000010101010', this.patient_id, this.record_date, this.prescription_id)
416
-    //   //    this.getPrescriptionPrint()
417
-    // },
418
-    // ids: function(val) {
419
-    //   this.ids = val
420
-    //   console.log('this.idsids', this.ids)
421
-    //   this.getPrescriptionPrint()
422
-    // }
423
-  }
413
+
424 414
 }
425 415
 </script>
426 416
 
@@ -506,4 +496,12 @@ export default {
506 496
 .actionBar div {
507 497
   width: 150px;
508 498
 }
499
+.doctor_style {
500
+  tr{
501
+    page-break-inside:avoid;
502
+    td{
503
+      border: 1px solid #000;
504
+    }
505
+  }
506
+}
509 507
 </style>

+ 25 - 4
src/xt_pages/outpatientDoctorStation/pastInquiries.vue View File

@@ -247,18 +247,19 @@ export default {
247 247
                   scanStyles: false
248 248
                 })
249 249
               }
250
-              if (this.printType == 3) {
250
+              if (this.printType == 1) {
251 251
                 const style =
252
-                    '@media print {html {zoom: 80%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}#prescriptionPrint div{box-shadow:none;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 20px;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}.NoCell{display: flex;justify-content: space-between;margin-bottom: 10px;}.underLine{display: inline-block;border-bottom: 1px solid #000;text-align: center;line-height: 24px;}.basicCell{display: flex;} .basicCell span{line-height: 24px;margin-bottom: 10px;}}'
252
+                    '@media print {html {height: auto;margin: 0px;} #prescription-print{font-size:14px;border:1px solid white;margin-bottom:40px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 80%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 20px;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}.NoCell{display: flex;justify-content: space-between;margin-bottom: 10px;}.underLine{display: inline-block;border-bottom: 1px solid #000;text-align: center;line-height: 24px;}.basicCell{display: flex;} .basicCell span{line-height: 24px;margin-bottom: 10px;}}'
253 253
                 printJS({
254 254
                   printable: 'printMain',
255 255
                   type: 'html',
256 256
                   style: style,
257 257
                   scanStyles: false
258 258
                 })
259
-              } else {
259
+              }
260
+              if (this.printType == 2) {
260 261
                 const style =
261
-                    '@media print {html {height: auto;margin: 0px;} #prescription-print{font-size:14px;border:1px solid white;margin-bottom:40px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 80%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 20px;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}.NoCell{display: flex;justify-content: space-between;margin-bottom: 10px;}.underLine{display: inline-block;border-bottom: 1px solid #000;text-align: center;line-height: 24px;}.basicCell{display: flex;} .basicCell span{line-height: 24px;margin-bottom: 10px;}}'
262
+                    '@media print {html {height: auto;margin: 0px;} .printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:360px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 80%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 20px;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}.NoCell{display: flex;justify-content: space-between;margin-bottom: 10px;}.underLine{display: inline-block;border-bottom: 1px solid #000;text-align: center;line-height: 24px;}.basicCell{display: flex;} .basicCell span{line-height: 24px;margin-bottom: 10px;}.doctor_style{border: none}.doctor_style tr{page-break-inside:avoid;}.doctor_style tr td{border: 1px solid #000;}}'
262 263
                 printJS({
263 264
                   printable: 'printMain',
264 265
                   type: 'html',
@@ -266,6 +267,26 @@ export default {
266 267
                   scanStyles: false
267 268
                 })
268 269
               }
270
+              if (this.printType == 3) {
271
+                const style =
272
+                    '@media print {html {zoom: 80%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}#prescriptionPrint div{box-shadow:none;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 20px;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}.NoCell{display: flex;justify-content: space-between;margin-bottom: 10px;}.underLine{display: inline-block;border-bottom: 1px solid #000;text-align: center;line-height: 24px;}.basicCell{display: flex;} .basicCell span{line-height: 24px;margin-bottom: 10px;}}'
273
+                printJS({
274
+                  printable: 'printMain',
275
+                  type: 'html',
276
+                  style: style,
277
+                  scanStyles: false
278
+                })
279
+              } 
280
+              // else {
281
+              //   const style =
282
+              //       '@media print {html {height: auto;margin: 0px;} #prescription-print{font-size:14px;border:1px solid white;margin-bottom:40px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 80%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 20px;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}.NoCell{display: flex;justify-content: space-between;margin-bottom: 10px;}.underLine{display: inline-block;border-bottom: 1px solid #000;text-align: center;line-height: 24px;}.basicCell{display: flex;} .basicCell span{line-height: 24px;margin-bottom: 10px;}}'
283
+              //   printJS({
284
+              //     printable: 'printMain',
285
+              //     type: 'html',
286
+              //     style: style,
287
+              //     scanStyles: false
288
+              //   })
289
+              // }
269 290
             })
270 291
             .catch((reject) => {
271 292
             })