Quellcode durchsuchen

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

csx vor 2 Jahren
Ursprung
Commit
f325ed440c

+ 1 - 1
src/xt_pages/hospitalStation/outpatientChargesManagement.vue Datei anzeigen

@@ -2773,7 +2773,7 @@ export default {
2773 2773
             overlmt_amt = overlmt_amt + drug_month_prescriptions.advices[a].order_info.overlmt_amt
2774 2774
             inscp_scp_amt = inscp_scp_amt + drug_month_prescriptions.advices[a].order_info.inscp_scp_amt
2775 2775
             preselfpay_amt = preselfpay_amt + drug_month_prescriptions.advices[a].order_info.preselfpay_amt
2776
-            day =day + parseNumber(drug_month_prescriptions.advices[a].day)
2776
+            // day =day + parseNumber(drug_month_prescriptions.advices[a].day)
2777 2777
 
2778 2778
 
2779 2779
           }

+ 69 - 67
src/xt_pages/hospitalStation/settlementTemplate/hospitalSettlePrint.vue Datei anzeigen

@@ -1,10 +1,10 @@
1 1
 <template>
2 2
   <div id="prescription-print" class="print_page_main_content">
3
-    <div class="title">广东省社会医疗保障基金结算清单</div>
4
-    <div style="text-align:right;">清单流水号 <div style="width:120px;" class="under_line">{{ info.mdtrt_id }}</div></div>
3
+    <div class="title">赤峰社会医疗保障基金结算清单</div>
4
+    <div style="text-align:right;">清单流水号 <div style="width:200px;" class="under_line">{{ info.mdtrt_id }}</div></div>
5 5
     <div class="row">
6
-      <div>定点医疗机构名称<div style="width:120px;" class="under_line">{{info.fixmedins_name}}</div></div>
7
-      <div>定点医疗机构代码<div style="width:120px;" class="under_line">{{info.fixmedins_code}}</div></div>
6
+      <div>定点医疗机构名称<div style="width:200px;" class="under_line">{{info.fixmedins_name}}</div></div>
7
+      <div>定点医疗机构代码<div style="width:200px;" class="under_line">{{info.fixmedins_code}}</div></div>
8 8
       <div>医保结算等级
9 9
         <div style="width:120px;" class="under_line">
10 10
           <span v-if="info.hosp_lv == '01'">三级特等</span>
@@ -23,8 +23,8 @@
23 23
       </div>
24 24
     </div>
25 25
     <div class="row">
26
-      <div>医保编号<div style="width:120px;" class="under_line">{{ info.psn_no }}</div></div>
27
-      <div>病案号<div style="width:120px;" class="under_line">{{ info.psn_no ? info.psn_no : '' }}</div></div>
26
+      <div>医保编号<div style="width:220px;" class="under_line">{{ info.psn_no }}</div></div>
27
+      <div>病案号<div style="width:220px;" class="under_line">{{ info.psn_no ? info.psn_no : '' }}</div></div>
28 28
       <div>申报时间
29 29
         <div style="width:40px;" class="under_line">{{ info.setl_time ? info.setl_time.split(' ')[0].slice(0,4) : '' }}</div>年
30 30
         <div style="width:40px;" class="under_line">{{ info.setl_time ? info.setl_time.split(' ')[0].slice(5,7) : '' }}</div>月
@@ -63,7 +63,7 @@
63 63
             </div>
64 64
             <div class="row">
65 65
               <div class="inline_block">(年龄不足1周岁)年龄
66
-                <div style="width:80px;" class="under_line">{{info.age}}</div>天
66
+                <div style="width:80px;" class="under_line"></div>天
67 67
               </div>
68 68
               <div class="inline_block">民族
69 69
                 <div style="width:80px;" class="under_line">{{getNaty(info.naty)}}</div>
@@ -72,7 +72,7 @@
72 72
                 <div style="width:80px;" class="under_line">身份证</div>
73 73
               </div>
74 74
               <div class="inline_block">患者证件号码
