Browse Source

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

csx 3 years ago
parent
commit
20e5bbfcfb

+ 3 - 2
src/xt_pages/hospitalStation/statementTemplate/printOne.vue View File

@@ -93,7 +93,7 @@
93 93
         <td>出院日期</td>
94 94
         <td width="100">{{info.enddate}}</td>
95 95
         <td>住院天数</td>
96
-        <td>{{getDay(info.begndate,info.enddate) + 1}}</td>
96
+        <td>{{getDay(info.begndate,info.enddate)}}</td>
97 97
 
98 98
       </tr>
99 99
       <tr>
@@ -129,6 +129,7 @@
129 129
         <td colspan="12" style="text-align:left;padding-left:10px;">
130 130
           本次就医:总费用{{info.medfee_sumamt}}元,基金支付{{info.fund_pay_sumamt}}元,个人支付{{info.psn_pay}}元。
131 131
           (起付线 {{info.act_pay_dedc}}元, 先自付 {{info.preselfpay_amt}}元, 段内自付 {{(info.psn_pay - info.preselfpay_amt).toFixed(2)}} )
132
+
132 133
         </td>
133 134
       </tr>
134 135
       <tr>
@@ -356,7 +357,7 @@
356 357
             return 1;
357 358
           }
358 359
           var days=(endDate - startDate)/(1*24*60*60*1000);
359
-          return  days;
360
+          return  days+1;
360 361
 
361 362
         },
