|
@@ -2,31 +2,32 @@
|
2
|
2
|
<div>
|
3
|
3
|
<div id='prescription-print' class="prescription-print"
|
4
|
4
|
style="position: relative;">
|
|
5
|
+ <div v-for="(info,index) in infos">
|
5
|
6
|
<img style="width:100%;height:80px" v-if="$store.getters.xt_user.org_id == 10138 || $store.getters.xt_user.org_id == 0 " src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">
|
6
|
7
|
<img style="width:100%;height:80px" v-if="$store.getters.xt_user.org_id==10278" src="https://kuyi.shengws.com/beierlog.png" alt="">
|
7
|
8
|
<div class="printTitle" style="position: absolute;left: 40%;top: 50px;">门诊收费清单</div>
|
8
|
9
|
<div style="display:flex;">
|
9
|
10
|
<div>单据号:<span
|
10
|
|
- style="display:inline-block;width:200px;">{{info[0].order.number ? info[0].order.number : ''}}</span>
|
|
11
|
+ style="display:inline-block;width:200px;">{{info.order.number ? info.order.number : ''}}</span>
|
11
|
12
|
</div>
|
12
|
|
- <div>透析号:<span style="display:inline-block;width:200px;">{{info[0].patient.dialysis_no ? info[0].patient.dialysis_no : ''}}</span>
|
|
13
|
+ <div>透析号:<span style="display:inline-block;width:200px;">{{info.patient.dialysis_no ? info.patient.dialysis_no : ''}}</span>
|
13
|
14
|
</div>
|
14
|
15
|
<div style="margin-left:2px;">电脑号:<span
|
15
|
|
- style="display:inline-block;">{{info[0].his.psn_no ? info[0].his.psn_no : ''}}</span></div>
|
|
16
|
+ style="display:inline-block;">{{info.his.psn_no ? info.his.psn_no : ''}}</span></div>
|
16
|
17
|
</div>
|
17
|
18
|
<div style="display:flex;justify-content: space-between;">
|
18
|
19
|
<div style="display:flex;">
|
19
|
|
- <div>姓名:<span style="display:inline-block;width:50px;">{{info[0].patient.name ? info[0].patient.name.indexOf('(') > -1 ? info[0].patient.name.substring(0,info[0].patient.name.indexOf('(')) : info[0].patient.name : ''}}</span>
|
|
20
|
+ <div>姓名:<span style="display:inline-block;width:50px;">{{info.patient.name ? info.patient.name.indexOf('(') > -1 ? info.patient.name.substring(0,info.patient.name.indexOf('(')) : info.patient.name : ''}}</span>
|
20
|
21
|
</div>
|
21
|
22
|
<div>性别:<span
|
22
|
|
- style="display:inline-block;width:30px;">{{info[0].patient.gender == '1' ? '男' : '女'}}</span>
|
|
23
|
+ style="display:inline-block;width:30px;">{{info.patient.gender == '1' ? '男' : '女'}}</span>
|
23
|
24
|
</div>
|
24
|
25
|
<div>年龄:<span
|
25
|
|
- style="display:inline-block;width:50px;">{{getAge(info[0].patient)}}岁</span>
|
|
26
|
+ style="display:inline-block;width:50px;">{{getAge(info.patient)}}岁</span>
|
26
|
27
|
</div>
|
27
|
28
|
<div>费别:<span style="display:inline-block;min-width:80px;">医保</span>
|
28
|
29
|
</div>
|
29
|
|
- <div>收费日期:<span style="display:inline-block;width:100px;">{{info[0].order.setl_time ? info[0].order.setl_time.split(' ')[0] : ''}}</span>
|
|
30
|
+ <div>收费日期:<span style="display:inline-block;width:100px;">{{info.order.setl_time ? info.order.setl_time.split(' ')[0] : ''}}</span>
|
30
|
31
|
</div>
|
31
|
32
|
</div>
|
32
|
33
|
<div style="float:right">金额单位:元</div>
|
|
@@ -43,7 +44,7 @@
|
43
|
44
|
<td width="70">总额</td>
|
44
|
45
|
<td width="130">小计</td>
|
45
|
46
|
</tr>
|
46
|
|
- <div v-for="(item,i) in info[0].new_detail_list" :key="i" style="width:100%;display: table-row-group;">
|
|
47
|
+ <div v-for="(item,i) in info.new_detail_list" :key="i" style="width:100%;display: table-row-group;">
|
47
|
48
|
<tr v-for="(subItem,index) in item.details" :key="index">
|
48
|
49
|
<td>
|
49
|
50
|
<span v-if="item.type == 1">药品费</span>
|
|
@@ -106,7 +107,7 @@
|
106
|
107
|
<tr>
|
107
|
108
|
<td colspan="7">
|
108
|
109
|
<div style="display:flex;flez-wrap:wrap;">
|
109
|
|
- <div style="width:33%;" v-for="(item,index) in info[0].new_detail_list" :key="index">
|
|
110
|
+ <div style="width:33%;" v-for="(item,index) in info.new_detail_list" :key="index">
|
110
|
111
|
<span v-if="item.type == 1">药品费: {{ item.total.toFixed(2) }}</span>
|
111
|
112
|
<span v-if="item.type == 2">诊疗费: {{ item.total.toFixed(2) }}</span>
|
112
|
113
|
<span v-if="item.type == 3">耗材费: {{ item.total.toFixed(2) }}</span>
|
|
@@ -117,31 +118,31 @@
|
117
|
118
|
</div>
|
118
|
119
|
</div>
|
119
|
120
|
</td>
|
120
|
|
- <td>合计: {{info[0].order.medfee_sumamt}}元</td>
|
|
121
|
+ <td>合计: {{info.order.medfee_sumamt}}元</td>
|
121
|
122
|
</tr>
|
122
|
123
|
<tr>
|
123
|
124
|
<td colspan="7">
|
124
|
125
|
<div style="display:flex;flez-wrap:wrap;margin-bottom:10px;font-size:16px;">
|
125
|
|
- <div style="width:33%;">医疗费总额:{{info[0].order.medfee_sumamt}}元</div>
|
126
|
|
- <div style="width:33%;">基金支付金额:{{info[0].order.hifp_pay}}元</div>
|
127
|
|
- <div style="width:33%;">个人账户支付金额:{{info[0].order.acct_pay}}元</div>
|
|
126
|
+ <div style="width:33%;">医疗费总额:{{info.order.medfee_sumamt}}元</div>
|
|
127
|
+ <div style="width:33%;">基金支付金额:{{info.order.hifp_pay}}元</div>
|
|
128
|
+ <div style="width:33%;">个人账户支付金额:{{info.order.acct_pay}}元</div>
|
128
|
129
|
|
129
|
130
|
</div>
|
130
|
131
|
<div style="display:flex;flez-wrap:wrap;font-size:16px;">
|
131
|
|
- <div style="width:33%;">医疗救助基金金额:{{info[0].order.maf_pay}}元</div>
|
|
132
|
+ <div style="width:33%;">医疗救助基金金额:{{info.order.maf_pay}}元</div>
|
132
|
133
|
|
133
|
|
- <div style="width:33%;">个人支付金额:{{ info[0].order.psn_pay }}元</div>
|
134
|
|
- <div style="width:33%;">个人账户金额:{{info[0].order.balc}}元</div>
|
|
134
|
+ <div style="width:33%;">个人支付金额:{{ info.order.psn_pay }}元</div>
|
|
135
|
+ <div style="width:33%;">个人账户金额:{{info.order.balc}}元</div>
|
135
|
136
|
</div>
|
136
|
137
|
</td>
|
137
|
|
- <td style="font-size:16px;">合计:{{info[0].order.medfee_sumamt}}元</td>
|
|
138
|
+ <td style="font-size:16px;">合计:{{info.order.medfee_sumamt}}元</td>
|
138
|
139
|
</tr>
|
139
|
140
|
|
140
|
141
|
</table>
|
141
|
142
|
</div>
|
142
|
143
|
<div style="float:right;margin:10px 0;display:flex;">
|
143
|
|
- <div>操作人:<span style="width:100px;display:inline-block;">{{info[0].printor_admin.user_name}}</span></div>
|
144
|
|
- <div>操作日期:<span style="width:100px;display:inline-block;">{{info[0].order.setl_time ? info[0].order.setl_time.split(' ')[0] : ''}}</span>
|
|
144
|
+ <div>操作人:<span style="width:100px;display:inline-block;">{{info.printor_admin.user_name}}</span></div>
|
|
145
|
+ <div>操作日期:<span style="width:100px;display:inline-block;">{{info.order.setl_time ? info.order.setl_time.split(' ')[0] : ''}}</span>
|
145
|
146
|
</div>
|
146
|
147
|
</div>
|
147
|
148
|
<img style="width:100%;" v-if="$store.getters.xt_user.org_id == 10138" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
|
|
@@ -150,7 +151,7 @@
|
150
|
151
|
</div>
|
151
|
152
|
|
152
|
153
|
</div>
|
153
|
|
-
|
|
154
|
+ </div>
|
154
|
155
|
</template>
|
155
|
156
|
<script>
|
156
|
157
|
import { getChargePrint } from '@/api/project/project'
|
|
@@ -181,7 +182,7 @@ export default {
|
181
|
182
|
},
|
182
|
183
|
props: {
|
183
|
184
|
paramsObj: Object,
|
184
|
|
- info: Object,
|
|
185
|
+ infos: Array,
|
185
|
186
|
balanceAccounts: Object
|
186
|
187
|
},
|
187
|
188
|
methods: {
|