75
-                <div style="width:140px;" class="under_line">{{info.certno}}</div>
75
+                <div style="width:200px;" class="under_line">{{info.certno}}</div>
76 76
               </div>
77 77
             </div>
78 78
             <div>
@@ -80,19 +80,19 @@
80 80
                 <div style="width:80px;" class="under_line"></div>
81 81
               </div>
82 82
               <div class="inline_block" style="width:80px;"></div>
83
-              <div class="inline_block">现住址
83
+              <div class="inline_block" >现住址
84 84
 <!--                <div style="width:80px;" class="under_line"></div>省(区、市)-->
85 85
 <!--                <div style="width:80px;" class="under_line"></div>市-->
86 86
 <!--                <div style="width:80px;" class="under_line"></div>县-->
87
-                <div style="width:140px;" class="under_line">{{info.patient.home_address}}</div>
87
+                <div style="width:400px;" class="under_line">{{info.patient.home_address}}</div>
88 88
               </div>
89 89
             </div>
90 90
             <div class="row">
91 91
               <div class="inline_block">工作单位名称
92
-                <div style="width:80px;" class="under_line">{{info.emp_name}}</div>
92
+                <div style="width:300px;" class="under_line">{{info.emp_name}}</div>
93 93
               </div>
94 94
               <div class="inline_block">工作单位地址
95
-                <div style="width:160px;" class="under_line">{{info.patient.unit_address}}</div>
95
+                <div style="width:180px;" class="under_line">{{info.patient.unit_address}}</div>
96 96
               </div>
97 97
               <div class="inline_block">单位电话
98 98
                 <div style="width:120px;" class="under_line"></div>
@@ -115,12 +115,12 @@
115 115
                 <div style="width:140px;" class="under_line"></div>
116 116
               </div>
117 117
               <div class="inline_block">电话
118
-                <div style="width:80px;" class="under_line">{{info.patinet.phone}}</div>
118
+                <div style="width:150px;" class="under_line">{{info.patient.phone}}</div>
119 119
               </div>
120 120
             </div>
121 121
             <div class="row">
122
-              <div v-if="info.insutype == '310'" style="width:33%;">医保类型<div style="width:120px;" class="under_line">职工基本医疗保险</div></div>
123
-              <div v-if="info.insutype == '390'"  style="width:33%;">医保类型<div style="width:120px;" class="under_line">城乡居民基本医疗保险</div></div>
122
+              <div v-if="info.insutype == '310'" style="width:40%;">医保类型<div style="width:200px;" class="under_line">职工基本医疗保险</div></div>
123
+              <div v-if="info.insutype == '390'"  style="width:40%;">医保类型<div style="width:200px;" class="under_line">城乡居民基本医疗保险</div></div>
124 124
               <div  style="width:33%;">特殊人员类型<div style="width:120px;" class="under_line"></div></div>
125 125
               <div style="width:33%;" v-if="info.his.insuplc_admdvs == '150499'">参保地<div style="width:120px;" class="under_line" >{{'赤峰市'}}</div></div>
126 126
               <div style="width:33%;" v-else>参保地<div style="width:120px;" class="under_line" ></div></div>
@@ -166,9 +166,9 @@
166 166
                 <td>&nbsp;</td>
167 167
                 <td>&nbsp;</td>
168 168
               </tr>
169
-              <tr v-for="item in 5">
170
-                <td>&nbsp;</td>
171
-                <td>&nbsp;</td>
169
+              <tr v-for="item in info.dia_config">
170
+                <td>&nbsp;{{item.class_name}}</td>
171
+                <td>&nbsp;{{item.country_code}}</td>
172 172
                 <td>&nbsp;</td>
173 173
                 <td>&nbsp;</td>
174 174
               </tr>
@@ -184,7 +184,7 @@
184 184
         <tr>
185 185
           <td>
186 186
             <div class="inline_block">住院医疗类型
