|
@@ -1,182 +1,186 @@
|
1
|
1
|
<template>
|
2
|
|
- <div id='prescription-print' class="prescription-print">
|
3
|
|
- <div v-if=" this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 9538">
|
4
|
|
- <div class="printTitle">{{orgname}} 医药费收据及收费项目清单</div>
|
5
|
|
- <div class="infoMain">
|
6
|
|
- <div class="infoP">医院(药店)编号:{{org_code}}</div>
|
7
|
|
- <div class="infoP">名称:{{orgname}}</div>
|
8
|
|
- <div class="infoP">医生工号:{{doctor_code}}</div>
|
9
|
|
- <div class="infoP">门诊流水号:{{result.transBody.akc190}}</div>
|
10
|
|
- <div class="infoP">科别:{{全科}}</div>
|
11
|
|
- <div class="infoP">处方单据号:</div>
|
12
|
|
- <div class="infoP">姓名:{{patient_name}}</div>
|
13
|
|
- <div class="infoP">医疗账号:</div>
|
14
|
|
- <div class="infoP">医疗类别:普通</div>
|
15
|
|
- </div>
|
16
|
|
- <div class="chargeBox">
|
17
|
|
- <div style="display:flex;justify-content: space-between;border-bottom:1px solid #000;">
|
18
|
|
- <div class="chargeUl" style="width:20%;">
|
19
|
|
- <p style="width:50%;border-right:1px solid #000;">费用类型</p>
|
20
|
|
- <p style="width:50%;border-right:1px solid #000;">金额</p>
|
21
|
|
- </div>
|
22
|
|
- <div class="chargeUl" style="width:80%;">
|
23
|
|
- <p style="width:40%;border-right:1px solid #000;">明细名称</p>
|
24
|
|
- <p style="width:15%;border-right:1px solid #000;">规格</p>
|
25
|
|
- <p style="width:15%;border-right:1px solid #000;">数量</p>
|
26
|
|
- <p style="width:15%;border-right:1px solid #000;">单价</p>
|
27
|
|
- <p style="width:15%;">金额</p>
|
28
|
|
- </div>
|
|
2
|
+ <div>
|
|
3
|
+ <div id='prescription-print' class="prescription-print">
|
|
4
|
+ <div v-if=" this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 9538">
|
|
5
|
+ <div class="printTitle">{{orgname}} 医药费收据及收费项目清单</div>
|
|
6
|
+ <div class="infoMain">
|
|
7
|
+ <div class="infoP">医院(药店)编号:{{org_code}}</div>
|
|
8
|
+ <div class="infoP">名称:{{orgname}}</div>
|
|
9
|
+ <div class="infoP">医生工号:{{doctor_code}}</div>
|
|
10
|
+ <div class="infoP">门诊流水号:{{result.transBody.akc190}}</div>
|
|
11
|
+ <div class="infoP">科别:{{全科}}</div>
|
|
12
|
+ <div class="infoP">处方单据号:</div>
|
|
13
|
+ <div class="infoP">姓名:{{patient_name}}</div>
|
|
14
|
+ <div class="infoP">医疗账号:</div>
|
|
15
|
+ <div class="infoP">医疗类别:普通</div>
|
29
|
16
|
</div>
|
30
|
|
- <div style="display:flex;justify-content: space-between;">
|
31
|
|
- <div style="width:20%;">
|
32
|
|
- <div class="chargeUl" v-for="(item,index) in result.transBody.outputlist2" :key="index">
|
33
|
|
- <p style="width:50%;">{{getItemName(item.aka111)}}</p>
|
34
|
|
- <p style="width:50%;">{{item.bka058}}</p>
|
35
|
|
- </div>
|
36
|
|
- <div class="chargeUl" style="border-top:1px solid #000;">
|
37
|
|
- <p style="width:50%;">费用合计</p>
|
38
|
|
- <p style="width:50%;">{{result.transBody.akc264}}</p>
|
39
|
|
- </div>
|
40
|
|
- <div class="chargeUl" style="border-top:1px solid #000;">
|
41
|
|
- <p style="width:50%;">记账支付</p>
|
42
|
|
- <p style="width:50%;">{{result.transBody.akb068}}</p>
|
43
|
|
- </div>
|
44
|
|
- <div class="chargeUl" style="border-top:1px solid #000;">
|
45
|
|
- <p style="width:50%;">个人账号</p>
|
46
|
|
- <p style="width:50%;">{{result.transBody.akc264}}</p>
|
|
17
|
+ <div class="chargeBox">
|
|
18
|
+ <div style="display:flex;justify-content: space-between;border-bottom:1px solid #000;">
|
|
19
|
+ <div class="chargeUl" style="width:20%;">
|
|
20
|
+ <p style="width:50%;border-right:1px solid #000;">费用类型</p>
|
|
21
|
+ <p style="width:50%;border-right:1px solid #000;">金额</p>
|
47
|
22
|
</div>
|
48
|
|
- <div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
|
49
|
|
- <p style="width:50%;">现金支付</p>
|
50
|
|
- <p style="width:50%;">{{result.transBody.akb067}}</p>
|
|
23
|
+ <div class="chargeUl" style="width:80%;">
|
|
24
|
+ <p style="width:40%;border-right:1px solid #000;">明细名称</p>
|
|
25
|
+ <p style="width:15%;border-right:1px solid #000;">规格</p>
|
|
26
|
+ <p style="width:15%;border-right:1px solid #000;">数量</p>
|
|
27
|
+ <p style="width:15%;border-right:1px solid #000;">单价</p>
|
|
28
|
+ <p style="width:15%;">金额</p>
|
51
|
29
|
</div>
|
52
|
30
|
</div>
|
53
|
|
- <div style="width:80%;display:flex;height:300px;">
|
54
|
|
-
|
55
|
|
- <div style="border-left:1px solid #000;border-right:1px solid #000;width:40%;text-align:center;">
|
56
|
|
- <p v-for="(item,i) in name_arr" :key="i" class="chargeP">
|
57
|
|
- {{item}}</p>
|
58
|
|
- </div>
|
59
|
|
- <div style="border-right:1px solid #000;width:15%;text-align:center;">
|
60
|
|
- <p v-for="(item,y) in spec_arr" :key="y" class="chargeP">
|
61
|
|
- {{item}}</p>
|
62
|
|
- </div>
|
63
|
|
- <div style="border-right:1px solid #000;width:15%;text-align:center;">
|
64
|
|
- <p v-for="(item,z) in count_arr" :key="z" class="chargeP">
|
65
|
|
- {{item}}次</p>
|
|
31
|
+ <div style="display:flex;justify-content: space-between;">
|
|
32
|
+ <div style="width:20%;">
|
|
33
|
+ <div class="chargeUl" v-for="(item,index) in result.transBody.outputlist2" :key="index">
|
|
34
|
+ <p style="width:50%;">{{getItemName(item.aka111)}}</p>
|
|
35
|
+ <p style="width:50%;">{{item.bka058}}</p>
|
|
36
|
+ </div>
|
|
37
|
+ <div class="chargeUl" style="border-top:1px solid #000;">
|
|
38
|
+ <p style="width:50%;">费用合计</p>
|
|
39
|
+ <p style="width:50%;">{{result.transBody.akc264}}</p>
|
|
40
|
+ </div>
|
|
41
|
+ <div class="chargeUl" style="border-top:1px solid #000;">
|
|
42
|
+ <p style="width:50%;">记账支付</p>
|
|
43
|
+ <p style="width:50%;">{{result.transBody.akb068}}</p>
|
|
44
|
+ </div>
|
|
45
|
+ <div class="chargeUl" style="border-top:1px solid #000;">
|
|
46
|
+ <p style="width:50%;">个人账号</p>
|
|
47
|
+ <p style="width:50%;">{{result.transBody.akc264}}</p>
|
|
48
|
+ </div>
|
|
49
|
+ <div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
|
|
50
|
+ <p style="width:50%;">现金支付</p>
|
|
51
|
+ <p style="width:50%;">{{result.transBody.akb067}}</p>
|
|
52
|
+ </div>
|
66
|
53
|
</div>
|
67
|
|
- <div style="border-right:1px solid #000;width:15%;text-align:center;">
|
68
|
|
- <p v-for="(item,f) in price_arr" :key="f" class="chargeP">{{item}}</p>
|
69
|
|
- </div>
|
70
|
|
- <div style="width:15%;text-align:center;">
|
71
|
|
- <p v-for="(item,d) in total_arr" :key="d" class="chargeP">{{item}}</p>
|
|
54
|
+ <div style="width:80%;display:flex;height:300px;">
|
|
55
|
+
|
|
56
|
+ <div style="border-left:1px solid #000;border-right:1px solid #000;width:40%;text-align:center;">
|
|
57
|
+ <p v-for="(item,i) in name_arr" :key="i" class="chargeP">
|
|
58
|
+ {{item}}</p>
|
|
59
|
+ </div>
|
|
60
|
+ <div style="border-right:1px solid #000;width:15%;text-align:center;">
|
|
61
|
+ <p v-for="(item,y) in spec_arr" :key="y" class="chargeP">
|
|
62
|
+ {{item}}</p>
|
|
63
|
+ </div>
|
|
64
|
+ <div style="border-right:1px solid #000;width:15%;text-align:center;">
|
|
65
|
+ <p v-for="(item,z) in count_arr" :key="z" class="chargeP">
|
|
66
|
+ {{item}}次</p>
|
|
67
|
+ </div>
|
|
68
|
+ <div style="border-right:1px solid #000;width:15%;text-align:center;">
|
|
69
|
+ <p v-for="(item,f) in price_arr" :key="f" class="chargeP">{{item}}</p>
|
|
70
|
+ </div>
|
|
71
|
+ <div style="width:15%;text-align:center;">
|
|
72
|
+ <p v-for="(item,d) in total_arr" :key="d" class="chargeP">{{item}}</p>
|
|
73
|
+ </div>
|
72
|
74
|
</div>
|
73
|
75
|
</div>
|
74
|
|
- </div>
|
75
|
76
|
|
|
77
|
+ </div>
|
|
78
|
+ <div class="moneyBox">
|
|
79
|
+ <p>实收金:{{result.transBody.akc264}}</p>
|
|
80
|
+ <p>记账前金额:{{0.00}}</p>
|
|
81
|
+ <p>扣款金额:{{0.00}}</p>
|
|
82
|
+ <p>记账后金额:{{0.00}}</p>
|
|
83
|
+ <p>找赎金:{{0.00}}</p>
|
|
84
|
+ </div>
|
|
85
|
+ <div class="actionBar">
|
|
86
|
+ <div>收费员:{{doctor_name}}</div>
|
|
87
|
+ <div>日期:{{this.$route.query.record_date}}</div>
|
|
88
|
+ </div>
|
76
|
89
|
</div>
|
77
|
|
- <div class="moneyBox">
|
78
|
|
- <p>实收金:{{result.transBody.akc264}}</p>
|
79
|
|
- <p>记账前金额:{{0.00}}</p>
|
80
|
|
- <p>扣款金额:{{0.00}}</p>
|
81
|
|
- <p>记账后金额:{{0.00}}</p>
|
82
|
|
- <p>找赎金:{{0.00}}</p>
|
83
|
|
- </div>
|
84
|
|
- <div class="actionBar">
|
85
|
|
- <div>收费员:{{doctor_name}}</div>
|
86
|
|
- <div>日期:{{this.$route.query.record_date}}</div>
|
87
|
|
- </div>
|
88
|
|
- </div>
|
89
|
90
|
|
90
|
|
- <div v-else>
|
91
|
|
- <div class="printTitle">{{orgname}} 医药费收据及收费项目清单</div>
|
92
|
|
- <div class="infoMain">
|
93
|
|
- <div class="infoP">医院(药店)编号:</div>
|
94
|
|
- <div class="infoP">名称:{{orgname}}</div>
|
95
|
|
- <div class="infoP">医生工号:</div>
|
96
|
|
- <div class="infoP">门诊流水号:</div>
|
97
|
|
- <div class="infoP">科别:{{list.p_info.departments?list.p_info.departments:''}}</div>
|
98
|
|
- <div class="infoP">处方单据号:</div>
|
99
|
|
- <div class="infoP">姓名:{{patient.name}}</div>
|
100
|
|
- <div class="infoP">医疗账号:</div>
|
101
|
|
- <div class="infoP">医疗类别:普通</div>
|
102
|
|
- </div>
|
103
|
|
- <div class="chargeBox">
|
104
|
|
- <div style="display:flex;justify-content: space-between;border-bottom:1px solid #000;">
|
105
|
|
- <div class="chargeUl" style="width:20%;">
|
106
|
|
- <p style="width:50%;border-right:1px solid #000;">费用类型</p>
|
107
|
|
- <p style="width:50%;border-right:1px solid #000;">金额</p>
|
108
|
|
- </div>
|
109
|
|
- <div class="chargeUl" style="width:80%;" >
|
110
|
|
- <p style="width:40%;border-right:1px solid #000;">明细名称</p>
|
111
|
|
- <p style="width:15%;border-right:1px solid #000;">规格</p>
|
112
|
|
- <p style="width:15%;border-right:1px solid #000;">数量</p>
|
113
|
|
- <p style="width:15%;border-right:1px solid #000;">单价</p>
|
114
|
|
- <p style="width:15%;">金额</p>
|
115
|
|
- </div>
|
|
91
|
+ <div v-else>
|
|
92
|
+ <div class="printTitle">{{orgname}} 医药费收据及收费项目清单</div>
|
|
93
|
+ <div class="infoMain">
|
|
94
|
+ <div class="infoP">医院(药店)编号:</div>
|
|
95
|
+ <div class="infoP">名称:{{orgname}}</div>
|
|
96
|
+ <div class="infoP">医生工号:</div>
|
|
97
|
+ <div class="infoP">门诊流水号:</div>
|
|
98
|
+ <div class="infoP">科别:{{list.p_info.departments?list.p_info.departments:''}}</div>
|
|
99
|
+ <div class="infoP">处方单据号:</div>
|
|
100
|
+ <div class="infoP">姓名:{{patient.name}}</div>
|
|
101
|
+ <div class="infoP">医疗账号:</div>
|
|
102
|
+ <div class="infoP">医疗类别:普通</div>
|
116
|
103
|
</div>
|
117
|
|
- <div style="display:flex;justify-content: space-between;">
|
118
|
|
- <div style="width:20%;">
|
119
|
|
- <div class="chargeUl" v-for="(item,index) in 1" :key="index">
|
120
|
|
- <p style="width:50%;">材料费</p>
|
121
|
|
- <p style="width:50%;"></p>
|
122
|
|
- </div>
|
123
|
|
- <div class="chargeUl" style="border-top:1px solid #000;">
|
124
|
|
- <p style="width:50%;">费用合计</p>
|
125
|
|
- <p style="width:50%;">{{list.order_info.medfee_sumamt?list.order_info.medfee_sumamt:''}}</p>
|
126
|
|
- </div>
|
127
|
|
- <div class="chargeUl" style="border-top:1px solid #000;">
|
128
|
|
- <p style="width:50%;">记账支付</p>
|
129
|
|
- <p style="width:50%;"></p>
|
|
104
|
+ <div class="chargeBox">
|
|
105
|
+ <div style="display:flex;justify-content: space-between;border-bottom:1px solid #000;">
|
|
106
|
+ <div class="chargeUl" style="width:20%;">
|
|
107
|
+ <p style="width:50%;border-right:1px solid #000;">费用类型</p>
|
|
108
|
+ <p style="width:50%;border-right:1px solid #000;">金额</p>
|
130
|
109
|
</div>
|
131
|
|
- <div class="chargeUl" style="border-top:1px solid #000;">
|
132
|
|
- <p style="width:50%;">个人账号</p>
|
133
|
|
- <p style="width:50%;"></p>
|
134
|
|
- </div>
|
135
|
|
- <div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
|
136
|
|
- <p style="width:50%;">现金支付</p>
|
137
|
|
- <p style="width:50%;">{{list.order_info.psn_cash_pay}}</p>
|
|
110
|
+ <div class="chargeUl" style="width:80%;">
|
|
111
|
+ <p style="width:40%;border-right:1px solid #000;">明细名称</p>
|
|
112
|
+ <p style="width:15%;border-right:1px solid #000;">规格</p>
|
|
113
|
+ <p style="width:15%;border-right:1px solid #000;">数量</p>
|
|
114
|
+ <p style="width:15%;border-right:1px solid #000;">单价</p>
|
|
115
|
+ <p style="width:15%;">金额</p>
|
138
|
116
|
</div>
|
139
|
117
|
</div>
|
140
|
|
- <div style="width:80%;display:flex;height:300px;">
|
141
|
|
-
|
142
|
|
- <div style="border-left:1px solid #000;border-right:1px solid #000;width:40%;text-align:center;">
|
143
|
|
- <p v-for="(item,i) in prescription[0].advices" :key="i" class="chargeP">
|
144
|
|
- {{item.advice_name}}</p>
|
145
|
|
- </div>
|
146
|
|
- <div style="border-right:1px solid #000;width:15%;text-align:center;">
|
147
|
|
- <p v-for="(item,y) in prescription[0].advices" :key="y" class="chargeP">
|
148
|
|
- {{item.advice_desc}}</p>
|
|
118
|
+ <div style="display:flex;justify-content: space-between;">
|
|
119
|
+ <div style="width:20%;">
|
|
120
|
+ <div class="chargeUl" v-for="(item,index) in 1" :key="index">
|
|
121
|
+ <p style="width:50%;">材料费</p>
|
|
122
|
+ <p style="width:50%;"></p>
|
|
123
|
+ </div>
|
|
124
|
+ <div class="chargeUl" style="border-top:1px solid #000;">
|
|
125
|
+ <p style="width:50%;">费用合计</p>
|
|
126
|
+ <p style="width:50%;">
|
|
127
|
+ {{list.order_info.medfee_sumamt?list.order_info.medfee_sumamt:''}}</p>
|
|
128
|
+ </div>
|
|
129
|
+ <div class="chargeUl" style="border-top:1px solid #000;">
|
|
130
|
+ <p style="width:50%;">记账支付</p>
|
|
131
|
+ <p style="width:50%;"></p>
|
|
132
|
+ </div>
|
|
133
|
+ <div class="chargeUl" style="border-top:1px solid #000;">
|
|
134
|
+ <p style="width:50%;">个人账号</p>
|
|
135
|
+ <p style="width:50%;"></p>
|
|
136
|
+ </div>
|
|
137
|
+ <div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
|
|
138
|
+ <p style="width:50%;">现金支付</p>
|
|
139
|
+ <p style="width:50%;">{{list.order_info.psn_cash_pay}}</p>
|
|
140
|
+ </div>
|
149
|
141
|
</div>
|
150
|
|
- <div style="border-right:1px solid #000;width:15%;text-align:center;">
|
151
|
|
- <p v-for="(item,z) in prescription[0].advices" :key="z" class="chargeP">
|
152
|
|
- {{item.single_dose}}个</p>
|
153
|
|
- </div>
|
154
|
|
- <div style="border-right:1px solid #000;width:15%;text-align:center;">
|
155
|
|
- <p v-for="(item,f) in prescription[0].advices" :key="f" class="chargeP">{{item.price}}</p>
|
156
|
|
- </div>
|
157
|
|
- <div style="width:15%;text-align:center;">
|
158
|
|
- <p v-for="(item,d) in prescription[0].advices" :key="d" class="chargeP">{{item.single_dose *
|
159
|
|
- item.price}}</p>
|
|
142
|
+ <div style="width:80%;display:flex;height:300px;">
|
|
143
|
+
|
|
144
|
+ <div style="border-left:1px solid #000;border-right:1px solid #000;width:40%;text-align:center;">
|
|
145
|
+ <p v-for="(item,i) in prescription[0].advices" :key="i" class="chargeP">
|
|
146
|
+ {{item.advice_name}}</p>
|
|
147
|
+ </div>
|
|
148
|
+ <div style="border-right:1px solid #000;width:15%;text-align:center;">
|
|
149
|
+ <p v-for="(item,y) in prescription[0].advices" :key="y" class="chargeP">
|
|
150
|
+ {{item.advice_desc}}</p>
|
|
151
|
+ </div>
|
|
152
|
+ <div style="border-right:1px solid #000;width:15%;text-align:center;">
|
|
153
|
+ <p v-for="(item,z) in prescription[0].advices" :key="z" class="chargeP">
|
|
154
|
+ {{item.single_dose}}个</p>
|
|
155
|
+ </div>
|
|
156
|
+ <div style="border-right:1px solid #000;width:15%;text-align:center;">
|
|
157
|
+ <p v-for="(item,f) in prescription[0].advices" :key="f" class="chargeP">
|
|
158
|
+ {{item.price}}</p>
|
|
159
|
+ </div>
|
|
160
|
+ <div style="width:15%;text-align:center;">
|
|
161
|
+ <p v-for="(item,d) in prescription[0].advices" :key="d" class="chargeP">
|
|
162
|
+ {{item.single_dose *
|
|
163
|
+ item.price}}</p>
|
|
164
|
+ </div>
|
160
|
165
|
</div>
|
161
|
166
|
</div>
|
162
|
|
- </div>
|
163
|
167
|
|
164
|
|
- </div>
|
165
|
|
- <div class="moneyBox">
|
166
|
|
- <p>实收金:{{list.order_info.medfee_sumamt?list.order_info.medfee_sumamt:''}}</p>
|
167
|
|
- <p>记账前金额:{{list.order_info.preselfpay_amt?list.order_info.preselfpay_amt:''}}</p>
|
168
|
|
- <p>扣款金额:</p>
|
169
|
|
- <p>记账后金额:</p>
|
170
|
|
- <p>找赎金:</p>
|
171
|
|
- </div>
|
172
|
|
- <div class="actionBar">
|
173
|
|
- <div>收费员:{{}}</div>
|
174
|
|
- <div>日期:{{this.$route.query.record_date}}</div>
|
|
168
|
+ </div>
|
|
169
|
+ <div class="moneyBox">
|
|
170
|
+ <p>实收金:{{list.order_info.medfee_sumamt?list.order_info.medfee_sumamt:''}}</p>
|
|
171
|
+ <p>记账前金额:{{list.order_info.preselfpay_amt?list.order_info.preselfpay_amt:''}}</p>
|
|
172
|
+ <p>扣款金额:</p>
|
|
173
|
+ <p>记账后金额:</p>
|
|
174
|
+ <p>找赎金:</p>
|
|
175
|
+ </div>
|
|
176
|
+ <div class="actionBar">
|
|
177
|
+ <div>收费员:{{}}</div>
|
|
178
|
+ <div>日期:{{this.$route.query.record_date}}</div>
|
|
179
|
+ </div>
|
175
|
180
|
</div>
|
176
|
181
|
</div>
|
177
|
182
|
</div>
|
178
|
183
|
|
179
|
|
-
|
180
|
184
|
</template>
|
181
|
185
|
<script>
|
182
|
186
|
import axios from 'axios'
|
|
@@ -190,18 +194,17 @@
|
190
|
194
|
patient: {},
|
191
|
195
|
orgname: '',
|
192
|
196
|
|
193
|
|
- result:{},
|
194
|
|
- org_code:"",
|
195
|
|
- patient_name:"",
|
196
|
|
- doctor_code:"",
|
197
|
|
- doctor_name:"",
|
198
|
|
-
|
199
|
|
- name_arr:[],
|
200
|
|
- spec_arr:[],
|
201
|
|
- count_arr:[],
|
202
|
|
- price_arr:[],
|
203
|
|
- total_arr:[],
|
|
197
|
+ result: {},
|
|
198
|
+ org_code: '',
|
|
199
|
+ patient_name: '',
|
|
200
|
+ doctor_code: '',
|
|
201
|
+ doctor_name: '',
|
204
|
202
|
|
|
203
|
+ name_arr: [],
|
|
204
|
+ spec_arr: [],
|
|
205
|
+ count_arr: [],
|
|
206
|
+ price_arr: [],
|
|
207
|
+ total_arr: []
|
205
|
208
|
|
206
|
209
|
}
|
207
|
210
|
},
|
|
@@ -209,115 +212,113 @@
|
209
|
212
|
paramsObj: Object
|
210
|
213
|
},
|
211
|
214
|
methods: {
|
212
|
|
- getItemName(number){
|
|
215
|
+ getItemName(number) {
|
213
|
216
|
switch (number) {
|
214
|
|
- case "01":
|
215
|
|
- return "床位费"
|
|
217
|
+ case '01':
|
|
218
|
+ return '床位费'
|
216
|
219
|
break
|
217
|
|
- case "02":
|
218
|
|
- return "西药费"
|
|
220
|
+ case '02':
|
|
221
|
+ return '西药费'
|
219
|
222
|
|
220
|
223
|
break
|
221
|
|
- case "03":
|
222
|
|
- return "中药费"
|
|
224
|
+ case '03':
|
|
225
|
+ return '中药费'
|
223
|
226
|
|
224
|
227
|
break
|
225
|
|
- case "04":
|
226
|
|
- return "中成药费"
|
|
228
|
+ case '04':
|
|
229
|
+ return '中成药费'
|
227
|
230
|
|
228
|
231
|
break
|
229
|
|
- case "05":
|
230
|
|
- return "中草药费"
|
|
232
|
+ case '05':
|
|
233
|
+ return '中草药费'
|
231
|
234
|
|
232
|
235
|
break
|
233
|
|
- case "06":
|
234
|
|
- return "检查费"
|
|
236
|
+ case '06':
|
|
237
|
+ return '检查费'
|
235
|
238
|
|
236
|
239
|
break
|
237
|
|
- case "07":
|
238
|
|
- return "治疗费"
|
|
240
|
+ case '07':
|
|
241
|
+ return '治疗费'
|
239
|
242
|
|
240
|
243
|
break
|
241
|
|
- case "08":
|
242
|
|
- return "放射费"
|
|
244
|
+ case '08':
|
|
245
|
+ return '放射费'
|
243
|
246
|
|
244
|
247
|
break
|
245
|
|
- case "09":
|
246
|
|
- return "手术费"
|
|
248
|
+ case '09':
|
|
249
|
+ return '手术费'
|
247
|
250
|
|
248
|
251
|
break
|
249
|
|
- case "10":
|
250
|
|
- return "化验费"
|
|
252
|
+ case '10':
|
|
253
|
+ return '化验费'
|
251
|
254
|
|
252
|
255
|
break
|
253
|
|
- case "11":
|
254
|
|
- return "输血费"
|
|
256
|
+ case '11':
|
|
257
|
+ return '输血费'
|
255
|
258
|
|
256
|
259
|
break
|
257
|
|
- case "12":
|
258
|
|
- return "输氧费"
|
259
|
|
-
|
|
260
|
+ case '12':
|
|
261
|
+ return '输氧费'
|
260
|
262
|
|
261
|
263
|
break
|
262
|
|
- case "13":
|
263
|
|
- return "其它费"
|
|
264
|
+ case '13':
|
|
265
|
+ return '其它费'
|
264
|
266
|
|
265
|
267
|
break
|
266
|
|
- case "14":
|
267
|
|
- return "麻醉费"
|
|
268
|
+ case '14':
|
|
269
|
+ return '麻醉费'
|
268
|
270
|
|
269
|
271
|
break
|
270
|
|
- case "15":
|
271
|
|
- return "材料费"
|
|
272
|
+ case '15':
|
|
273
|
+ return '材料费'
|
272
|
274
|
|
273
|
275
|
break
|
274
|
|
- case "16":
|
275
|
|
- return "特殊检查费"
|
|
276
|
+ case '16':
|
|
277
|
+ return '特殊检查费'
|
276
|
278
|
|
277
|
279
|
break
|
278
|
|
- case "17":
|
279
|
|
- return "特殊治疗费"
|
|
280
|
+ case '17':
|
|
281
|
+ return '特殊治疗费'
|
280
|
282
|
|
281
|
283
|
break
|
282
|
|
- case "18":
|
283
|
|
- return "诊疗费(诊查费)"
|
|
284
|
+ case '18':
|
|
285
|
+ return '诊疗费(诊查费)'
|
284
|
286
|
|
285
|
287
|
break
|
286
|
|
- case "19":
|
287
|
|
- return "护理费"
|
|
288
|
+ case '19':
|
|
289
|
+ return '护理费'
|
288
|
290
|
|
289
|
291
|
break
|
290
|
|
- case "20":
|
291
|
|
- return "诊金"
|
|
292
|
+ case '20':
|
|
293
|
+ return '诊金'
|
292
|
294
|
|
293
|
295
|
break
|
294
|
|
- case "21":
|
295
|
|
- return "检查费(CT)"
|
|
296
|
+ case '21':
|
|
297
|
+ return '检查费(CT)'
|
296
|
298
|
|
297
|
299
|
break
|
298
|
|
- case "22":
|
299
|
|
- return "检查费(MRT)"
|
|
300
|
+ case '22':
|
|
301
|
+ return '检查费(MRT)'
|
300
|
302
|
|
301
|
303
|
break
|
302
|
|
- case "23":
|
303
|
|
- return "检查费(其他)"
|
|
304
|
+ case '23':
|
|
305
|
+ return '检查费(其他)'
|
304
|
306
|
|
305
|
307
|
break
|
306
|
|
- case "24":
|
307
|
|
- return "特需服务费"
|
|
308
|
+ case '24':
|
|
309
|
+ return '特需服务费'
|
308
|
310
|
|
309
|
311
|
break
|
310
|
|
- case "25":
|
311
|
|
- return "杂费"
|
|
312
|
+ case '25':
|
|
313
|
+ return '杂费'
|
312
|
314
|
|
313
|
315
|
break
|
314
|
|
- case "26":
|
315
|
|
- return "挂号费"
|
|
316
|
+ case '26':
|
|
317
|
+ return '挂号费'
|
316
|
318
|
break
|
317
|
319
|
|
318
|
320
|
}
|
319
|
321
|
|
320
|
|
-
|
321
|
322
|
},
|
322
|
323
|
getChargePrint(record_date, patient_id, prescription_id) {
|
323
|
324
|
var params = {
|
|
@@ -346,6 +347,7 @@
|
346
|
347
|
created() {
|
347
|
348
|
|
348
|
349
|
if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 9538) {
|
|
350
|
+ this.orgname = xtuser.org.org_name
|
349
|
351
|
var form = {
|
350
|
352
|
'order_id': this.paramsObj.order_id,
|
351
|
353
|
'patient_id': this.paramsObj.patient_id,
|
|
@@ -364,30 +366,25 @@
|
364
|
366
|
if (response.data.data.failed_code == -10) {
|
365
|
367
|
that.$message.error(response.data.data.msg)
|
366
|
368
|
} else {
|
367
|
|
- this.result = response.data.data.res
|
368
|
|
-
|
369
|
|
- this.org_code = response.data.data.org_code
|
370
|
|
- this.patient_name = response.data.data.patient_name
|
371
|
|
- this.doctor_code = response.data.data.doctor_code
|
372
|
|
- this.doctor_name = response.data.data.doctor_name
|
373
|
|
- this.name_arr = []
|
374
|
|
- this.spec_arr = []
|
375
|
|
- this.count_arr = []
|
376
|
|
- this.price_arr = []
|
377
|
|
- this.total_arr = []
|
378
|
|
- for(let i = 0;i < this.result.transBody.outputlist1.length; i++){
|
379
|
|
- this.name_arr.push(this.result.transBody.outputlist1[i].ake006)
|
380
|
|
- this.spec_arr.push(this.result.transBody.outputlist1[i].aka074)
|
381
|
|
- this.count_arr.push(this.result.transBody.outputlist1[i].akc226)
|
382
|
|
- this.price_arr.push(this.result.transBody.outputlist1[i].akc225)
|
383
|
|
- this.total_arr.push(this.result.transBody.outputlist1[i].akc264)
|
|
369
|
+ that.result = response.data.data.result
|
|
370
|
+
|
|
371
|
+ that.org_code = response.data.data.org_code
|
|
372
|
+ that.patient_name = response.data.data.patient_name
|
|
373
|
+ that.doctor_code = response.data.data.doctor_code
|
|
374
|
+ that.doctor_name = response.data.data.doctor_name
|
|
375
|
+ that.name_arr = []
|
|
376
|
+ that.spec_arr = []
|
|
377
|
+ that.count_arr = []
|
|
378
|
+ that.price_arr = []
|
|
379
|
+ that.total_arr = []
|
|
380
|
+ for (let i = 0; i < that.result.transBody.outputlist1.length; i++) {
|
|
381
|
+ that.name_arr.push(that.result.transBody.outputlist1[i].ake006)
|
|
382
|
+ that.spec_arr.push(that.result.transBody.outputlist1[i].aka074)
|
|
383
|
+ that.count_arr.push(that.result.transBody.outputlist1[i].akc226)
|
|
384
|
+ that.price_arr.push(that.result.transBody.outputlist1[i].akc225)
|
|
385
|
+ that.total_arr.push(that.result.transBody.outputlist1[i].akc264)
|
384
|
386
|
}
|
385
|
387
|
|
386
|
|
-
|
387
|
|
-
|
388
|
|
-
|
389
|
|
-
|
390
|
|
-
|
391
|
388
|
}
|
392
|
389
|
|
393
|
390
|
}
|