|
@@ -0,0 +1,216 @@
|
|
1
|
+<template>
|
|
2
|
+ <div id="statement-print" class="statement-print">
|
|
3
|
+ <div class="statementTitle">费用明细算单</div>
|
|
4
|
+ <div class="statementTable">
|
|
5
|
+ <table border="1" style="border-collapse: collapse;width: 100%;border: none;">
|
|
6
|
+ <tr>
|
|
7
|
+ <td colspan="4">医院机构名称:{{info.fixmedins_name}}</td>
|
|
8
|
+ <td colspan="4">发票号:</td>
|
|
9
|
+ </tr>
|
|
10
|
+ <tr style="border-bottom: 1px solid black;">
|
|
11
|
+ <td colspan="4" >单据编码:{{info.number}}</td>
|
|
12
|
+ <td colspan="2" >就诊时间:{{info.setl_time}}</td>
|
|
13
|
+ <td colspan="2" >金额单位:{{info.medfee_sumamt}}元</td>
|
|
14
|
+ </tr>
|
|
15
|
+ <tr>
|
|
16
|
+ <td colspan="4">姓名:{{info.patient.name}}</td>
|
|
17
|
+ <td colspan="4">身份证号:{{info.patient.id_card_no}}</td>
|
|
18
|
+ </tr>
|
|
19
|
+ <tr>
|
|
20
|
+ <td colspan="8">诊断:{{info.diagnosis}}</td>
|
|
21
|
+ </tr>
|
|
22
|
+ <tr style="border-bottom: 1px solid black;">
|
|
23
|
+ <td colspan="4" v-if="info.psn_type == '11'">人员类别:在职</td>
|
|
24
|
+ <td colspan="4" v-else-if="info.psn_type == '1101'">人员类别:职工在职</td>
|
|
25
|
+ <td colspan="4" v-else-if="info.psn_type == '1102'">人员类别:公务员在职</td>
|
|
26
|
+ <td colspan="4" v-else-if="info.psn_type == '1103'">人员类别:灵活就业人员在职</td>
|
|
27
|
+ <td colspan="4" v-else-if="info.psn_type == '1160'">人员类别:地方其他扩展人员</td>
|
|
28
|
+ <td colspan="4" v-else-if="info.psn_type == '12'">人员类别:退休人员</td>
|
|
29
|
+ <td colspan="4" v-else-if="info.psn_type == '1201'">人员类别:职工退休</td>
|
|
30
|
+ <td colspan="4" v-else-if="info.psn_type == '1202'">人员类别:公务员退休</td>
|
|
31
|
+ <td colspan="4" v-else-if="info.psn_type == '1203'">人员类别:灵活就业人员退休</td>
|
|
32
|
+ <td colspan="4" v-else-if="info.psn_type == '1260'">人员类别:地方其他扩展人员</td>
|
|
33
|
+ <td colspan="4" v-else-if="info.psn_type == '13'">人员类别:离休</td>
|
|
34
|
+ <td colspan="4" v-else-if="info.psn_type == '1300'">人员类别:离休人员</td>
|
|
35
|
+ <td colspan="4" v-else-if="info.psn_type == '1360'">人员类别:地方其他扩展人员</td>
|
|
36
|
+ <td colspan="4" v-else-if="info.psn_type == '14'">人员类别:居民(未成年)</td>
|
|
37
|
+ <td colspan="4" v-else-if="info.psn_type == '1401'">人员类别:新生儿</td>
|
|
38
|
+ <td colspan="4" v-else-if="info.psn_type == '1402'">人员类别:学龄前儿童</td>
|
|
39
|
+ <td colspan="4" v-else-if="info.psn_type == '1403'">人员类别:中小学生</td>
|
|
40
|
+ <td colspan="4" v-else-if="info.psn_type == '1404'">人员类别:大学生</td>
|
|
41
|
+ <td colspan="4" v-else-if="info.psn_type == '1405'">人员类别:未成年(未入学)</td>
|
|
42
|
+ <td colspan="4" v-else-if="info.psn_type == '15'">人员类别:居民(成年)</td>
|
|
43
|
+ <td colspan="4" v-else-if="info.psn_type == '1501'">人员类别:普通居民(成年)</td>
|
|
44
|
+ <td colspan="4" v-else-if="info.psn_type == '1560'">人员类别:地方其他扩展身份</td>
|
|
45
|
+ <td colspan="4" v-else-if="info.psn_type == '16'">人员类别:居民(老年)</td>
|
|
46
|
+ <td colspan="4" v-else></td>
|
|
47
|
+ <td colspan="4" v-if="info.insutype == '310'">险种类型:职工基本医疗保险</td>
|
|
48
|
+ <td colspan="4" v-if="info.insutype == '320'">险种类型:公务员医疗补助</td>
|
|
49
|
+ <td colspan="4" v-if="info.insutype == '330'">险种类型:大额医疗费用补助</td>
|
|
50
|
+ <td colspan="4" v-if="info.insutype == '340'">险种类型:离休人员医疗保障</td>
|
|
51
|
+ <td colspan="4" v-if="info.insutype == '390'">险种类型:城乡居民基本医疗保险</td>
|
|
52
|
+ <td colspan="4" v-if="info.insutype == '392'">险种类型:城乡居民大病医疗保险</td>
|
|
53
|
+ <td colspan="4" v-if="info.insutype == '510'">险种类型:生育保险</td>
|
|
54
|
+ <td colspan="4" v-else></td>
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+ </tr>
|
|
58
|
+ <tr style="border-bottom: 1px solid black;text-align: center;">
|
|
59
|
+ <td width="12.5%">项目</td>
|
|
60
|
+ <td width="12.5%">金额</td>
|
|
61
|
+ <td width="12.5%">项目</td>
|
|
62
|
+ <td width="12.5%">金额</td>
|
|
63
|
+ <td width="12.5%">项目</td>
|
|
64
|
+ <td width="12.5%">金额</td>
|
|
65
|
+ <td width="12.5%">项目</td>
|
|
66
|
+ <td width="12.5%">金额</td>
|
|
67
|
+ </tr>
|
|
68
|
+ <tr style="text-align: center;">
|
|
69
|
+ <td>西药费</td>
|
|
70
|
+ <td>{{info.western_medicine_cost_total}}</td>
|
|
71
|
+ <td>化验费</td>
|
|
72
|
+ <td>{{info.laboratory_cost_total}}</td>
|
|
73
|
+ <td>治疗费</td>
|
|
74
|
+ <td>{{info.treat_cost_total}}</td>
|
|
75
|
+ <td>处置费</td>
|
|
76
|
+ <td></td>
|
|
77
|
+ </tr>
|
|
78
|
+ <tr style="text-align: center;">
|
|
79
|
+ <td>中成药</td>
|
|
80
|
+ <td>{{info.chinese_traditional_medicine_cost_total}}</td>
|
|
81
|
+ <td>诊疗费</td>
|
|
82
|
+ <td></td>
|
|
83
|
+ <td>材料费</td>
|
|
84
|
+ <td>{{info.material_cost_total}}</td>
|
|
85
|
+ <td>护理费</td>
|
|
86
|
+ <td></td>
|
|
87
|
+ </tr>
|
|
88
|
+ <tr style="text-align: center;">
|
|
89
|
+ <td>注射费</td>
|
|
90
|
+ <td></td>
|
|
91
|
+ <td>检查费</td>
|
|
92
|
+ <td>{{info.check_cost_total}}</td>
|
|
93
|
+ <td>输氧费</td>
|
|
94
|
+ <td></td>
|
|
95
|
+ <td>其他</td>
|
|
96
|
+ <td>{{info.other_cost_total}}</td>
|
|
97
|
+ </tr>
|
|
98
|
+ <tr style="border-bottom: 1px solid black; font: 16px bolder;">
|
|
99
|
+ <td colspan="8">合计:{{info.medfee_sumamt}}</td>
|
|
100
|
+ </tr>
|
|
101
|
+ <tr>
|
|
102
|
+ <td colspan="8">医保基金支付金额:{{info.fund_pay_sumamt}}</td>
|
|
103
|
+ </tr>
|
|
104
|
+ <tr style="border-bottom: 1px solid black;">
|
|
105
|
+ <td colspan="8">个人现金支付金额:{{info.psn_cash_pay}}</td>
|
|
106
|
+ </tr>
|
|
107
|
+ <tr>
|
|
108
|
+ <td colspan="2" >家属或参保人签名:</td>
|
|
109
|
+ <td colspan="2" >收费员签名:</td>
|
|
110
|
+ <td colspan="2" >医院盖章:</td>
|
|
111
|
+ </tr>
|
|
112
|
+ <tr>
|
|
113
|
+ <td colspan="8">医师签名:</td>
|
|
114
|
+ </tr>
|
|
115
|
+ </table>
|
|
116
|
+ </div>
|
|
117
|
+ </div>
|
|
118
|
+</template>
|
|
119
|
+<script>
|
|
120
|
+import { uParseTime } from '@/utils/tools'
|
|
121
|
+
|
|
122
|
+export default {
|
|
123
|
+ data() {
|
|
124
|
+ return {
|
|
125
|
+ list: {},
|
|
126
|
+ prescription: [],
|
|
127
|
+ patient: {},
|
|
128
|
+ orgname: '',
|
|
129
|
+
|
|
130
|
+ result: {},
|
|
131
|
+ org_code: '',
|
|
132
|
+ patient_name: '',
|
|
133
|
+ doctor_code: '',
|
|
134
|
+ doctor_name: '',
|
|
135
|
+
|
|
136
|
+ name_arr: [],
|
|
137
|
+ spec_arr: [],
|
|
138
|
+ count_arr: [],
|
|
139
|
+ price_arr: [],
|
|
140
|
+ total_arr: []
|
|
141
|
+
|
|
142
|
+ }
|
|
143
|
+ },
|
|
144
|
+ props: {
|
|
145
|
+ paramsObj: Object,
|
|
146
|
+ info: {
|
|
147
|
+ type: Object,
|
|
148
|
+ default: function() {
|
|
149
|
+ return {}
|
|
150
|
+ }
|
|
151
|
+ },
|
|
152
|
+ balanceAccounts: Object
|
|
153
|
+ },
|
|
154
|
+ methods: {
|
|
155
|
+ getDay(dateString1,dateString2){
|
|
156
|
+ var startDate = Date.parse(dateString1);
|
|
157
|
+ var endDate = Date.parse(dateString2);
|
|
158
|
+ if (startDate>endDate){
|
|
159
|
+ return 0;
|
|
160
|
+ }
|
|
161
|
+ if (startDate==endDate){
|
|
162
|
+ return 1;
|
|
163
|
+ }
|
|
164
|
+ var days=(endDate - startDate)/(1*24*60*60*1000);
|
|
165
|
+ return days;
|
|
166
|
+ },
|
|
167
|
+ getTime(value, temp) {
|
|
168
|
+ if (value != undefined) {
|
|
169
|
+ return uParseTime(value, temp)
|
|
170
|
+ }
|
|
171
|
+ return ''
|
|
172
|
+ }
|
|
173
|
+ },
|
|
174
|
+ mounted() {
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+ },
|
|
178
|
+ watch: {
|
|
179
|
+ paramsObj: {//深度监听,可监听到对象、数组的变化
|
|
180
|
+ handler(val, oldVal) {
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+ },
|
|
184
|
+ deep: true
|
|
185
|
+ }
|
|
186
|
+ }
|
|
187
|
+}
|
|
188
|
+</script>
|
|
189
|
+
|
|
190
|
+<style lang="scss" scoped>
|
|
191
|
+.statement-print {
|
|
192
|
+ -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
|
|
193
|
+ -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
|
|
194
|
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
|
|
195
|
+ margin-bottom: 20px;
|
|
196
|
+ padding: 20px 10px;
|
|
197
|
+}
|
|
198
|
+.statementTitle {
|
|
199
|
+ font-size: 28px;
|
|
200
|
+ text-align: center;
|
|
201
|
+ font-weight: bold;
|
|
202
|
+ margin-bottom: 10px;
|
|
203
|
+}
|
|
204
|
+.statementTable {
|
|
205
|
+ width: 100%;
|
|
206
|
+ font-size: 14px;
|
|
207
|
+ word-wrap: break-word;
|
|
208
|
+ word-break: break-all;
|
|
209
|
+ table tr td{
|
|
210
|
+ padding: 5px;
|
|
211
|
+ line-height: 30px;
|
|
212
|
+ border: none;
|
|
213
|
+ }
|
|
214
|
+}
|
|
215
|
+
|
|
216
|
+</style>
|