187
-              <label-box :isChecked="false" showValue="1.住院"></label-box>
187
+              <label-box :isChecked="true" showValue="1.住院"></label-box>
188 188
               <label-box :isChecked="false" showValue="2.日间手术"></label-box>
189 189
             </div>
190 190
           </td>
@@ -196,7 +196,7 @@
196 196
                 <label-box :isChecked="false" showValue="1.急诊"></label-box>
197 197
                 <label-box :isChecked="false" showValue="2.门诊"></label-box>
198 198
                 <label-box :isChecked="false" showValue="3.其他医疗机构转入"></label-box>
199
-                <label-box :isChecked="false" showValue="9.其他"></label-box>
199
+                <label-box :isChecked="true" showValue="9.其他"></label-box>
200 200
               </div>
201 201
             </div>
202 202
           </td>
@@ -205,7 +205,7 @@
205 205
           <td>
206 206
             <div>
207 207
               <div class="inline_block">治疗类别
208
-                <label-box :isChecked="false" showValue="1.西医"></label-box>
208
+                <label-box :isChecked="true" showValue="1.西医"></label-box>
209 209
                 <label-box :isChecked="false" showValue="2.中医"></label-box>
210 210
211 211
                 <label-box :isChecked="false" showValue="2.1 中医"></label-box>
@@ -220,7 +220,7 @@
220 220
           <td>
221 221
             <div class="row">
222 222
               <div style="width:40%" class="inline_block">入院时间
223
-                <div style="width:40px;" class="under_line">{{info.his.in_hosptial_time}}</div>
223
+                <div style="width:160px;" class="under_line">{{info.his.in_hosptial_time}}</div>
224 224
               </div>
225 225
               <div style="width:30%" class="inline_block">入院科别
226 226
                 <div style="width:80px;" class="under_line">{{'血透科'}}</div>
@@ -235,7 +235,7 @@
235 235
           <td>
236 236
             <div class="row">
237 237
               <div style="width:40%" class="inline_block">出院时间
238
-                <div style="width:40px;" class="under_line">{{info.his.out_hosptial_time}}</div>
238
+                <div style="width:160px;" class="under_line">{{info.his.out_hosptial_time}}</div>
239 239
               </div>
240 240
               <div style="width:30%" class="inline_block">出院科别
241 241
                 <div style="width:80px;" class="under_line">{{'血透科'}}</div>
@@ -250,10 +250,10 @@
250 250
           <td>
251 251
             <div class="row">
252 252
               <div style="width:40%" class="inline_block">门(急)诊诊断(西医诊断)
253
-                <div style="width:80px;" class="under_line">{{ info.dise_name }}</div>
253
+                <div style="width:80px;" class="under_line">{{ info.dia_config[0].class_name }}</div>
254 254
               </div>
255 255
               <div style="width:30%" class="inline_block">疾病代码
256
-                <div style="width:80px;" class="under_line">{{ info.dise_code }}</div>
256
+                <div style="width:80px;" class="under_line">{{ info.dia_config[0].country_code }}</div>
257 257
               </div>
258 258
               <div style="width:30%" class="inline_block">
259 259
               </div>
@@ -491,11 +491,11 @@
491 491
           <td>
492 492
             <div class="inline_block" style="width:50%">
493 493
               主诊医师姓名*
494
-              <div style="width:80px;" class="under_line"></div>
494
+              <div style="width:80px;" class="under_line">{{info.doctor_info.user_name}}</div>
495 495
             </div>
496 496
             <div class="inline_block">
497 497
               主诊医师代码*
498
-              <div style="width:80px;" class="under_line"></div>
498
+              <div style="width:80px;" class="under_line">{{info.doctor_info.doctor_number}}</div>
499 499
             </div>
500 500
           </td>
501 501
         </tr>
@@ -512,29 +512,26 @@
512 512
                 <td style="width:20%;text-align:left;">
513 513
                   <div>
514 514
                     业务流水号:
515
-                    <div style="width:80px;" class="under_line">{{ info.setl_id }}</div>
515
+                    <div style="width:160px;" class="under_line">{{ info.setl_id }}</div>
516 516
                   </div>
