Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 10 months ago
parent
commit
1905fc4fb8

+ 12 - 0
src/api/his/his_tools.js View File

@@ -75,5 +75,17 @@ export function exportMdtrtCertType(params) {
75 75
 }
76 76
 
77 77
 
78
+export function getBatchPrivateExpenses(params) {
79
+  return request({
80
+    url: '/api/batchsettle/get',
81
+    method: 'get',
82
+    params: params
83
+  })
84
+}
85
+
86
+
87
+
88
+
89
+
78 90
 
79 91
 

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

@@ -1772,10 +1772,10 @@ export default {
1772 1772
     registerCancel() {
1773 1773
       this.$refs.register9504.hide()
1774 1774
 
1775
-    },CheckHISPatient(){
1775
+    },CheckHISPatient(record_date,id){
1776 1776
       let params ={
1777
-        record_date:this.record_date,
1778
-        patient_id:this.patientInfo.id
1777
+        record_date:record_date,
1778
+        patient_id:id
1779 1779
       }
1780 1780
       checkHISPatient(params).then(response => {
1781 1781
         if (response.data.state == 0) {
@@ -1784,7 +1784,6 @@ export default {
1784 1784
           return false
1785 1785
         } else {
1786 1786
           if(response.data.data.status == 1){
1787
-
1788 1787
             this.$refs.call_prescription.show(this.patientInfo.name, this.patientInfo.id,  this.record_date, this.record_date,response.data.data.ps,response.data.data.his_patient_id,response.data.data.patient_id)
1789 1788
           }
1790 1789
         }
@@ -1812,7 +1811,7 @@ export default {
1812 1811
             this.$refs.register9504.hide()
1813 1812
             this.loadingone = false
1814 1813
 
1815
-            this.CheckHISPatient()
1814
+            this.CheckHISPatient(that.record_date,forms.id)
1816 1815
 
1817 1816
           }
1818 1817
         })
@@ -1845,7 +1844,7 @@ export default {
1845 1844
                   that.changeRadio(1)
1846 1845
                   that.$refs.register9504.hide()
1847 1846
                   that.$message({ message: '挂号成功', type: 'success' })
1848
-                  that.CheckHISPatient()
1847
+                  that.CheckHISPatient(that.record_date,forms.id)
1849 1848
 
1850 1849
                 }
1851 1850
               }

+ 155 - 3
src/xt_pages/outpatientTool/components/gatherStatistics.vue View File

@@ -48,8 +48,9 @@
48 48
         </el-date-picker>
49 49
         <el-button type="primary" size="small" @click="toPrint">打印</el-button>
50 50
         <el-button type="primary" size="small" @click="toPrintInvoice"
51
-          >发票打印</el-button
52
-        >
51
+          >发票打印</el-button>
52
+        <el-button type="primary" size="small" @click="toJumpSettle"
53
+        >汇总结算单</el-button>
53 54
       </div>
54 55
       <div></div>
55 56
     </div>
@@ -167,17 +168,34 @@
167 168
         <div>其他:{{ getOtherCostTotal() }}</div>
168 169
       </div>
169 170
     </div>
171
+    <el-dialog
172
+      class="centerDialog"
173
+      width="1200px"
174
+      title="打印"
175
+      :visible.sync="settlementVisible"
176
+    >
177
+      <newSettlePrint
178
+        :info="info"
179
+      >
180
+      </newSettlePrint>
181
+
182
+    </el-dialog>
170 183
   </div>
171 184
 </template>
172 185
 
173 186
 
174 187
 <script>
175 188
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
176
-import { getGatherDetailList } from "@/api/his/his_tools";
189
+import { getGatherDetailList,getBatchPrivateExpenses } from "@/api/his/his_tools";
177 190
 import { uParseTime } from "@/utils/tools";
191
+import Print9919 from './print9919.vue'
192
+import newSettlePrint from './newSettlePrint.vue'
193
+
178 194
 const moment = require("moment");
179 195
 export default {
180 196
   components: {
197
+    Print9919,
198
+    newSettlePrint,
181 199
     BreadCrumb,
182 200
   },
183 201
   props: {
@@ -189,7 +207,9 @@ export default {
189 207
 
190 208
   data() {
191 209
     return {
210
+      settlementVisible:false,
192 211
       detail_loading: false,
212
+      info:{},
193 213
       tempArr: [],
194 214
       pos: 0,
195 215
       search_input: "",
@@ -811,6 +831,138 @@ export default {
811 831
       } else {
812 832
         return uParseTime(time, "{y}-{m}-{d}");
813 833
       }
834
+    },toJumpSettle(){
835
+      let params = {
836
+        start_time:this.start_time,
837
+        end_time:this.end_time,
838
+        patient_id:this.patient_id,
839
+        admin_user_id:this.$store.getters.xt_user.user.id,
840
+      }
841
+      getBatchPrivateExpenses(params).then((response) => {
842
+        if (response.data.state == 0) {
843
+          // this.$message.error(response.data.msg)
844
+          return false
845
+        } else {
846
+          var that = this
847
+          that.info = response.data.data.info
848
+          that.p_admin = response.data.data.printor_admin
849
+          that.charge_admin = response.data.data.charge_admin
850
+          that.info['p_admin'] = that.p_admin
851
+          that.info['charge_admin'] = that.charge_admin
852
+          that.info['patient'] = response.data.data.patient
853
+          that.info['date'] = response.data.data.date
854
+          that.info['number'] = response.data.data.number
855
+          that.info['order_infos'] = response.data.data.order_infos
856
+          that.info['diagnosis'] = response.data.data.diagnosis
857
+          if(that.org_id == 10191){
858
+            that.info['org_code'] = "H36030201006"
859
+            that.info['org_name'] = "萍乡欣瑞怡康血液透析中心"
860
+          }else{
861
+            that.info['org_code'] =response.data.data.org_code
862
+            that.info['org_name'] = response.data.data.org_name
863
+          }
864
+          that.info['bed_cost_total'] = response.data.data.bedCostTotal
865
+          that.info['bed_cost_self_total'] =
866
+            response.data.data.bedCostSelfTotal
867
+          that.info['bed_cost_part_self_total'] =
868
+            response.data.data.bedCostPartSelfTotal
869
+
870
+          that.info['operation_cost_total'] =
871
+            response.data.data.operationCostTotal
872
+          that.info['operation_cost_self_total'] =
873
+            response.data.data.operationCostSelfTotal
874
+          that.info['operation_cost_part_self_total'] =
875
+            response.data.data.operationCostPartSelfTotal
876
+
877
+          that.info['other_cost_total'] = response.data.data.otherCostTotal
878
+          that.info['other_cost_self_total'] =
879
+            response.data.data.otherCostSelfTotal
880
+          that.info['other_cost_part_self_total'] =
881
+            response.data.data.otherCostPartSelfTotal
882
+
883
+          that.info['material_cost_total'] =
884
+            response.data.data.materialCostTotal
885
+          that.info['material_cost_self_total'] =
886
+            response.data.data.materialCostSelfTotal
887
+          that.info['material_cost_part_self_total'] =
888
+            response.data.data.materialCostPartSelfTotal
889
+
890
+          that.info['western_medicine_cost_total'] =
891
+            response.data.data.westernMedicineCostTotal
892
+          that.info['western_medicine_cost_self_total'] =
893
+            response.data.data.westernMedicineCostSelfTotal
894
+          that.info['western_medicine_cost_part_self_total'] =
895
+            response.data.data.westernMedicineCostPartSelfTotal
896
+          that.info['chinese_traditional_medicine_cost_total'] =
897
+            response.data.data.chineseTraditionalMedicineCostTotal
898
+          that.info['chinese_traditional_medicine_cost_self_total'] =
899
+            response.data.data.chineseTraditionalMedicineCostSelfTotal
900
+          that.info['chinese_traditional_medicine_cost_part_self_total'] =
901
+            response.data.data.chineseTraditionalMedicineCostPartSelfTotal
902
+          that.info['check_cost_total'] = response.data.data.checkCostTotal
903
+          that.info['check_cost_self_total'] =
904
+            response.data.data.checkCostSelfTotal
905
+          that.info['check_cost_part_self_total'] =
906
+            response.data.data.checkCostPartSelfTotal
907
+          that.info['laboratory_cost_total'] =
908
+            response.data.data.laboratoryCostTotal
909
+          that.info['laboratory_cost_self_total'] =
910
+            response.data.data.laboratoryCostSelfTotal
911
+          that.info['laboratory_cost_part_self_total'] =
912
+            response.data.data.laboratoryCostPartSelfTotal
913
+          that.info['treat_cost_total'] = response.data.data.treatCostTotal
914
+          that.info['treat_cost_self_total'] =
915
+            response.data.data.treatCostSelfTotal
916
+          that.info['treat_cost_part_self_total'] =
917
+            response.data.data.treatCostPartSelfTotal
918
+          that.info['date'] = response.data.data.date
919
+          that.info['number'] = response.data.data.number
920
+          that.info['order_infos'] = response.data.data.order_infos
921
+          that.info['bedInscpTotal'] =
922
+            response.data.data.bedInscpTotal
923
+          that.info['bedSelfTotal'] =
924
+            response.data.data.bedSelfTotal
925
+          that.info['operationInscpTotal'] =
926
+            response.data.data.operationInscpTotal
927
+          that.info['operationSelfTotal'] =
928
+            response.data.data.operationSelfTotal
929
+          that.info['checkInscpTotal'] =
930
+            response.data.data.checkInscpTotal
931
+          that.info['checkSelfTotal'] =
932
+            response.data.data.checkSelfTotal
933
+          that.info['treatInscpTotal'] =
934
+            response.data.data.treatInscpTotal
935
+          that.info['treatSelfTotal'] =
936
+            response.data.data.treatSelfTotal
937
+          that.info['laboratoryInscpTotal'] =
938
+            response.data.data.laboratoryInscpTotal
939
+          that.info['laboratorySelfTotal'] =
940
+            response.data.data.laboratorySelfTotal
941
+          that.info['westernMedicineInscpTotal'] =
942
+            response.data.data.westernMedicineInscpTotal
943
+          that.info['westernMedicineSelfTotal'] =
944
+            response.data.data.westernMedicineSelfTotal
945
+          that.info['materialInscpTotal'] =
946
+            response.data.data.materialInscpTotal
947
+          that.info['materialSelfTotal'] =
948
+            response.data.data.materialSelfTotal
949
+          that.info['chineseTraditionalInscpTotal'] =
950
+            response.data.data.chineseTraditionalInscpTotal
951
+          that.info['chineseTraditionalSelfTotal'] =
952
+            response.data.data.chineseTraditionalSelfTotal
953
+          that.info['otherInscpTotal'] =
954
+            response.data.data.otherInscpTotal
955
+          that.info['otherSelfTotal'] =
956
+            response.data.data.otherSelfTotal
957
+          that.info['num'] =
958
+            response.data.data.num
959
+          that.info['f_time'] =
960
+            response.data.data.f_time
961
+          that.info['l_time'] =
962
+            response.data.data.l_time
963
+          that.settlementVisible = true
964
+        }
965
+      })
814 966
     },
815 967
     toPrint() {
816 968
       this.$router.push({

File diff suppressed because it is too large
+ 1902 - 0
src/xt_pages/outpatientTool/components/newSettlePrint.vue


+ 408 - 0
src/xt_pages/outpatientTool/components/print9919.vue View File

@@ -0,0 +1,408 @@
1
+<template>
2
+  <div id="statement-print" class="statement-print">
3
+
4
+    <div class="statementTitle">广东省社会医疗保险医疗费用结算单</div>
5
+    <table class="statementTable" border="1">
6
+      <tr>
7
+        <td width="80">机构名称</td>
8
+        <td colspan="4">{{info.org_name}}</td>
9
+        <td width="80">机构编码</td>
10
+        <td colspan="4">{{info.org_code}}</td>
11
+        <td width="100">医保结算级别</td>
12
+        <td width="100" v-if="info.hosp_lv == '1'">三级特等</td>
13
+        <td width="100" v-else-if="info.hosp_lv == '2'">三级甲等</td>
14
+        <td width="100" v-else-if="info.hosp_lv == '3'">三级乙等</td>
15
+        <td width="100" v-else-if="info.hosp_lv == '4'">三级丙等</td>
16
+        <td width="100" v-else-if="info.hosp_lv == '5'">二级甲等</td>
17
+        <td width="100" v-else-if="info.hosp_lv == '6'">二级乙等</td>
18
+        <td width="100" v-else-if="info.hosp_lv == '7'">二级丙等</td>
19
+        <td width="100" v-else-if="info.hosp_lv == '8'">一级甲等</td>
20
+        <td width="100" v-else-if="info.hosp_lv == '9'">一级乙等</td>
21
+        <td width="100" v-else-if="info.hosp_lv == '10'">一级丙等</td>
22
+        <td width="100" v-else-if="info.hosp_lv == '11'">无等级</td>
23
+        <td width="100" v-else></td>
24
+
25
+      </tr>
26
+      <tr>
27
+        <td width="70">就医登记号</td>
28
+        <td colspan="7">{{info.psn_no}}</td>
29
+        <td width="50">门诊号</td>
30
+        <td colspan="3">{{info.number}}</td>
31
+      </tr>
32
+      <tr>
33
+        <td width="80">姓名</td>
34
+        <td width="80">{{info.psn_name}}</td>
35
+        <td width="80">性别</td>
36
+        <td width="50" v-if="info.gend == '1'">男</td>
37
+        <td width="50" v-if="info.gend == '2'">女</td>
38
+
39
+        <td width="80">出生日期</td>
40
+        <td width="100">{{getBirth(info.certno)}}</td>
41
+        <td width="90">个人电脑号</td>
42
+        <td width="110"></td>
43
+        <td width="80">人员类别</td>
44
+        <td colspan="3" v-if="info.psn_type == '11'">在职</td>
45
+        <td colspan="3" v-else-if="info.psn_type == '1101'">职工在职</td>
46
+        <td colspan="3" v-else-if="info.psn_type == '1102'">公务员在职</td>
47
+        <td colspan="3" v-else-if="info.psn_type == '1103'">灵活就业人员在职</td>
48
+        <td colspan="3" v-else-if="info.psn_type == '1160'">地方其他扩展人员</td>
49
+
50
+
51
+        <td colspan="3" v-else-if="info.psn_type == '12'">退休人员</td>
52
+        <td colspan="3" v-else-if="info.psn_type == '1201'">职工退休</td>
53
+        <td colspan="3" v-else-if="info.psn_type == '1202'">公务员退休</td>
54
+        <td colspan="3" v-else-if="info.psn_type == '1203'">灵活就业人员退休</td>
55
+        <td colspan="3" v-else-if="info.psn_type == '1260'">地方其他扩展人员</td>
56
+
57
+
58
+        <td colspan="3" v-else-if="info.psn_type == '13'">离休</td>
59
+        <td colspan="3" v-else-if="info.psn_type == '1300'">离休人员</td>
60
+        <td colspan="3" v-else-if="info.psn_type == '1360'">地方其他扩展人员</td>
61
+
62
+        <td colspan="3" v-else-if="info.psn_type == '14'">居民(未成年)</td>
63
+        <td colspan="3" v-else-if="info.psn_type == '1401'">新生儿</td>
64
+        <td colspan="3" v-else-if="info.psn_type == '1402'">学龄前儿童</td>
65
+        <td colspan="3" v-else-if="info.psn_type == '1403'">中小学生</td>
66
+        <td colspan="3" v-else-if="info.psn_type == '1404'">大学生</td>
67
+        <td colspan="3" v-else-if="info.psn_type == '1405'">未成年(未入学)</td>
68
+
69
+
70
+        <td colspan="3" v-else-if="info.psn_type == '15'">居民(成年)</td>
71
+        <td colspan="3" v-else-if="info.psn_type == '1501'">普通居民(成年)</td>
72
+        <td colspan="3" v-else-if="info.psn_type == '1560'">地方其他扩展身份</td>
73
+
74
+        <td colspan="3" v-else-if="info.psn_type == '16'">居民(老年)</td>
75
+        <td colspan="4" v-else></td>
76
+
77
+
78
+      </tr>
79
+      <tr>
80
+        <td>单位名称</td>
81
+        <td colspan="5">{{info.emp_name}}</td>
82
+        <td width="80">联系电话</td>
83
+        <td width="110">{{info.patient.phone}}</td>
84
+        <td width="80">身份证号</td>
85
+        <td colspan="3">{{info.certno}}</td>
86
+      </tr>
87
+      <tr v-if="this.$store.getters.xt_user.org_id != 10387">
88
+        <td>住院号</td>
89
+        <td>{{info.number}}</td>
90
+        <td>科别</td>
91
+        <td width="100"></td>
92
+        <td>床号</td>
93
+        <td></td>
94
+        <td>入院日期</td>
95
+        <td>{{info.f_time}}</td>
96
+        <td>出院日期</td>
97
+        <td width="100">{{info.l_time}}</td>
98
+        <td>住院天数</td>
99
+        <td>{{info.num}}</td>
100
+
101
+      </tr>
102
+      <tr>
103
+        <td>险种</td>
104
+        <td colspan="2" v-if="info.insutype == '310'">职工基本医疗保险</td>
105
+        <td colspan="2" v-if="info.insutype == '320'">公务员医疗补助</td>
106
+        <td colspan="2" v-if="info.insutype == '330'">大额医疗费用补助</td>
107
+        <td colspan="2" v-if="info.insutype == '340'">离休人员医疗保障</td>
108
+        <td colspan="2" v-if="info.insutype == '390'">城乡居民基本医疗保险</td>
109
+        <td colspan="2" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
110
+        <td colspan="2" v-if="info.insutype == '510'">生育保险</td>
111
+
112
+        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217">入院第一诊断</td>
113
+        <td v-else>病种名称</td>
114
+        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217" colspan="3">{{info.dise_name}}</td>
115
+        <td v-else colspan="3">{{'慢性肾功能衰竭'}}</td>
116
+        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217">出院第一诊断</td>
117
+        <td v-else>病种编码</td>
118
+        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217" colspan="6">{{info.dise_name}}</td>
119
+        <td v-else colspan="6">{{'M07800'}}</td>
120
+      </tr>
121
+      <tr>
122
+        <td>业务类别</td>
123
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '11'">普通门诊</td>
124
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '12'">门诊挂号</td>
125
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '13'">急诊</td>
126
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '14'">门诊特殊病</td>
127
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '15'">门诊统筹</td>
128
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '16'">门诊慢性病</td>
129
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '21'">普通住院</td>
130
+
131
+        <td>结算时间</td>
132
+        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
133
+      </tr>
134
+      <tr>
135
+        <td colspan="12" style="text-align:left;padding-left:10px;">
136
+          本次就医:总费用{{info.medfee_sumamt}}元,基金支付{{info.fund_pay_sumamt}}元,个人支付{{info.psn_cash_pay}}元。
137
+          (起付线 {{info.act_pay_dedc}}元, 先自付 {{info.preselfpay_amt}}元, 段内自付 {{(info.psn_cash_pay - info.preselfpay_amt).toFixed(2)}} )
138
+        </td>
139
+      </tr>
140
+      <tr>
141
+        <td>费用名称</td>
142
+        <td colspan="2">总费用</td>
143
+        <td>自费</td>
144
+        <td colspan="2">部分项目自付</td>
145
+        <td>费用名称</td>
146
+        <td colspan="2">总费用</td>
147
+        <td>自费</td>
148
+        <td colspan="2">部分项目自付</td>
149
+      </tr>
150
+      <tr>
151
+        <td>床位费</td>
152
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_total}}</td>
153
+        <td style="text-align:right;padding-right:10px;">{{info.bed_cost_self_total}}</td>
154
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_part_self_total}}</td>
155
+        <td>西成药</td>
156
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_total}}</td>
157
+        <td style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_self_total}}</td>
158
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_part_self_total}}</td>
159
+      </tr>
160
+      <tr>
161
+        <td>中药费</td>
162
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
163
+        <td style="text-align:right;padding-right:10px;">0</td>
164
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
165
+        <td>中成药</td>
166
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_total}}
167
+        </td>
168
+        <td style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_self_total}}</td>
169
+        <td colspan="2" style="text-align:right;padding-right:10px;">
170
+          {{info.chinese_traditional_medicine_cost_part_self_total}}
171
+        </td>
172
+      </tr>
173
+      <tr>
174
+        <td>中草药</td>
175
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
176
+        <td style="text-align:right;padding-right:10px;">0</td>
177
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
178
+        <td>检查费</td>
179
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.check_cost_total}}</td>
180
+        <td style="text-align:right;padding-right:10px;">{{info.check_cost_self_total}}</td>
181
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.check_cost_part_self_total}}</td>
182
+      </tr>
183
+      <tr>
184
+        <td>治疗费</td>
185
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.treat_cost_total}}</td>
186
+        <td style="text-align:right;padding-right:10px;">{{info.treat_cost_self_total}}</td>
187
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.treat_cost_part_self_total}}</td>
188
+        <td>放射费</td>
189
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
190
+        <td style="text-align:right;padding-right:10px;">0</td>
191
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
192
+      </tr>
193
+      <tr>
194
+        <td>手术费</td>
195
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.operation_cost_total}}</td>
196
+        <td style="text-align:right;padding-right:10px;">{{info.operation_cost_self_total}}</td>
197
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.operation_cost_part_self_total}}</td>
198
+        <td>化验费</td>
199
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.laboratory_cost_total}}</td>
200
+        <td style="text-align:right;padding-right:10px;">{{info.laboratory_cost_self_total}}</td>
201
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.laboratory_cost_part_self_total}}</td>
202
+      </tr>
203
+      <tr>
204
+        <td>输血费</td>
205
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
206
+        <td style="text-align:right;padding-right:10px;">0</td>
207
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
208
+        <td>输氧费</td>
209
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
210
+        <td style="text-align:right;padding-right:10px;">0</td>
211
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
212
+      </tr>
213
+      <tr>
214
+        <td>其他</td>
215
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.other_cost_total}}</td>
216
+        <td style="text-align:right;padding-right:10px;">{{info.other_cost_self_total}}</td>
217
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.other_cost_part_self_total}}</td>
218
+        <td>麻醉费</td>
219
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
220
+        <td style="text-align:right;padding-right:10px;">0</td>
221
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
222
+      </tr>
223
+      <tr>
224
+        <td>材料费</td>
225
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.material_cost_total}}</td>
226
+        <td style="text-align:right;padding-right:10px;">{{info.material_cost_self_total}}</td>
227
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.material_cost_part_self_total}}</td>
228
+        <td>特殊检查费</td>
229
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
230
+        <td style="text-align:right;padding-right:10px;">0</td>
231
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
232
+      </tr>
233
+      <tr>
234
+        <td>特殊治疗费</td>
235
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
236
+        <td style="text-align:right;padding-right:10px;">0</td>
237
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
238
+        <td style="text-align:right;padding-right:10px;"></td>
239
+        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
240
+        <td style="text-align:right;padding-right:10px;"></td>
241
+        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
242
+      </tr>
243
+      <tr>
244
+        <td>合计</td>
245
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_total) +
246
+          parseFloat(info.operation_cost_total) + parseFloat(info.other_cost_total) +
247
+          parseFloat(info.material_cost_total) + parseFloat(info.western_medicine_cost_total) +
248
+          parseFloat(info.chinese_traditional_medicine_cost_total) + parseFloat(info.check_cost_total) +
249
+          parseFloat(info.laboratory_cost_total) + parseFloat(info.treat_cost_total)).toFixed(2) }}
250
+        </td>
251
+        <td style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_self_total )+
252
+          parseFloat(info.operation_cost_self_total) + parseFloat(info.other_cost_self_total) +
253
+          parseFloat(info.material_cost_self_total) + parseFloat(info.western_medicine_cost_self_total) +
254
+          parseFloat(info.chinese_traditional_medicine_cost_self_total) + parseFloat(info.check_cost_self_total) +
255
+          parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total)).toFixed(2)}}
256
+        </td>
257
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_part_self_total) +
258
+          parseFloat(info.operation_cost_part_self_total) + parseFloat(info.other_cost_part_self_total) +
259
+          parseFloat(info.material_cost_part_self_total) + parseFloat(info.western_medicine_cost_part_self_total) +
260
+          parseFloat(info.chinese_traditional_medicine_cost_part_self_total) +
261
+          parseFloat(info.check_cost_part_self_total) + parseFloat(info.laboratory_cost_part_self_total) +
262
+          parseFloat(info.treat_cost_part_self_total)).toFixed(2)}}
263
+        </td>
264
+
265
+        <td>报销比例</td>
266
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.pool_prop_selfpay}}</td>
267
+        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
268
+        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
269
+      </tr>
270
+
271
+      <tr>
272
+        <td colspan="3" style="text-align:left;padding-left:10px;">基本医疗保险统筹基金支付</td>
273
+        <td colspan="3">{{info.hifp_pay}}</td>
274
+        <td colspan="3" style="text-align:left;padding-left:10px;">大额基金支付</td>
275
+        <td colspan="3">{{info.hifob_pay}}</td>
276
+      </tr>
277
+      <tr>
278
+        <td colspan="3" style="text-align:left;padding-left:10px;">大病基金支付</td>
279
+        <td colspan="3">{{info.hifmi_pay}}</td>
280
+        <td colspan="3" style="text-align:left;padding-left:10px;">补充保险基金支付</td>
281
+        <td colspan="3">{{info.hifes_pay}}</td>
282
+      </tr>
283
+      <tr>
284
+        <td colspan="3" style="text-align:left;padding-left:10px;">医疗救助基金支付</td>
285
+        <td colspan="3">{{info.maf_pay}}</td>
286
+        <td colspan="3" style="text-align:left;padding-left:10px;">公务员基金支付</td>
287
+        <td colspan="3">{{info.cvlserv_pay}}</td>
288
+      </tr>
289
+      <tr>
290
+        <td colspan="3" style="text-align:left;padding-left:10px;">其他基金支付</td>
291
+        <td colspan="3">{{info.oth_pay}}</td>
292
+        <td colspan="3" style="text-align:left;padding-left:10px;">个人账户支付</td>
293
+        <td colspan="3">{{info.acct_pay}}</td>
294
+      </tr>
295
+      <tr>
296
+        <td>收款人:</td>
297
+        <td colspan="2">{{info.charge_admin.user_name}}</td>
298
+        <td>审核人:</td>
299
+        <td colspan="2" v-if="this.$store.getters.xt_user.org_id == 10106">{{'梅晓辉'}}</td>
300
+        <td colspan="2" v-if="this.$store.getters.xt_user.org_id != 10106">{{info.p_admin.user_name}}</td>
301
+
302
+        <td>制单人:</td>
303
+        <td colspan="2">{{info.p_admin.user_name}}</td>
304
+        <td>打印日期</td>
305
+        <td colspan="2">{{getNowTime()}}</td>
306
+      </tr>
307
+      <tr>
308
+        <td colspan="12" style="text-align:left;padding-left:10px;line-height:20px;">
309
+          注: 1、部分项目自付金额是指基本医疗保险范围内的项目需参保人先按规定比例自付的金额。<br/>
310
+          &ensp;&ensp;&ensp;2、此表由医院打印。<br/>
311
+          &ensp;&ensp;&ensp;3、此表一式两份,医院、参保人各一份。
312
+        </td>
313
+      </tr>
314
+      <tr>
315
+        <td colspan="12" style="text-align:left;padding-left:10px;">
316
+          病人家属签字:
317
+        </td>
318
+      </tr>
319
+    </table>
320
+  </div>
321
+</template>
322
+<script>
323
+export default {
324
+  props: {
325
+    info: {
326
+      type: Object,
327
+      default: function() {
328
+        return {}
329
+      }
330
+    }, p_admin: {
331
+      type: Object,
332
+      default: function() {
333
+        return {}
334
+      }
335
+    }, charge_admin: {
336
+      type: Object,
337
+      default: function() {
338
+        return {}
339
+      }
340
+    }
341
+  },methods:{
342
+    getBirth(idNo){
343
+      var year = idNo.substring(6, 10);
344
+      var month = idNo.substring(10, 12);
345
+      var day = idNo.substring(12, 14);
346
+      return  year + '-' + month + '-' + day;
347
+    },
348
+    getDay(dateString1,dateString2){
349
+      var  startDate = Date.parse(dateString1);
350
+      var  endDate = Date.parse(dateString2);
351
+      if (startDate>endDate){
352
+        return 0;
353
+      }
354
+      if (startDate==endDate){
355
+        return 1;
356
+      }
357
+      var days=(endDate - startDate)/(1*24*60*60*1000);
358
+      return  days;
359
+
360
+    },
361
+    getNowTime: function () {
362
+      let dateTime;
363
+      let yy = new Date().getFullYear();
364
+      let mm = new Date().getMonth() + 1;
365
+      let dd = new Date().getDate();
366
+      let hh = new Date().getHours();
367
+      let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
368
+        :
369
+        new Date().getMinutes();
370
+      let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
371
+        :
372
+        new Date().getSeconds();
373
+      dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss;
374
+      return dateTime
375
+    },
376
+
377
+  }
378
+}
379
+
380
+
381
+</script>
382
+
383
+
384
+<style lang="scss" scoped>
385
+.statement-print {
386
+  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
387
+  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
388
+  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
389
+  margin-bottom: 20px;
390
+  padding: 20px 10px;
391
+}
392
+
393
+.statementTitle {
394
+  font-size: 28px;
395
+  text-align: center;
396
+  font-weight: bold;
397
+  margin-bottom: 10px;
398
+}
399
+
400
+.statementTable {
401
+  width: 100%;
402
+  text-align: center;
403
+  border-collapse: collapse;
404
+  line-height: 40px;
405
+  font-size: 14px;
406
+  border-color: #000;
407
+}
408
+</style>