|
@@ -1,216 +1,281 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div>
|
3
|
|
- <div v-if="paramsObj.balance_accounts_type != 2" id='prescription-print' class="prescription-print" style="position: relative;">
|
|
3
|
+ <div v-if="paramsObj.balance_accounts_type != 2" id='prescription-print' class="prescription-print"
|
|
4
|
+ style="position: relative;">
|
4
|
5
|
<img style="width:100%;height:80px" src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">
|
5
|
6
|
<div class="printTitle" style="position: absolute;left: 40%;top: 50px;">门诊收费清单</div>
|
6
|
7
|
<div style="display:flex;">
|
7
|
|
- <div>单据号:<span style="display:inline-block;width:200px;">{{info.order_number ? info.order_number : ''}}</span></div>
|
8
|
|
- <div>透析号:<span style="display:inline-block;width:200px;">{{info.patient.dialysis_no ? info.patient.dialysis_no : ''}}</span></div>
|
9
|
|
- <div style="margin-left:2px;">电脑号:<span style="display:inline-block;">{{info.psn_no ? info.psn_no : ''}}</span></div>
|
|
8
|
+ <div>单据号:<span
|
|
9
|
+ style="display:inline-block;width:200px;">{{info.order_number ? info.order_number : ''}}</span>
|
|
10
|
+ </div>
|
|
11
|
+ <div>透析号:<span style="display:inline-block;width:200px;">{{info.patient.dialysis_no ? info.patient.dialysis_no : ''}}</span>
|
|
12
|
+ </div>
|
|
13
|
+ <div style="margin-left:2px;">电脑号:<span
|
|
14
|
+ style="display:inline-block;">{{info.psn_no ? info.psn_no : ''}}</span></div>
|
10
|
15
|
</div>
|
11
|
16
|
<div style="display:flex;justify-content: space-between;">
|
12
|
17
|
<div style="display:flex;">
|
13
|
|
- <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></div>
|
14
|
|
- <div>性别:<span style="display:inline-block;width:30px;">{{info.patient.gender == '1' ? '男' : '女'}}</span></div>
|
15
|
|
- <div>年龄:<span style="display:inline-block;width:50px;">{{info.patient.age ? info.patient.age : ''}}岁</span></div>
|
16
|
|
- <div>费别:<span style="display:inline-block;min-width:80px;">医保</span>
|
17
|
|
- </div>
|
18
|
|
- <div>收费日期:<span style="display:inline-block;width:100px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</span></div>
|
|
18
|
+ <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>
|
|
19
|
+ </div>
|
|
20
|
+ <div>性别:<span
|
|
21
|
+ style="display:inline-block;width:30px;">{{info.patient.gender == '1' ? '男' : '女'}}</span>
|
|
22
|
+ </div>
|
|
23
|
+ <div>年龄:<span
|
|
24
|
+ style="display:inline-block;width:50px;">{{info.patient.age ? info.patient.age : ''}}岁</span>
|
|
25
|
+ </div>
|
|
26
|
+ <div>费别:<span style="display:inline-block;min-width:80px;">医保</span>
|
|
27
|
+ </div>
|
|
28
|
+ <div>收费日期:<span style="display:inline-block;width:100px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</span>
|
|
29
|
+ </div>
|
19
|
30
|
</div>
|
20
|
31
|
<div style="float:right">金额单位:元</div>
|
21
|
32
|
</div>
|
22
|
33
|
<div style="min-height: 300px;">
|
23
|
|
- <table border='1' style="width:100%;" cellspacing="0">
|
24
|
|
- <tr>
|
25
|
|
- <td width="70">类别</td>
|
26
|
|
- <td>项目</td>
|
27
|
|
- <td min-width="180" style="min-width:60px;">规格</td>
|
28
|
|
- <td width="40">单位</td>
|
29
|
|
- <td width="40">数量</td>
|
30
|
|
- <td width="60">单价</td>
|
31
|
|
- <td width="70">总额</td>
|
32
|
|
- <td width="130">小计</td>
|
33
|
|
- </tr>
|
34
|
|
- <div v-for="(item,i) in info.new_detail_list" :key="i" style="width:100%;display: table-row-group;">
|
35
|
|
- <tr v-for="(subItem,index) in item.details" :key="index">
|
36
|
|
- <td>
|
37
|
|
- <span v-if="item.type == 1">药品费</span>
|
38
|
|
- <span v-if="item.type == 2">治疗费</span>
|
39
|
|
- <span v-if="item.type == 3">耗材费</span>
|
40
|
|
- </td>
|
41
|
|
- <td>
|
42
|
|
- <span v-if="item.type == 1">{{ subItem.advice.advice_name }}</span>
|
43
|
|
- <span v-if="item.type == 2">{{ subItem.project.project.project_name }}</span>
|
44
|
|
- <span v-if="item.type == 3">{{ subItem.project.good_info.good_name }}</span>
|
45
|
|
- </td>
|
46
|
|
- <td>
|
47
|
|
- <span v-if="item.type == 1"><span v-if="subItem.advice.drug.min_unit != subItem.advice.drug.dose_unit">{{subItem.advice.drug.dose}}{{subItem.advice.drug.dose_unit}} * </span>{{subItem.advice.drug.min_number}}{{subItem.advice.drug.min_unit}}/{{subItem.advice.drug.max_unit}}</span>
|
48
|
|
- <span v-if="item.type == 2"></span>
|
49
|
|
- <span v-if="item.type == 3">{{ subItem.project.good_info.specification_name }}</span>
|
50
|
|
- </td>
|
51
|
|
- <td>
|
52
|
|
- <span v-if="item.type == 1">{{ subItem.advice.drug.prescribing_number_unit }}</span>
|
53
|
|
- <span v-if="item.type == 2">{{ subItem.project.unit }}</span>
|
54
|
|
- <span v-if="item.type == 3">{{ subItem.project.unit }}</span>
|
|
34
|
+ <table border='1' style="width:100%;" cellspacing="0">
|
|
35
|
+ <tr>
|
|
36
|
+ <td width="70">类别</td>
|
|
37
|
+ <td>项目</td>
|
|
38
|
+ <td min-width="180" style="min-width:60px;">规格</td>
|
|
39
|
+ <td width="40">单位</td>
|
|
40
|
+ <td width="40">数量</td>
|
|
41
|
+ <td width="60">单价</td>
|
|
42
|
+ <td width="70">总额</td>
|
|
43
|
+ <td width="130">小计</td>
|
|
44
|
+ </tr>
|
|
45
|
+ <div v-for="(item,i) in info.new_detail_list" :key="i" style="width:100%;display: table-row-group;">
|
|
46
|
+ <tr v-for="(subItem,index) in item.details" :key="index">
|
|
47
|
+ <td>
|
|
48
|
+ <span v-if="item.type == 1">药品费</span>
|
|
49
|
+ <span v-if="item.type == 2">治疗费</span>
|
|
50
|
+ <span v-if="item.type == 3">耗材费</span>
|
|
51
|
+ <span v-if="item.type == 4">检验费</span>
|
|
52
|
+
|
|
53
|
+ </td>
|
|
54
|
+ <td>
|
|
55
|
+ <span v-if="item.type == 1">{{ subItem.advice.advice_name }}</span>
|
|
56
|
+ <span v-if="item.type == 2">{{ subItem.project.project.project_name }}</span>
|
|
57
|
+ <span v-if="item.type == 3">{{ subItem.project.good_info.good_name }}</span>
|
|
58
|
+ <span v-if="item.type == 4">{{ subItem.project.project.team_name }}</span>
|
|
59
|
+
|
|
60
|
+ </td>
|
|
61
|
+ <td>
|
|
62
|
+ <span v-if="item.type == 1"><span
|
|
63
|
+ v-if="subItem.advice.drug.min_unit != subItem.advice.drug.dose_unit">{{subItem.advice.drug.dose}}{{subItem.advice.drug.dose_unit}} * </span>{{subItem.advice.drug.min_number}}{{subItem.advice.drug.min_unit}}/{{subItem.advice.drug.max_unit}}</span>
|
|
64
|
+ <span v-if="item.type == 2"></span>
|
|
65
|
+ <span v-if="item.type == 3">{{ subItem.project.good_info.specification_name }}</span>
|
|
66
|
+ <span v-if="item.type == 4"></span>
|
|
67
|
+
|
|
68
|
+ </td>
|
|
69
|
+ <td>
|
|
70
|
+ <span v-if="item.type == 1">{{ subItem.advice.drug.prescribing_number_unit }}</span>
|
|
71
|
+ <span v-if="item.type == 2">{{ subItem.project.unit }}</span>
|
|
72
|
+ <span v-if="item.type == 3">{{ subItem.project.unit }}</span>
|
|
73
|
+ <span v-if="item.type == 4"></span>
|
|
74
|
+
|
|
75
|
+ </td>
|
|
76
|
+ <td>
|
|
77
|
+ <span v-if="item.type == 1">{{ subItem.advice.prescribing_number }}</span>
|
|
78
|
+ <span v-if="item.type == 2">{{ subItem.project.count }}</span>
|
|
79
|
+ <span v-if="item.type == 3">{{ subItem.project.count }}</span>
|
|
80
|
+ <span v-if="item.type == 4"></span>
|
|
81
|
+
|
|
82
|
+ </td>
|
|
83
|
+ <td>
|
|
84
|
+ <span v-if="item.type == 1">{{ subItem.pric }}</span>
|
|
85
|
+ <span v-if="item.type == 2">{{ subItem.pric }}</span>
|
|
86
|
+ <span v-if="item.type == 3">{{ subItem.pric }}</span>
|
|
87
|
+ <span v-if="item.type == 4"></span>
|
|
88
|
+
|
|
89
|
+ </td>
|
|
90
|
+ <td>
|
|
91
|
+ <span v-if="item.type == 1">{{ (subItem.advice.prescribing_number * subItem.pric).toFixed(4) }}</span>
|
|
92
|
+ <span v-if="item.type == 2">{{ (subItem.project.count * subItem.pric).toFixed(4) }}</span>
|
|
93
|
+ <span v-if="item.type == 3">{{ (subItem.project.count * subItem.pric).toFixed(4) }}</span>
|
|
94
|
+ <span v-if="item.type == 4"></span>
|
|
95
|
+
|
|
96
|
+ </td>
|
|
97
|
+ <td :rowspan="item.details.length" v-if="index == 0"
|
|
98
|
+ style="vertical-align: middle;text-align: center;">{{ item.total.toFixed(4) }}
|
|
99
|
+ </td>
|
|
100
|
+ </tr>
|
|
101
|
+ </div>
|
|
102
|
+ <tr>
|
|
103
|
+ <td colspan="7">
|
|
104
|
+ <div style="display:flex;flez-wrap:wrap;">
|
|
105
|
+ <div style="width:33%;" v-for="(item,index) in info.new_detail_list" :key="index">
|
|
106
|
+ <span v-if="item.type == 1">药品费: {{ item.total.toFixed(4) }}</span>
|
|
107
|
+ <span v-if="item.type == 2">治疗费: {{ item.total.toFixed(4) }}</span>
|
|
108
|
+ <span v-if="item.type == 3">耗材费: {{ item.total.toFixed(4) }}</span>
|
|
109
|
+ <span v-if="item.type == 4">检验费: {{ item.total.toFixed(4) }}</span>
|
|
110
|
+
|
|
111
|
+ </div>
|
|
112
|
+ </div>
|
55
|
113
|
</td>
|
56
|
|
- <td>
|
57
|
|
- <span v-if="item.type == 1">{{ subItem.advice.prescribing_number }}</span>
|
58
|
|
- <span v-if="item.type == 2">{{ subItem.project.count }}</span>
|
59
|
|
- <span v-if="item.type == 3">{{ subItem.project.count }}</span>
|
|
114
|
+ <td>合计: {{info.medfee_sumamt?info.medfee_sumamt:0}}元</td>
|
|
115
|
+ </tr>
|
|
116
|
+ <tr>
|
|
117
|
+ <td colspan="7">
|
|
118
|
+ <div style="display:flex;flez-wrap:wrap;margin-bottom:10px;font-size:16px;">
|
|
119
|
+ <div style="width:33%;">医疗费总额:{{info.medfee_sumamt?info.medfee_sumamt:0}}元</div>
|
|
120
|
+ <div style="width:33%;">基金支付金额:{{info.hifp_pay?info.hifp_pay:0}}元</div>
|
|
121
|
+ <div style="width:33%;">个人账户支付金额:{{info.acct_pay?info.acct_pay:0}}元</div>
|
|
122
|
+
|
|
123
|
+ </div>
|
|
124
|
+ <div style="display:flex;flez-wrap:wrap;font-size:16px;">
|
|
125
|
+ <div style="width:33%;">个人支付金额:{{ info.psn_pay?info.psn_pay:0 }}元</div>
|
|
126
|
+ <div style="width:33%;">个人账户金额:{{info.balc >= 0 ? info.balc : 0 }}元</div>
|
|
127
|
+ </div>
|
60
|
128
|
</td>
|
61
|
|
- <td>
|
62
|
|
- <span v-if="item.type == 1">{{ subItem.pric }}</span>
|
63
|
|
- <span v-if="item.type == 2">{{ subItem.pric }}</span>
|
64
|
|
- <span v-if="item.type == 3">{{ subItem.pric }}</span>
|
65
|
|
- </td>
|
66
|
|
- <td>
|
67
|
|
- <span v-if="item.type == 1">{{ (subItem.advice.prescribing_number * subItem.pric).toFixed(2) }}</span>
|
68
|
|
- <span v-if="item.type == 2">{{ (subItem.project.count * subItem.pric).toFixed(2) }}</span>
|
69
|
|
- <span v-if="item.type == 3">{{ (subItem.project.count * subItem.pric).toFixed(2) }}</span>
|
70
|
|
- </td>
|
71
|
|
- <td :rowspan="item.details.length" v-if="index == 0" style="vertical-align: middle;text-align: center;">{{ item.total.toFixed(2) }}</td>
|
72
|
|
- </tr>
|
73
|
|
- </div>
|
74
|
|
- <tr>
|
75
|
|
- <td colspan="7">
|
76
|
|
- <div style="display:flex;flez-wrap:wrap;">
|
77
|
|
- <div style="width:33%;" v-for="(item,index) in info.new_detail_list" :key="index">
|
78
|
|
- <span v-if="item.type == 1">药品费: {{ item.total.toFixed(2) }}</span>
|
79
|
|
- <span v-if="item.type == 2">治疗费: {{ item.total.toFixed(2) }}</span>
|
80
|
|
- <span v-if="item.type == 3">耗材费: {{ item.total.toFixed(2) }}</span>
|
81
|
|
- </div>
|
82
|
|
- </div>
|
83
|
|
- </td>
|
84
|
|
- <td>合计: {{info.medfee_sumamt?info.medfee_sumamt:0}}元</td>
|
85
|
|
- </tr>
|
86
|
|
- <tr>
|
87
|
|
- <td colspan="7">
|
88
|
|
- <div style="display:flex;flez-wrap:wrap;margin-bottom:10px;font-size:16px;">
|
89
|
|
- <div style="width:33%;">医疗费总额:{{info.medfee_sumamt?info.medfee_sumamt:0}}元</div>
|
90
|
|
- <div style="width:33%;">基金支付金额:{{info.hifp_pay?info.hifp_pay:0}}元</div>
|
91
|
|
- <div style="width:33%;">个人账户支付金额:{{info.acct_pay?info.acct_pay:0}}元</div>
|
92
|
|
-
|
93
|
|
- </div>
|
94
|
|
- <div style="display:flex;flez-wrap:wrap;font-size:16px;">
|
95
|
|
- <div style="width:33%;">个人支付金额:{{ info.psn_pay?info.psn_pay:0 }}元</div>
|
96
|
|
- <div style="width:33%;">个人账户金额:{{info.balc >= 0 ? info.balc : 0 }}元</div>
|
97
|
|
- </div>
|
98
|
|
- </td>
|
99
|
|
- <td style="font-size:16px;">合计:{{info.medfee_sumamt?info.medfee_sumamt:0}}元</td>
|
100
|
|
- </tr>
|
101
|
|
-
|
102
|
|
- </table>
|
|
129
|
+ <td style="font-size:16px;">合计:{{info.medfee_sumamt?info.medfee_sumamt:0}}元</td>
|
|
130
|
+ </tr>
|
|
131
|
+
|
|
132
|
+ </table>
|
103
|
133
|
</div>
|
104
|
134
|
<div style="float:right;margin:10px 0;display:flex;">
|
105
|
135
|
<div>操作人:<span style="width:100px;display:inline-block;">{{info.p_admin.user_name}}</span></div>
|
106
|
|
- <div>操作日期:<span style="width:100px;display:inline-block;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</span></div>
|
|
136
|
+ <div>操作日期:<span style="width:100px;display:inline-block;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</span>
|
|
137
|
+ </div>
|
107
|
138
|
</div>
|
108
|
139
|
<img style="width:100%;" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
|
109
|
140
|
</div>
|
110
|
141
|
<div v-else id='prescription-print' class="prescription-print" style="position: relative;">
|
111
|
|
- <img style="width:100%;height:80px" src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">
|
|
142
|
+ <img style="width:100%;height:80px" src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">
|
112
|
143
|
<div class="printTitle" style="position: absolute;left: 40%;top: 50px;">门诊收费清单</div>
|
113
|
144
|
<div style="display:flex;">
|
114
|
|
- <div>单据号:<span style="display:inline-block;width:200px;">{{balanceAccounts.his.number ? balanceAccounts.his.number : ''}}</span></div>
|
115
|
|
- <div>透析号:<span style="display:inline-block;width:200px;">{{balanceAccounts.patient ? balanceAccounts.patient.dialysis_no : ''}}</span></div>
|
|
145
|
+ <div>单据号:<span style="display:inline-block;width:200px;">{{balanceAccounts.his.number ? balanceAccounts.his.number : ''}}</span>
|
|
146
|
+ </div>
|
|
147
|
+ <div>透析号:<span style="display:inline-block;width:200px;">{{balanceAccounts.patient ? balanceAccounts.patient.dialysis_no : ''}}</span>
|
|
148
|
+ </div>
|
116
|
149
|
<div>电脑号:<span style="display:inline-block;width:80px;"></span></div>
|
117
|
150
|
</div>
|
118
|
151
|
<div style="display:flex;justify-content: space-between;">
|
119
|
152
|
<div style="display:flex;">
|
120
|
|
- <div>姓名:<span style="display:inline-block;width:50px;">{{balanceAccounts.patient ? balanceAccounts.patient.name.indexOf("(") > -1 ? balanceAccounts.patient.name.substring(0,balanceAccounts.patient.name.indexOf("(")) : balanceAccounts.patient.name : ''}}</span></div>
|
121
|
|
- <div>性别:<span style="display:inline-block;width:30px;">{{balanceAccounts.patient.gender == '1' ? '男' : '女'}}</span></div>
|
122
|
|
- <div>年龄:<span style="display:inline-block;width:50px;">{{balanceAccounts.patient ? balanceAccounts.patient.age : ''}}岁</span></div>
|
123
|
|
- <div>费别:<span style="display:inline-block;width:80px;">自费</span>
|
124
|
|
- </div>
|
125
|
|
- <div>收费日期:<span style="display:inline-block;width:100px;">{{getTime(new Date(),"{y}-{m}-{d}")?getTime(new Date(),"{y}-{m}-{d}"):""}}</span></div>
|
|
153
|
+ <div>姓名:<span style="display:inline-block;width:50px;">{{balanceAccounts.patient ? balanceAccounts.patient.name.indexOf('(') > -1 ? balanceAccounts.patient.name.substring(0,balanceAccounts.patient.name.indexOf('(')) : balanceAccounts.patient.name : ''}}</span>
|
|
154
|
+ </div>
|
|
155
|
+ <div>性别:<span style="display:inline-block;width:30px;">{{balanceAccounts.patient.gender == '1' ? '男' : '女'}}</span>
|
|
156
|
+ </div>
|
|
157
|
+ <div>年龄:<span style="display:inline-block;width:50px;">{{balanceAccounts.patient ? balanceAccounts.patient.age : ''}}岁</span>
|
|
158
|
+ </div>
|
|
159
|
+ <div>费别:<span style="display:inline-block;width:80px;">自费</span>
|
|
160
|
+ </div>
|
|
161
|
+ <div>收费日期:<span style="display:inline-block;width:100px;">{{getTime(new Date(),'{y}-{m}-{d}')?getTime(new Date(),'{y}-{m}-{d}'):''}}</span>
|
|
162
|
+ </div>
|
126
|
163
|
</div>
|
127
|
164
|
<div style="float:right">金额单位:元</div>
|
128
|
165
|
</div>
|
129
|
166
|
<div style="min-height: 300px;">
|
130
|
|
- <table border='1' style="width:100%;" cellspacing="0">
|
131
|
|
- <tr>
|
132
|
|
- <td width="70">类别</td>
|
133
|
|
- <td>项目</td>
|
134
|
|
- <td min-width="180" style="min-width:60px;">规格</td>
|
135
|
|
- <td width="40">单位</td>
|
136
|
|
- <td width="40">数量</td>
|
137
|
|
- <td width="60">单价</td>
|
138
|
|
- <td width="70">总额</td>
|
139
|
|
- <td width="130">小计</td>
|
140
|
|
- </tr>
|
141
|
|
- <div v-for="(item,i) in balanceAccounts.new_detail_list" :key="i" style="width:100%;display: table-row-group;">
|
142
|
|
- <tr v-for="(subItem,index) in item.details" :key="index">
|
143
|
|
- <td>
|
144
|
|
- <span v-if="item.type == 1">药品费</span>
|
145
|
|
- <span v-if="item.type == 2">治疗费</span>
|
146
|
|
- <span v-if="item.type == 3">耗材费</span>
|
147
|
|
- </td>
|
148
|
|
- <td>
|
149
|
|
- <span v-if="item.type == 1">{{ subItem.advice.advice_name }}</span>
|
150
|
|
- <span v-if="item.type == 2">{{ subItem.project.project.project_name }}</span>
|
151
|
|
- <span v-if="item.type == 3">{{ subItem.project.good_info.good_name }}</span>
|
152
|
|
- </td>
|
153
|
|
- <td>
|
154
|
|
- <span v-if="item.type == 1"><span v-if="subItem.advice.drug.min_unit != subItem.advice.drug.dose_unit">{{subItem.advice.drug.dose}}{{subItem.advice.drug.dose_unit}} * </span>{{subItem.advice.drug.min_number}}{{subItem.advice.drug.min_unit}}/{{subItem.advice.drug.max_unit}}</span>
|
155
|
|
- <span v-if="item.type == 2"></span>
|
156
|
|
- <span v-if="item.type == 3">{{ subItem.project.good_info.specification_name }}</span>
|
157
|
|
- </td>
|
158
|
|
- <td>
|
159
|
|
- <span v-if="item.type == 1">{{ subItem.advice.drug.prescribing_number_unit }}</span>
|
160
|
|
- <span v-if="item.type == 2">{{ subItem.project.unit }}</span>
|
161
|
|
- <span v-if="item.type == 3">{{ subItem.project.unit }}</span>
|
|
167
|
+ <table border='1' style="width:100%;" cellspacing="0">
|
|
168
|
+ <tr>
|
|
169
|
+ <td width="70">类别</td>
|
|
170
|
+ <td>项目</td>
|
|
171
|
+ <td min-width="180" style="min-width:60px;">规格</td>
|
|
172
|
+ <td width="40">单位</td>
|
|
173
|
+ <td width="40">数量</td>
|
|
174
|
+ <td width="60">单价</td>
|
|
175
|
+ <td width="70">总额</td>
|
|
176
|
+ <td width="130">小计</td>
|
|
177
|
+ </tr>
|
|
178
|
+ <div v-for="(item,i) in balanceAccounts.new_detail_list" :key="i"
|
|
179
|
+ style="width:100%;display: table-row-group;">
|
|
180
|
+ <tr v-for="(subItem,index) in item.details" :key="index">
|
|
181
|
+ <td>
|
|
182
|
+ <span v-if="item.type == 1">药品费</span>
|
|
183
|
+ <span v-if="item.type == 2">治疗费</span>
|
|
184
|
+ <span v-if="item.type == 3">耗材费</span>
|
|
185
|
+ <span v-if="item.type == 4">检验费</span>
|
|
186
|
+
|
|
187
|
+ </td>
|
|
188
|
+ <td>
|
|
189
|
+ <span v-if="item.type == 1">{{ subItem.advice.advice_name }}</span>
|
|
190
|
+ <span v-if="item.type == 2">{{ subItem.project.project.project_name }}</span>
|
|
191
|
+ <span v-if="item.type == 3">{{ subItem.project.good_info.good_name }}</span>
|
|
192
|
+ <span v-if="item.type == 4">{{ subItem.Name }}</span>
|
|
193
|
+
|
|
194
|
+ </td>
|
|
195
|
+ <td>
|
|
196
|
+ <span v-if="item.type == 1"><span
|
|
197
|
+ v-if="subItem.advice.drug.min_unit != subItem.advice.drug.dose_unit">{{subItem.advice.drug.dose}}{{subItem.advice.drug.dose_unit}} * </span>{{subItem.advice.drug.min_number}}{{subItem.advice.drug.min_unit}}/{{subItem.advice.drug.max_unit}}</span>
|
|
198
|
+ <span v-if="item.type == 2"></span>
|
|
199
|
+ <span v-if="item.type == 3">{{ subItem.project.good_info.specification_name }}</span>
|
|
200
|
+ <span v-if="item.type == 4"></span>
|
|
201
|
+
|
|
202
|
+ </td>
|
|
203
|
+ <td>
|
|
204
|
+ <span v-if="item.type == 1">{{ subItem.advice.drug.prescribing_number_unit }}</span>
|
|
205
|
+ <span v-if="item.type == 2">{{ subItem.project.unit }}</span>
|
|
206
|
+ <span v-if="item.type == 3">{{ subItem.project.unit }}</span>
|
|
207
|
+ <span v-if="item.type == 4"></span>
|
|
208
|
+
|
|
209
|
+ </td>
|
|
210
|
+ <td>
|
|
211
|
+ <span v-if="item.type == 1">{{ subItem.advice.prescribing_number }}</span>
|
|
212
|
+ <span v-if="item.type == 2">{{ subItem.project.count }}</span>
|
|
213
|
+ <span v-if="item.type == 3">{{ subItem.project.count }}</span>
|
|
214
|
+ <span v-if="item.type == 4">1</span>
|
|
215
|
+
|
|
216
|
+ </td>
|
|
217
|
+ <td>
|
|
218
|
+ <span v-if="item.type == 1">{{ subItem.pric }}</span>
|
|
219
|
+ <span v-if="item.type == 2">{{ subItem.pric }}</span>
|
|
220
|
+ <span v-if="item.type == 3">{{ subItem.pric }}</span>
|
|
221
|
+ <span v-if="item.type == 4">{{subItem.Total}}</span>
|
|
222
|
+
|
|
223
|
+ </td>
|
|
224
|
+ <td>
|
|
225
|
+ <span v-if="item.type == 1">{{ (subItem.advice.prescribing_number * subItem.pric).toFixed(2) }}</span>
|
|
226
|
+ <span v-if="item.type == 2">{{ (subItem.project.count * subItem.pric).toFixed(2) }}</span>
|
|
227
|
+ <span v-if="item.type == 3">{{ (subItem.project.count * subItem.pric).toFixed(2) }}</span>
|
|
228
|
+ <span v-if="item.type == 4">{{subItem.Total}}</span>
|
|
229
|
+
|
|
230
|
+ </td>
|
|
231
|
+ <td :rowspan="item.details.length" v-if="index == 0"
|
|
232
|
+ style="vertical-align: middle;text-align: center;">{{ item.total.toFixed(2) }}
|
|
233
|
+ </td>
|
|
234
|
+ </tr>
|
|
235
|
+ </div>
|
|
236
|
+ <tr>
|
|
237
|
+ <td colspan="7">
|
|
238
|
+ <div style="display:flex;flez-wrap:wrap;">
|
|
239
|
+ <div style="width:33%;" v-for="(item,index) in balanceAccounts.new_detail_list"
|
|
240
|
+ :key="index">
|
|
241
|
+ <span v-if="item.type == 1">药品费: {{ item.total.toFixed(2) }}</span>
|
|
242
|
+ <span v-if="item.type == 2">治疗费: {{ item.total.toFixed(2) }}</span>
|
|
243
|
+ <span v-if="item.type == 3">耗材费: {{ item.total.toFixed(2) }}</span>
|
|
244
|
+ <span v-if="item.type == 4">检验费: {{ item.total.toFixed(2) }}</span>
|
|
245
|
+
|
|
246
|
+ </div>
|
|
247
|
+ </div>
|
162
|
248
|
</td>
|
163
|
|
- <td>
|
164
|
|
- <span v-if="item.type == 1">{{ subItem.advice.prescribing_number }}</span>
|
165
|
|
- <span v-if="item.type == 2">{{ subItem.project.count }}</span>
|
166
|
|
- <span v-if="item.type == 3">{{ subItem.project.count }}</span>
|
|
249
|
+ <td>合计: {{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</td>
|
|
250
|
+ </tr>
|
|
251
|
+ <tr>
|
|
252
|
+ <td colspan="7">
|
|
253
|
+ <div style="display:flex;flez-wrap:wrap;">
|
|
254
|
+ <div style="width:33%;">
|
|
255
|
+ 医疗费总额:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元
|
|
256
|
+ </div>
|
|
257
|
+ <div style="width:33%;">基金支付金额:0元</div>
|
|
258
|
+ <div style="width:33%;">个人账户支付金额:0元</div>
|
|
259
|
+
|
|
260
|
+ </div>
|
|
261
|
+ <div style="display:flex;flez-wrap:wrap;">
|
|
262
|
+ <div style="width:33%;">
|
|
263
|
+ 个人支付金额:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元
|
|
264
|
+ </div>
|
|
265
|
+ <div style="width:33%;">个人账户金额:0元</div>
|
|
266
|
+ </div>
|
167
|
267
|
</td>
|
168
|
|
- <td>
|
169
|
|
- <span v-if="item.type == 1">{{ subItem.pric }}</span>
|
170
|
|
- <span v-if="item.type == 2">{{ subItem.pric }}</span>
|
171
|
|
- <span v-if="item.type == 3">{{ subItem.pric }}</span>
|
172
|
|
- </td>
|
173
|
|
- <td>
|
174
|
|
- <span v-if="item.type == 1">{{ (subItem.advice.prescribing_number * subItem.pric).toFixed(2) }}</span>
|
175
|
|
- <span v-if="item.type == 2">{{ (subItem.project.count * subItem.pric).toFixed(2) }}</span>
|
176
|
|
- <span v-if="item.type == 3">{{ (subItem.project.count * subItem.pric).toFixed(2) }}</span>
|
177
|
|
- </td>
|
178
|
|
- <td :rowspan="item.details.length" v-if="index == 0" style="vertical-align: middle;text-align: center;">{{ item.total.toFixed(2) }}</td>
|
179
|
|
- </tr>
|
180
|
|
- </div>
|
181
|
|
- <tr>
|
182
|
|
- <td colspan="7">
|
183
|
|
- <div style="display:flex;flez-wrap:wrap;">
|
184
|
|
- <div style="width:33%;" v-for="(item,index) in balanceAccounts.new_detail_list" :key="index">
|
185
|
|
- <span v-if="item.type == 1">药品费: {{ item.total.toFixed(2) }}</span>
|
186
|
|
- <span v-if="item.type == 2">治疗费: {{ item.total.toFixed(2) }}</span>
|
187
|
|
- <span v-if="item.type == 3">耗材费: {{ item.total.toFixed(2) }}</span>
|
188
|
|
- </div>
|
189
|
|
- </div>
|
190
|
|
- </td>
|
191
|
|
- <td>合计: {{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</td>
|
192
|
|
- </tr>
|
193
|
|
- <tr>
|
194
|
|
- <td colspan="7">
|
195
|
|
- <div style="display:flex;flez-wrap:wrap;">
|
196
|
|
- <div style="width:33%;">医疗费总额:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</div>
|
197
|
|
- <div style="width:33%;">基金支付金额:0元</div>
|
198
|
|
- <div style="width:33%;">个人账户支付金额:0元</div>
|
199
|
|
-
|
200
|
|
- </div>
|
201
|
|
- <div style="display:flex;flez-wrap:wrap;">
|
202
|
|
- <div style="width:33%;">个人支付金额:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</div>
|
203
|
|
- <div style="width:33%;">个人账户金额:0元</div>
|
204
|
|
- </div>
|
205
|
|
- </td>
|
206
|
|
- <td>合计:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</td>
|
207
|
|
- </tr>
|
208
|
|
-
|
209
|
|
- </table>
|
|
268
|
+ <td>合计:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</td>
|
|
269
|
+ </tr>
|
|
270
|
+
|
|
271
|
+ </table>
|
210
|
272
|
</div>
|
211
|
273
|
<div style="float:right;margin:10px 0;display:flex;">
|
212
|
|
- <div>操作人:<span style="width:100px;display:inline-block;">{{balanceAccounts.current_admin.user_name}}</span></div>
|
213
|
|
- <div>操作日期:<span style="width:100px;display:inline-block;">{{getTime(new Date(),"{y}-{m}-{d}")?getTime(new Date(),"{y}-{m}-{d}"):""}}</span></div>
|
|
274
|
+ <div>操作人:<span
|
|
275
|
+ style="width:100px;display:inline-block;">{{balanceAccounts.current_admin.user_name}}</span>
|
|
276
|
+ </div>
|
|
277
|
+ <div>操作日期:<span style="width:100px;display:inline-block;">{{getTime(new Date(),'{y}-{m}-{d}')?getTime(new Date(),'{y}-{m}-{d}'):''}}</span>
|
|
278
|
+ </div>
|
214
|
279
|
</div>
|
215
|
280
|
<img style="width:100%;" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
|
216
|
281
|
</div>
|
|
@@ -246,7 +311,7 @@
|
246
|
311
|
props: {
|
247
|
312
|
paramsObj: Object,
|
248
|
313
|
info: Object,
|
249
|
|
- balanceAccounts:Object
|
|
314
|
+ balanceAccounts: Object
|
250
|
315
|
},
|
251
|
316
|
methods: {
|
252
|
317
|
getName(list) {
|
|
@@ -258,62 +323,62 @@
|
258
|
323
|
}
|
259
|
324
|
|
260
|
325
|
switch (new_list[0].bcc334) {
|
261
|
|
- case "A31001":
|
262
|
|
- return "深圳医保1档"
|
|
326
|
+ case 'A31001':
|
|
327
|
+ return '深圳医保1档'
|
263
|
328
|
break
|
264
|
|
- case "A31002":
|
265
|
|
- return "深圳医保2档"
|
|
329
|
+ case 'A31002':
|
|
330
|
+ return '深圳医保2档'
|
266
|
331
|
|
267
|
332
|
break
|
268
|
|
- case "A31003":
|
269
|
|
- return "深圳医保3档"
|
|
333
|
+ case 'A31003':
|
|
334
|
+ return '深圳医保3档'
|
270
|
335
|
|
271
|
336
|
break
|
272
|
|
- case "A31004":
|
273
|
|
- return "二档(少儿)"
|
|
337
|
+ case 'A31004':
|
|
338
|
+ return '二档(少儿)'
|
274
|
339
|
|
275
|
340
|
break
|
276
|
|
- case "A31005":
|
277
|
|
- return "学生二档"
|
|
341
|
+ case 'A31005':
|
|
342
|
+ return '学生二档'
|
278
|
343
|
|
279
|
344
|
break
|
280
|
|
- case "A31006":
|
281
|
|
- return "大学生二档"
|
|
345
|
+ case 'A31006':
|
|
346
|
+ return '大学生二档'
|
282
|
347
|
|
283
|
348
|
break
|
284
|
|
- case "A32001":
|
285
|
|
- return "在职公务员"
|
|
349
|
+ case 'A32001':
|
|
350
|
+ return '在职公务员'
|
286
|
351
|
break
|
287
|
|
- case "A32002":
|
288
|
|
- return "在职驻深公务员"
|
|
352
|
+ case 'A32002':
|
|
353
|
+ return '在职驻深公务员'
|
289
|
354
|
|
290
|
355
|
break
|
291
|
|
- case "A39301":
|
292
|
|
- return "家属统筹医疗"
|
|
356
|
+ case 'A39301':
|
|
357
|
+ return '家属统筹医疗'
|
293
|
358
|
|
294
|
359
|
break
|
295
|
|
- case "A41001":
|
296
|
|
- return "工伤在职"
|
|
360
|
+ case 'A41001':
|
|
361
|
+ return '工伤在职'
|
297
|
362
|
|
298
|
363
|
break
|
299
|
|
- case "A51001":
|
300
|
|
- return "生育在职"
|
|
364
|
+ case 'A51001':
|
|
365
|
+ return '生育在职'
|
301
|
366
|
|
302
|
367
|
break
|
303
|
|
- case "A52001":
|
304
|
|
- return "生育医疗一档"
|
|
368
|
+ case 'A52001':
|
|
369
|
+ return '生育医疗一档'
|
305
|
370
|
|
306
|
371
|
break
|
307
|
|
- case "A52002":
|
308
|
|
- return "生育医疗一档"
|
|
372
|
+ case 'A52002':
|
|
373
|
+ return '生育医疗一档'
|
309
|
374
|
|
310
|
375
|
break
|
311
|
|
- case "C31001":
|
312
|
|
- return "一档医疗退休"
|
|
376
|
+ case 'C31001':
|
|
377
|
+ return '一档医疗退休'
|
313
|
378
|
|
314
|
379
|
break
|
315
|
|
- case "C31002":
|
316
|
|
- return "二档医疗退休"
|
|
380
|
+ case 'C31002':
|
|
381
|
+ return '二档医疗退休'
|
317
|
382
|
break
|
318
|
383
|
|
319
|
384
|
}
|