517 517
                   <div>
518 518
                     票据代码:
519
-                    <div style="width:80px;" class="under_line"></div>
519
+                    <div style="width:160px;" class="under_line"></div>
520 520
                   </div>
521 521
                   <div>
522 522
                     票据号码:
523
-                    <div style="width:80px;" class="under_line"></div>
523
+                    <div style="width:160px;" class="under_line"></div>
524 524
                   </div>
525 525
                 </td>
526 526
                 <td style="width:80%;">
527 527
                   <div>
528 528
                     结算期间:
529 529
                     <div class="inline_block">
530
-                      <div style="width:40px;" class="under_line">{{ info.begndate ? info.begndate.slice(0,4) : '' }}</div>年
531
-                      <div style="width:40px;" class="under_line">{{ info.begndate ? info.begndate.slice(5,7) : '' }}</div>月
532
-                      <div style="width:40px;" class="under_line">{{ info.begndate ? info.begndate.slice(8,11) : '' }}</div>日
530
+                      <div style="width:100px;" class="under_line">{{  info.his.in_hosptial_time ? info.his.in_hosptial_time.split(' ')[0] : '' }}</div>
533 531
                     </div>——
534 532
                     <div class="inline_block">
535
-                      <div style="width:40px;" class="under_line">{{ info.enddate ? info.enddate.slice(0,4) : '' }}</div>年
536
-                      <div style="width:40px;" class="under_line">{{ info.enddate ? info.enddate.slice(5,7) : '' }}</div>月
537
-                      <div style="width:40px;" class="under_line">{{ info.enddate ? info.enddate.slice(8,11) : '' }}</div>日
533
+                      <div style="width:100px;" class="under_line">{{  info.his.out_hosptial_time ? info.his.out_hosptial_time.split(' ')[0] : '' }}</div>
534
+
538 535
                     </div>
539 536
                   </div>
540 537
                 </td>
@@ -557,10 +554,10 @@
557 554
               </tr>
558 555
               <tr>
559 556
                 <td>床位费</td>
560
-                <td>&nbsp;{{info.bed_cost_total}}</td>
557
+                <td>&nbsp;{{info.bed_cost_total?info.bed_cost_total:''}}</td>
561 558
                 <td>&nbsp;</td>
562 559
                 <td>&nbsp;</td>
563
-                <td>&nbsp;{{info.bed_cost_self_total}}</td>
560
+                <td>&nbsp;{{info.bed_cost_self_total?info.bed_cost_self_total:''}}</td>
564 561
                 <td>&nbsp;</td>
565 562
               </tr>
566 563
               <tr>
@@ -573,34 +570,34 @@
573 570
               </tr>
574 571
               <tr>
575 572
                 <td>检查费</td>
576
-                <td>&nbsp;{{info.check_cost_total}}</td>
573
+                <td>&nbsp;{{info.check_cost_total?info.check_cost_total:''}}</td>
577 574
                 <td>&nbsp;</td>
578 575
                 <td>&nbsp;</td>
579
-                <td>&nbsp;{{info.check_cost_self_total}}</td>
576
+                <td>&nbsp;{{info.check_cost_self_total?info.check_cost_self_total:""}}</td>
580 577
                 <td>&nbsp;</td>
581 578
               </tr>
582 579
               <tr>
583 580
                 <td>化验费</td>
584
-                <td>&nbsp;{{info.laboratory_cost_total}}</td>
581
+                <td>&nbsp;{{info.laboratory_cost_total?info.laboratory_cost_total:''}}</td>
585 582
                 <td>&nbsp;</td>
586 583
                 <td>&nbsp;</td>
587
-                <td>&nbsp;{{info.laboratory_cost_self_total}}</td>
584
+                <td>&nbsp;{{info.laboratory_cost_self_total?info.laboratory_cost_self_total:''}}</td>
588 585
                 <td>&nbsp;</td>
589 586
               </tr>