362 363
       getNowTime: function () {

+ 161 - 4
src/xt_pages/outpatientCharges/statementPrint.vue View File

@@ -40,6 +40,8 @@
40 40
         ></printFour>
41 41
       </div>
42 42
 <!--      <print-other :info="info" v-if="org_id == 9919"></print-other>-->
43
+<!--      <printOne :info=" info" v-if="org_id == 10215 && this.paramsObj.balance_accounts_type == 2"></printOne>-->
44
+      <privateChargePrint  :info="info" v-if="(org_id == 0 || org_id == 10215) && this.paramsObj.balance_accounts_type == 2"></privateChargePrint>
43 45
       <printOne :info="info" v-else></printOne>
44 46
       <!-- 测试医保环境下表格样式放开以下这条 -->
45 47
       <!-- <testVue :info="info" v-else></testVue> -->
@@ -57,6 +59,8 @@ import axios from "axios";
57 59
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
58 60
 import print from "print-js";
59 61
 import printOne from "./statementTemplate/printOne";
62
+import privateChargePrint from "./statementTemplate/privateChargePrint";
63
+
60 64
 import printTwo from "./statementTemplate/printTwo";
61 65
 import printThree from "./statementTemplate/printThree";
62 66
 import printFour from "./statementTemplate/printFour";
@@ -66,14 +70,14 @@ import {
66 70
   getAllHisPatientList,
67 71
   getPrescriptionPrint,
68 72
 } from "@/api/project/project";
69
-import { getPrivateExpenses } from "@/api/his/his";
70
-import PrintOther from '../hospitalStation/statementTemplate/printOther'
73
+import { getPrivateExpenses,getPrivateExpensesOrder } from "@/api/his/his";
74
+// import PrintOther from '../hospitalStation/statementTemplate/printOther'
71 75
 export default {
72 76
   name: "dialysisPrintOrder",
73 77
   components: {
74
-    PrintOther,
75 78
     BreadCrumb,
76 79
     printOne,
80
+    privateChargePrint,
77 81
     printTwo,
78 82
     printThree,
79 83
     printFour,
@@ -358,10 +362,11 @@ export default {
358 362
         let params = {
359 363
           his_patient_id: obj.his_patient_id,
360 364
           id: obj.order_id,
365
+          order_id:obj.order_id,
366
+          admin_user_id:this.$store.getters.xt_user.user.id,
361 367
         };
362 368
         if (
363 369
           this.org_id == 10138 ||
364
-          this.org_id == 0 ||
365 370
           this.$store.getters.xt_user.org_id == 4 ||
366 371
           this.org_id == 10278
367 372
         ) {
@@ -485,6 +490,158 @@ export default {
485 490
               console.log(111, this.balanceAccounts);
486 491
             }
487 492
           });
493
+        }else if (this.org_id == 10215 || this.org_id == 0) {
494
+
495
+          getPrivateExpensesOrder(params).then((response) => {
496
+            if (response.data.state == 0) {
497
+              // this.$message.error(response.data.msg)
498
+
499
+              return false;
500
+            } else {
501
+              var that = this
502
+              that.info = response.data.data.info;
503
+              that.p_admin = response.data.data.printor_admin;
504
+              that.charge_admin = response.data.data.charge_admin;
505
+
506
+              that.info["p_admin"] = that.p_admin;
507
+              that.info["charge_admin"] = that.charge_admin;
508
+              that.info["order_number"] = response.data.data.order_number;
509
+              that.info["patient"] = response.data.data.patient;
510
+              that.info["date"] = response.data.data.date;
511
+              that.info["number"] = response.data.data.number;
512
+              that.info["order_infos"] = response.data.data.order_infos;
513
+              that.info["diagnosis"] = response.data.data.diagnosis;
514
+              that.info["fixmedins_name"] = response.data.data.org_name;
515
+              that.info["fixmedins_code"] = response.data.data.org_code;
516
+              // that.info["doctor_code"] = response.data.data.doctor_code;
517
+              // that.info["department"] = response.data.data.department;
518
+              // that.info["health_card_no"] = response.data.data.health_card_no;
519
+
520
+              that.info["bed_cost_total"] = response.data.data.bedCostTotal;
521
+              that.info["bed_cost_self_total"] =
522
+                  response.data.data.bedCostSelfTotal;
523
+              that.info["bed_cost_part_self_total"] =
524
+                  response.data.data.bedCostPartSelfTotal;
525
+
526
+              that.info["operation_cost_total"] =
527
+                  response.data.data.operationCostTotal;
528
+              that.info["operation_cost_self_total"] =
529
+                  response.data.data.operationCostSelfTotal;
530
+              that.info["operation_cost_part_self_total"] =
531
+                  response.data.data.operationCostPartSelfTotal;
532
+
533
+              that.info["other_cost_total"] = response.data.data.otherCostTotal;
534
+              that.info["other_cost_self_total"] =
535
+                  response.data.data.otherCostSelfTotal;
536
+              that.info["other_cost_part_self_total"] =
537
+                  response.data.data.otherCostPartSelfTotal;
538
+
539
+              that.info["material_cost_total"] =
540
+                  response.data.data.materialCostTotal;
541
+              that.info["material_cost_self_total"] =
542
+                  response.data.data.materialCostSelfTotal;
543
+              that.info["material_cost_part_self_total"] =
544
+                  response.data.data.materialCostPartSelfTotal;
545
+
546
+              that.info["western_medicine_cost_total"] =
547
+                  response.data.data.westernMedicineCostTotal;
548
+              that.info["western_medicine_cost_self_total"] =
549
+                  response.data.data.westernMedicineCostSelfTotal;
550
+              that.info["western_medicine_cost_part_self_total"] =
551
+                  response.data.data.westernMedicineCostPartSelfTotal;
552
+
553
+              that.info["chinese_traditional_medicine_cost_total"] =
554
+                  response.data.data.chineseTraditionalMedicineCostTotal;
555
+              that.info["chinese_traditional_medicine_cost_self_total"] =
556
+                  response.data.data.chineseTraditionalMedicineCostSelfTotal;
557
+              that.info["chinese_traditional_medicine_cost_part_self_total"] =
558
+                  response.data.data.chineseTraditionalMedicineCostPartSelfTotal;
559
+
560
+              that.info["check_cost_total"] = response.data.data.checkCostTotal;
561
+              that.info["check_cost_self_total"] =
562
+                  response.data.data.checkCostSelfTotal;
563
+              that.info["check_cost_part_self_total"] =
564
+                  response.data.data.checkCostPartSelfTotal;
565
+
566
+              that.info["laboratory_cost_total"] =
567
+                  response.data.data.laboratoryCostTotal;
568
+              that.info["laboratory_cost_self_total"] =
569
+                  response.data.data.laboratoryCostSelfTotal;
570
+              that.info["laboratory_cost_part_self_total"] =
571
+                  response.data.data.laboratoryCostPartSelfTotal;
572
+
573
+              that.info["treat_cost_total"] = response.data.data.treatCostTotal;
574
+              that.info["treat_cost_self_total"] =
575
+                  response.data.data.treatCostSelfTotal;
576
+              that.info["treat_cost_part_self_total"] =
577
+                  response.data.data.treatCostPartSelfTotal;
578
+              that.info["date"] = response.data.data.date;
579
+              // that.info["number"] = response.data.data.number;
580
+              that.info["order_infos"] = response.data.data.order_infos;
581
+              that.info["diagnosis"] = response.data.data.diagnosis;
582
+
583
+              let obj = {
584
+                type: 1,
585
+                details: [],
586
+                total: 0,
587
+              };
588
+              let obj2 = {
589
+                type: 2,
590
+                details: [],
591
+                total: 0,
592
+              };
593
+              let obj3 = {
594
+                type: 3,
595
+                details: [],
596
+                total: 0,
597
+              };
598
+
599
+              let obj4 = {
600
+                type: 4,
601
+                details: [],
602
+                total: 0,
603
+              };
604
+              let num = 0;
605
+              that.info.order_infos.map((item) => {
606
+                if (item.advice_id > 0) {
607
+                  obj.details.push(item);
608
+                  obj.total += item.pric * item.advice.prescribing_number;
609
+                  num++;
610
+                } else {
611
+                  if (item.project.type == 2) {
612
+                    obj2.details.push(item);
613
+                    obj2.total += item.pric * item.project.count;
614
+                    num++;
615
+                  } else {
616
+                    obj3.details.push(item);
617
+                    obj3.total += item.pric * item.project.count;
618
+                    num++;
619
+                  }
620
+                }
621
+              });
622
+
623
+              // this.info.order_infos.map(item => {
624
+              //   obj4.total = item.Total
625
+              //   obj4.details.push(item)
626
+              //   num++
627
+              //
628
+              // })
629
+
630
+              that.info.new_detail_list = [];
631
+              that.info.new_detail_list.push(obj);
632
+              that.info.new_detail_list.push(obj2);
633
+              that.info.new_detail_list.push(obj3);
634
+              // that.info.new_detail_list.push(obj4)
635
+
636
+              that.num = num;
637
+
638
+              if (that.paramsObj.settle_type != 1) {
639
+                that.info.begndate = that.getTimes(that.paramsObj.start_time);
640
+                that.info.enddate = that.getTimes(that.paramsObj.end_time);
641
+              }
642
+            }
643
+          });
644
+
488 645
         }
489 646
       } else {
490 647
         var that = this;

+ 2 - 0
src/xt_pages/outpatientCharges/statementTemplate/printOne.vue View File

@@ -131,6 +131,8 @@
131 131
       <tr>
132 132
         <td colspan="12" style="text-align:left;padding-left:10px;">
133 133
           本次就医:总费用{{info.medfee_sumamt}}元,基金支付{{info.fund_pay_sumamt}}元,个人支付{{info.psn_pay}}元。
134
+          (起付线 {{info.act_pay_dedc}}元, 先自付 {{info.preselfpay_amt}}元, 段内自付 {{(info.psn_pay - info.preselfpay_amt).toFixed(2)}} )
135
+
134 136
         </td>
135 137
       </tr>
136 138
       <tr>

+ 344 - 0
src/xt_pages/outpatientCharges/statementTemplate/privateChargePrint.vue View File

@@ -0,0 +1,344 @@
1
+<template>
2
+  <div id="statement-print" class="statement-print">
3
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10188 || this.$store.getters.xt_user.org_id == 10217">江苏省社会医疗保险医疗费用结算单</div>
4
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10088">广水源生堂社会医疗保险医疗费用结算单</div>
5
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088">广东省社会医疗保险医疗费用结算单</div>
6
+
7
+    <table class="statementTable" border="1">
8
+      <tr>
9
+        <td width="80">机构名称</td>
10
+        <td colspan="4">{{info.fixmedins_name}}</td>
11
+        <td width="80">机构编码</td>
12
+        <td colspan="4">{{info.fixmedins_code}}</td>
13
+        <td width="100">医保结算级别</td>
14
+        <td width="100"></td>
15
+
16
+      </tr>
17
+      <tr>
18
+        <td width="90">就医登记号</td>
19
+        <td colspan="11"></td>
20
+      </tr>
21
+      <tr>
22
+        <td width="80">姓名</td>
23
+        <td width="80">{{info.patient.name}}</td>
24
+        <td width="80">性别</td>
25
+        <td width="50" v-if="info.patient.gender == 1">男</td>
26
+        <td width="50" v-if="info.patient.gender == 2">女</td>
27
+
28
+        <td width="80">出生日期</td>
29
+        <td width="100"></td>
30
+        <td width="90">个人电脑号</td>
31
+        <td width="110"></td>
32
+        <td width="80">人员类别</td>
33
+        <td colspan="3"></td>
34
+      </tr>
35
+      <tr>
36
+        <td>单位名称</td>
37
+        <td colspan="5"></td>
38
+        <td width="80">联系电话</td>
39
+        <td width="110">{{info.patient.phone}}</td>
40
+        <td width="80">身份证号</td>
41
+        <td colspan="3">{{info.patient.id_card_no}}</td>
42
+      </tr>
43
+      <tr>
44
+        <td>住院号</td>
45
+        <td>{{info.number}}</td>
46
+        <td>科别</td>
47
+        <td width="100"></td>
48
+        <td>床号</td>
49
+        <td></td>
50
+        <td>入院日期</td>
51
+        <td>{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
52
+        <td>出院日期</td>
53
+        <td width="100">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
54
+        <td>住院天数</td>
55
+        <td>{{getDay(info.setl_time.split(' ')[0],info.setl_time.split(' ')[0])}}</td>
56
+
57
+      </tr>
58
+      <tr>
59
+        <td>险种</td>
60
+        <td colspan="2"></td>
61
+
62
+
63
+        <td>入院第一诊断</td>
64
+        <td colspan="3">{{info.diagnosis}}</td>
65
+        <td>出院第一诊断</td>
66
+        <td colspan="4">{{info.diagnosis}}</td>
67
+      </tr>
68
+      <tr>
69
+        <td>业务类别</td>
70
+        <td colspan="5" style="text-align:left;padding-left:10px;"></td>
71
+
72
+
73
+        <td>结算时间</td>
74
+        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
75
+      </tr>
76
+      <tr>
77
+        <td colspan="12" style="text-align:left;padding-left:10px;">
78
+<!--          本次就医:总费用{{info.medfee_sumamt}}元,基金支付{{info.fund_pay_sumamt}}元,个人支付{{info.medfee_sumamt}}元。-->
79
+          本次就医:总费用{{info.medfee_sumamt}}元,基金支付{{info.fund_pay_sumamt}}元,个人支付{{info.psn_pay}}元。
80
+          (起付线 {{info.act_pay_dedc}}元, 先自付 {{info.preselfpay_amt}}元, 段内自付 {{info.medfee_sumamt}}元 )
81
+
82
+        </td>
83
+      </tr>
84
+      <tr>
85
+        <td>费用名称</td>
86
+        <td colspan="2">总费用</td>
87
+        <td>自费</td>
88
+        <td colspan="2">部分项目自付</td>
89
+        <td>费用名称</td>
90
+        <td colspan="2">总费用</td>
91
+        <td>自费</td>
92
+        <td colspan="2">部分项目自付</td>
93
+      </tr>
94
+      <tr>
95
+        <td>床位费</td>
96
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_total}}</td>
97
+        <td style="text-align:right;padding-right:10px;">{{info.bed_cost_self_total}}</td>
98
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_part_self_total}}</td>
99
+        <td>西成药</td>
100
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_total}}</td>
101
+        <td style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_self_total}}</td>
102
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_part_self_total}}</td>
103
+      </tr>
104
+      <tr>
105
+        <td>中药费</td>
106
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
107
+        <td style="text-align:right;padding-right:10px;">0</td>
108
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
109
+        <td>中成药</td>
110
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_total}}
111
+        </td>
112
+        <td style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_self_total}}</td>
113
+        <td colspan="2" style="text-align:right;padding-right:10px;">
114
+          {{info.chinese_traditional_medicine_cost_part_self_total}}
115
+        </td>
116
+      </tr>
117
+      <tr>
118
+        <td>中草药</td>
119
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
120
+        <td style="text-align:right;padding-right:10px;">0</td>
121
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
122
+        <td>检查费</td>
123
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.check_cost_total}}</td>
124
+        <td style="text-align:right;padding-right:10px;">{{info.check_cost_self_total}}</td>
125
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.check_cost_part_self_total}}</td>
126
+      </tr>
127
+      <tr>
128
+        <td>治疗费</td>
129
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.treat_cost_total}}</td>
130
+        <td style="text-align:right;padding-right:10px;">{{info.treat_cost_self_total}}</td>
131
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.treat_cost_part_self_total}}</td>
132
+        <td>放射费</td>
133
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
134
+        <td style="text-align:right;padding-right:10px;">0</td>
135
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
136
+      </tr>
137
+      <tr>
138
+        <td>手术费</td>
139
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.operation_cost_total}}</td>
140
+        <td style="text-align:right;padding-right:10px;">{{info.operation_cost_self_total}}</td>
141
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.operation_cost_part_self_total}}</td>
142
+        <td>化验费</td>
143
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.laboratory_cost_total}}</td>
144
+        <td style="text-align:right;padding-right:10px;">{{info.laboratory_cost_self_total}}</td>
145
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.laboratory_cost_part_self_total}}</td>
146
+      </tr>
147
+      <tr>
148
+        <td>输血费</td>
149
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
150
+        <td style="text-align:right;padding-right:10px;">0</td>
151
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
152
+        <td>输氧费</td>
153
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
154
+        <td style="text-align:right;padding-right:10px;">0</td>
155
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
156
+      </tr>
157
+      <tr>
158
+        <td>其他</td>
159
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.other_cost_total}}</td>
160
+        <td style="text-align:right;padding-right:10px;">{{info.other_cost_self_total}}</td>
161
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.other_cost_part_self_total}}</td>
162
+        <td>麻醉费</td>
163
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
164
+        <td style="text-align:right;padding-right:10px;">0</td>
165
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
166
+      </tr>
167
+      <tr>
168
+        <td>材料费</td>
169
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.material_cost_total}}</td>
170
+        <td style="text-align:right;padding-right:10px;">{{info.material_cost_self_total}}</td>
171
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.material_cost_part_self_total}}</td>
172
+        <td>特殊检查费</td>
173
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
174
+        <td style="text-align:right;padding-right:10px;">0</td>
175
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
176
+      </tr>
177
+      <tr>
178
+        <td>特殊治疗费</td>
179
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
180
+        <td style="text-align:right;padding-right:10px;">0</td>
181
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
182
+        <td style="text-align:right;padding-right:10px;"></td>
183
+        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
184
+        <td style="text-align:right;padding-right:10px;"></td>
185
+        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
186
+      </tr>
187
+      <tr>
188
+        <td>合计</td>
189
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_total) +
190
+            parseFloat(info.operation_cost_total) + parseFloat(info.other_cost_total) +
191
+            parseFloat(info.material_cost_total) + parseFloat(info.western_medicine_cost_total) +
192
+            parseFloat(info.chinese_traditional_medicine_cost_total) + parseFloat(info.check_cost_total) +
193
+            parseFloat(info.laboratory_cost_total) + parseFloat(info.treat_cost_total)).toFixed(2) }}
194
+        </td>
195
+        <td style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_self_total )+
196
+            parseFloat(info.operation_cost_self_total) + parseFloat(info.other_cost_self_total) +
197
+            parseFloat(info.material_cost_self_total) + parseFloat(info.western_medicine_cost_self_total) +
198
+            parseFloat(info.chinese_traditional_medicine_cost_self_total) + parseFloat(info.check_cost_self_total) +
199
+            parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total)).toFixed(2)}}
200
+        </td>
201
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_part_self_total) +
202
+            parseFloat(info.operation_cost_part_self_total) + parseFloat(info.other_cost_part_self_total) +
203
+            parseFloat(info.material_cost_part_self_total) + parseFloat(info.western_medicine_cost_part_self_total) +
204
+            parseFloat(info.chinese_traditional_medicine_cost_part_self_total) +
205
+            parseFloat(info.check_cost_part_self_total) + parseFloat(info.laboratory_cost_part_self_total) +
206
+            parseFloat(info.treat_cost_part_self_total)).toFixed(2)}}
207
+        </td>
208
+        <td style="text-align:right;padding-right:10px;"></td>
209
+        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
210
+        <td style="text-align:right;padding-right:10px;"></td>
211
+        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
212
+      </tr>
213
+      <tr>
214
+        <td colspan="3" style="text-align:left;padding-left:10px;">基本医疗保险统筹基金支付</td>
215
+        <td colspan="3"></td>
216
+        <td colspan="3" style="text-align:left;padding-left:10px;">大额基金支付</td>
217
+        <td colspan="3"></td>
218
+      </tr>
219
+      <tr>
220
+        <td colspan="3" style="text-align:left;padding-left:10px;">大病基金支付</td>
221
+        <td colspan="3"></td>
222
+        <td colspan="3" style="text-align:left;padding-left:10px;">补充保险基金支付</td>
223
+        <td colspan="3"></td>
224
+      </tr>
225
+      <tr>
226
+        <td colspan="3" style="text-align:left;padding-left:10px;">医疗救助基金支付</td>
227
+        <td colspan="3"></td>
228
+        <td colspan="3" style="text-align:left;padding-left:10px;">公务员基金支付</td>
229
+        <td colspan="3"></td>
230
+      </tr>
231
+      <tr>
232
+        <td colspan="3" style="text-align:left;padding-left:10px;">其他基金支付</td>
233
+        <td colspan="3"></td>
234
+        <td colspan="3" style="text-align:left;padding-left:10px;">个人账户支付</td>
235
+        <td colspan="3"></td>
236
+      </tr>
237
+      <tr>
238
+        <td>收款人:</td>
239
+        <td colspan="2">{{info.charge_admin.user_name}}</td>
240
+        <td>审核人:</td>
241
+        <td colspan="2" v-if="this.$store.getters.xt_user.org_id == 10106">{{'梅晓辉'}}</td>
242
+        <td colspan="2" v-if="this.$store.getters.xt_user.org_id != 10106">{{info.p_admin.user_name}}</td>
243
+
244
+        <td>制单人:</td>
245
+        <td colspan="2">{{info.p_admin.user_name}}</td>
246
+        <td>打印日期</td>
247
+        <td colspan="2">{{getNowTime()}}</td>
248
+      </tr>
249
+      <tr>
250
+        <td colspan="12" style="text-align:left;padding-left:10px;line-height:20px;">
251
+          注: 1、部分项目自付金额是指基本医疗保险范围内的项目需参保人先按规定比例自付的金额。<br/>
252
+          &ensp;&ensp;&ensp;2、此表由医院打印。<br/>
253
+          &ensp;&ensp;&ensp;3、此表一式两份,医院、参保人各一份。
254
+        </td>
255
+      </tr>
256
+      <tr>
257
+        <td colspan="12" style="text-align:left;padding-left:10px;">
258
+          病人家属签字:
259
+        </td>
260
+      </tr>
261
+    </table>
262
+  </div>
263
+</template>
264
+<script>
265
+export default {
266
+  props: {
267
+    info: {
268
+      type: Object,
269
+      default: function() {
270
+        return {}
271
+      }
272
+    }, p_admin: {
273
+      type: Object,
274
+      default: function() {
275
+        return {}
276
+      }
277
+    }, charge_admin: {
278
+      type: Object,
279
+      default: function() {
280
+        return {}
281
+      }
282
+    }
283
+  },methods:{
284
+    getDay(dateString1,dateString2){
285
+      var  startDate = Date.parse(dateString1);
286
+      var  endDate = Date.parse(dateString2);
287
+      if (startDate>endDate){
288
+        return 0;
289
+      }
290
+      if (startDate==endDate){
291
+        return 1;
292
+      }
293
+      var days=(endDate - startDate)/(1*24*60*60*1000);
294
+      return  days;
295
+
296
+    },
297
+    getNowTime: function () {
298
+      let dateTime;
299
+      let yy = new Date().getFullYear();
300
+      let mm = new Date().getMonth() + 1;
301
+      let dd = new Date().getDate();
302
+      let hh = new Date().getHours();
303
+      let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
304
+          :
305
+          new Date().getMinutes();
306
+      let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
307
+          :
308
+          new Date().getSeconds();
309
+      dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss;
310
+      return dateTime
311
+    },
312
+
313
+  }
314
+}
315
+
316
+
317
+</script>
318
+
319
+
320
+<style lang="scss" scoped>
321
+.statement-print {
322
+  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
323
+  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
324
+  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
325
+  margin-bottom: 20px;
326
+  padding: 20px 10px;
327
+}
328
+
329
+.statementTitle {
330
+  font-size: 28px;
331
+  text-align: center;
332
+  font-weight: bold;
333
+  margin-bottom: 10px;
334
+}
335
+
336
+.statementTable {
337
+  width: 100%;
338
+  text-align: center;
339
+  border-collapse: collapse;
340
+  line-height: 40px;
341
+  font-size: 14px;
342
+  border-color: #000;
343
+}
344
+</style>