590 587
               <tr>
591 588
                 <td>治疗费</td>
592
-                <td>&nbsp;{{info.treat_cost_total}}</td>
589
+                <td>&nbsp;{{info.treat_cost_total?info.treat_cost_total:''}}</td>
593 590
                 <td>&nbsp;</td>
594 591
                 <td>&nbsp;</td>
595
-                <td>&nbsp;{{info.treat_cost_self_total}}</td>
592
+                <td>&nbsp;{{info.treat_cost_self_total?info.treat_cost_self_total:''}}</td>
596 593
                 <td>&nbsp;</td>
597 594
               </tr>
598 595
               <tr>
599 596
                 <td>手术费</td>
600
-                <td>&nbsp;{{info.operation_cost_total}}</td>
597
+                <td>&nbsp;{{info.operation_cost_total?info.operation_cost_total:''}}</td>
601 598
                 <td>&nbsp;</td>
602 599
                 <td>&nbsp;</td>
603
-                <td>&nbsp;{{info.operation_cost_self_total}}</td>
600
+                <td>&nbsp;{{info.operation_cost_self_total?info.operation_cost_self_total:""}}</td>
604 601
                 <td>&nbsp;</td>
605 602
               </tr>
606 603
               <tr>
@@ -613,18 +610,18 @@
613 610
               </tr>
614 611
               <tr>
615 612
                 <td>卫生材料费</td>
616
-                <td>&nbsp;{{info.material_cost_total}}</td>
613
+                <td>&nbsp;{{info.material_cost_total?info.material_cost_total:""}}</td>
617 614
                 <td>&nbsp;</td>
618 615
                 <td>&nbsp;</td>
619
-                <td>&nbsp;{{info.material_cost_self_total}}</td>
616
+                <td>&nbsp;{{info.material_cost_self_total?info.material_cost_self_total:""}}</td>
620 617
                 <td>&nbsp;</td>
621 618
               </tr>
622 619
               <tr>
623 620
                 <td>西药费</td>
624
-                <td>&nbsp;{{info.western_medicine_cost_total}}</td>
621
+                <td>&nbsp;{{info.western_medicine_cost_total?info.western_medicine_cost_total:""}}</td>
625 622
                 <td>&nbsp;</td>
626 623
                 <td>&nbsp;</td>
627
-                <td>&nbsp;{{info.western_medicine_cost_self_total}}</td>
624
+                <td>&nbsp;{{info.western_medicine_cost_self_total?info.western_medicine_cost_self_total:""}}</td>
628 625
                 <td>&nbsp;</td>
629 626
               </tr>
630 627
               <tr>
@@ -637,10 +634,10 @@
637 634
               </tr>
638 635
               <tr>
639 636
                 <td>中成药费</td>
640
-                <td>&nbsp;{{info.chinese_traditional_medicine_cost_total}}</td>
637
+                <td>&nbsp;{{info.chinese_traditional_medicine_cost_total?info.chinese_traditional_medicine_cost_total:""}}</td>
641 638
                 <td>&nbsp;</td>
642 639
                 <td>&nbsp;</td>
643
-                <td>&nbsp;{{info.chinese_traditional_medicine_cost_self_total}}</td>
640
+                <td>&nbsp;{{info.chinese_traditional_medicine_cost_self_total?info.chinese_traditional_medicine_cost_self_total:""}}</td>
644 641
                 <td>&nbsp;</td>
645 642
               </tr>
646 643
               <tr>
@@ -669,10 +666,15 @@
669 666
               </tr>
670 667
               <tr>
671 668
                 <td>金额合计</td>
669
+                <td>{{(parseFloat(info.bed_cost_total) +
670
+                    parseFloat(info.operation_cost_total) + parseFloat(info.other_cost_total) +
671
+                    parseFloat(info.material_cost_total) + parseFloat(info.western_medicine_cost_total) +
672
+                    parseFloat(info.chinese_traditional_medicine_cost_total) + parseFloat(info.check_cost_total) +
673
+                    parseFloat(info.laboratory_cost_total) + parseFloat(info.treat_cost_total)).toFixed(2) }}</td>
672 674
                 <td>&nbsp;</td>
673 675
                 <td>&nbsp;</td>
674
-                <td>&nbsp;</td>
675
-                <td>&nbsp;</td>
676
+                <td>
677
+                </td>
676 678
                 <td>&nbsp;</td>
677 679
               </tr>
678 680
               </tbody>
@@ -692,31 +694,31 @@
692 694
                   </tr>
693 695
                   <tr>
694 696
                     <td>医保统筹基金支付</td>
695
-                    <td>&nbsp;{{info.hifp_pay}}</td>
697
+                    <td>&nbsp;{{info.hifp_pay?info.hifp_pay:info.order.hifp_pay}}</td>
696 698
                   </tr>
697 699
                   <tr>
698 700
                     <td>其他支付:</td>
699
-                    <td>&nbsp;{{info.oth_pay}}</td>
701
+                    <td>&nbsp;{{info.oth_pay?info.oth_pay:info.order.oth_pay}}</td>
700 702
                   </tr>
701 703
                   <tr>
702 704
                     <td>大病保险</td>
703
-                    <td>&nbsp;{{info.hifes_pay}}</td>
705
+                    <td>&nbsp;{{info.hifmi_pay?info.hifmi_pay:info.order.hifmi_pay}}</td>
704 706
                   </tr>
705 707
                   <tr>
706 708
                     <td>医疗救助</td>
707
-                    <td>&nbsp;{{info.maf_pay}}</td>
709
+                    <td>&nbsp;{{info.maf_pay?info.maf_pay:info.order.maf_pay}}</td>
708 710
                   </tr>
709 711
                   <tr>
710 712
                     <td>公务员医疗补助</td>
711
-                    <td>&nbsp;{{info.cvlserv_pay}}</td>
713
+                    <td>&nbsp;{{info.cvlserv_pay?info.cvlserv_pay:info.order.cvlserv_pay}}</td>
712 714
                   </tr>
713 715
                   <tr>
714 716
                     <td>大额补充</td>
715
-                    <td>&nbsp;{{info.hifob_pay}}</td>
717
+                    <td>&nbsp;{{info.hifob_pay?info.hifob_pay:info.order.hifob_pay}}</td>
716 718
                   </tr>
717 719
                   <tr>
718 720
                     <td>企业补充</td>
719
-                    <td>&nbsp;{{info.hifes_pay}}</td>
721
+                    <td>&nbsp;{{info.hifes_pay?info.hifes_pay:info.order.hifes_pay}}</td>
720 722
                   </tr>
721 723
                   <tr>
722 724
                     <td>......</td>
@@ -736,19 +738,19 @@
736 738
                   <tr>
737 739
                     <td rowspan="4" style="width:4%;">个人支付</td>
738 740
                     <td style="width:36%">个人自付</td>
739
-                    <td>{{info.psn_part_amt}}</td>
741
+                    <td>{{info.psn_part_amt?info.psn_part_amt:info.order.psn_part_amt}}</td>
740 742
                   </tr>
741 743
                   <tr>
742 744
                     <td style="width:36%">个人自费</td>
743
-                    <td>{{info.psn_cash_pay}}</td>
745
+                    <td>{{info.psn_cash_pay?info.psn_cash_pay:info.order.psn_cash_pay}}</td>
744 746
                   </tr>
745 747
                   <tr>
746 748
                     <td style="width:36%">个人账户支付</td>
747
-                    <td>{{info.acct_pay}}</td>
749
+                    <td>{{info.acct_pay?info.acct_pay:info.order.acct_pay}}</td>
748 750
                   </tr>
749 751
                   <tr>
750 752
                     <td style="width:36%">个人现金支付</td>
751
-                    <td>{{info.psn_cash_pay}}</td>
753
+                    <td>{{info.psn_cash_pay?info.psn_cash_pay:info.order.psn_cash_pay}}</td>
752 754
                   </tr>
753 755
 
754 756
                   </tbody>
@@ -775,11 +777,11 @@
775 777
       <div class="row">
776 778
         <div style="width:50%">
777 779
           医疗机构填报部门
778
-          <div style="width:80px;" class="under_line">{{ info.fixmedins_name }}</div>
780
+          <div style="width:160px;" class="under_line">{{ info.fixmedins_name }}</div>
779 781
         </div>
780 782
         <div style="width:50%">
781 783
           医疗机构接收部门
782
-          <div style="width:80px;" class="under_line"></div>
784
+          <div style="width:160px;" class="under_line"></div>
783 785
         </div>
784 786
       </div>
785 787
       <div class="row">

+ 36 - 9
src/xt_pages/hospitalStation/statementPrint.vue Datei anzeigen

@@ -84,14 +84,32 @@ export default {
84 84
       var ptime = Math.round(new Date().getTime() / 1000)
85 85
       this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
86 86
 
87
-      const style =
88
-          '@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;}}'
89
-      printJS({
90
-        printable: 'statement-print',
91
-        type: 'html',
92
-        style: style,
93
-        scanStyles: false
94
-      })
87
+      if(this.org_id == 10265){
88
+
89
+        const style =
90
+            '@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;}}';
91
+        const style1 = "@media print{#prescription-print{font-size:14px;}.title{text-align: center;font-size: 22px;font-weight: bold;}.row{display: flex;justify-content: space-between;}.under_line{border-bottom: 1px solid #999;width: 95%;text-align: center;margin-left: 2px;display: inline-block;}.inline_block{display: inline-block;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 14px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; /* 解决边框冲突 */border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid;text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}}";
92
+        printJS({
93
+          printable: "prescription-print",
94
+          type: "html",
95
+          style: style1,
96
+          scanStyles: false
97
+        });
98
+
99
+      }else{
100
+
101
+        const style =
102
+            '@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;}}'
103
+        printJS({
104
+          printable: 'statement-print',
105
+          type: 'html',
106
+          style: style,
107
+          scanStyles: false
108
+        })
109
+
110
+      }
111
+
112
+
95 113
 
96 114
       // if (this.org_template_info.template_id == 1) {
97 115
       //   printJS({
@@ -294,14 +312,21 @@ export default {
294 312
                 that.p_admin = response.data.data.printor_admin
295 313
                 that.charge_admin = response.data.data.charge_admin
296 314
                 that.order_infos = response.data.data
297
-
315
+                that.info['patient'] = response.data.data.patient
316
+                that.info['diagnosis'] = response.data.data.diagnosis
298 317
                 that.info['p_admin'] = that.p_admin
299 318
                 that.info['charge_admin'] = that.charge_admin
319
+                that.info['fixmedins_name'] = response.data.data.org_name
320
+                that.info['fixmedins_code'] = response.data.data.org_code
321
+                that.info['order'] = response.data.data.order
300 322
 
301 323
                 that.info['date'] = response.data.data.date
302 324
                 that.info['number'] = response.data.data.number
303 325
                 that.info['order_infos'] = response.data.data.order_infos
304 326
                 that.info['diagnosis'] = response.data.data.diagnosis
327
+                that.info['dia_config'] = response.data.data.dia_config
328
+                that.info['doctor_info'] = response.data.data.doctor_info
329
+
305 330
 
306 331
                 that.info['bed_cost_total'] = response.data.data.bedCostTotal
307 332
                 that.info['bed_cost_self_total'] = response.data.data.bedCostSelfTotal
@@ -342,6 +367,8 @@ export default {
342 367
                 that.info['number'] = response.data.data.number
343 368
                 that.info['order_infos'] = response.data.data.order_infos
344 369
                 that.info['diagnosis'] = response.data.data.diagnosis
370
+                that.info['his'] = response.data.data.his_hospital
371
+
345 372
               }
346 373
             })
347 374
             .catch(function(error) {