Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 years ago
parent
commit
fc1e6d9eea
1 changed files with 74 additions and 44 deletions
  1. 74 44
      src/xt_pages/outpatientCharges/outpatientChargesManagement.vue

+ 74 - 44
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -114,11 +114,25 @@
114 114
 
115 115
 
116 116
                     <div v-if="this.$store.getters.xt_user.org_id != 9504 && this.$store.getters.xt_user.org_id != 10028 && this.$store.getters.xt_user.org_id != 10138">
117
-                        <el-button size="small" @click="open(3)" type="primary">打印</el-button>
117
+                        <el-button size="small" @click="open(3)" type="primary" v-if="this.radio == 2">打印</el-button>
118 118
                         <el-button v-loading="loadingone" size="small"
119 119
                                    @click="open(6)"
120 120
                                    type="primary">挂号
121 121
                         </el-button>
122
+
123
+                        <!--<el-button-->
124
+                        <!--size="small" @click="open(8)" type="primary"-->
125
+                        <!--&gt;预结算-->
126
+                        <!--</el-button>-->
127
+
128
+
129
+                        <!--<el-button v-loading="loadingtwo"-->
130
+                        <!--v-if="(this.hisPatientInfo.id > 0 && this.order.id == 0) || this.order.order_status == 1 ||  this.order.order_status == 3"-->
131
+                        <!--size="small"-->
132
+                        <!--@click="open(4)"-->
133
+                        <!--type="primary">收费-->
134
+                        <!--</el-button>-->
135
+
122 136
                         <el-button size="small" @click="open(5)" type="primary"
123 137
                                    v-if="this.radio == 2  && this.hisPatientInfo.id > 0 && this.order.id > 0 &&  this.order.order_status == 2">
124 138
                             退费
@@ -136,6 +150,12 @@
136 150
                         >退号
137 151
                         </el-button>
138 152
 
153
+                        <!--<el-button-->
154
+                        <!--v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919  || this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 9674   || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 9990"-->
155
+                        <!--size="small" @click="open(11)" type="primary"-->
156
+                        <!--&gt;撤销明细-->
157
+                        <!--</el-button>-->
158
+
139 159
                     </div>
140 160
                     <!--<el-button size="small" @click="query" type="primary"-->
141 161
                     <!--&gt;查询-->
@@ -167,32 +187,32 @@
167 187
                                             </el-tab-pane>
168 188
 
169 189
                                             <div style="margin-bottom:10px;float: right">
170
-                                                <el-button
171
-                                                        v-if="(hisPatientInfo.id > 0 &&  items.prescriptions[0].order.id == 0) "
172
-
173
-                                                        size="small"
174
-                                                        @click="sz_open(8,items.med_type,items.prescriptions[0].order)"
175
-                                                        type="primary"
176
-                                                >预结算
177
-                                                </el-button>
178
-
179
-                                                <el-button
180
-                                                        v-if="order.order_status == 1"
181
-                                                        size="small"
182
-                                                        @click="sz_open(7,items.med_type,items.prescriptions[0].order,items.prescriptions)"
183
-                                                        type="primary"
184
-                                                >撤销明细
185
-                                                </el-button>
186
-
187
-                                                <el-button
188
-                                                        v-if="(hisPatientInfo.id > 0 && items.prescriptions[0].order.id == 0) || items.prescriptions[0].order.order_status == 1"
189
-                                                        size="small"
190
-                                                        @click="sz_open(3,items.med_type,items.prescriptions[0].order,items.prescriptions)"
191
-                                                        type="primary">收费
192
-                                                </el-button>
193 190
 
194 191
 
195 192
                                                 <div v-if="org_id == 9504 || org_id == 10028 || org_id == 10138">
193
+                                                    <el-button
194
+                                                            v-if="(hisPatientInfo.id > 0 &&  items.prescriptions[0].order.id == 0) "
195
+
196
+                                                            size="small"
197
+                                                            @click="sz_open(8,items.med_type,items.prescriptions[0].order)"
198
+                                                            type="primary"
199
+                                                    >预结算
200
+                                                    </el-button>
201
+
202
+                                                    <el-button
203
+                                                            v-if="order.order_status == 1"
204
+                                                            size="small"
205
+                                                            @click="sz_open(7,items.med_type,items.prescriptions[0].order,items.prescriptions)"
206
+                                                            type="primary"
207
+                                                    >撤销明细
208
+                                                    </el-button>
209
+
210
+                                                    <el-button
211
+                                                            v-if="(hisPatientInfo.id > 0 && items.prescriptions[0].order.id == 0) || items.prescriptions[0].order.order_status == 1"
212
+                                                            size="small"
213
+                                                            @click="sz_open(3,items.med_type,items.prescriptions[0].order,items.prescriptions)"
214
+                                                            type="primary">收费
215
+                                                    </el-button>
196 216
 
197 217
 
198 218
 
@@ -209,12 +229,12 @@
209 229
                                                     <!--</el-button>-->
210 230
 
211 231
 
212
-                                                    <!--<el-button v-loading="loadingtwo"-->
213
-                                                               <!--v-if="(hisPatientInfo.id > 0 && items.prescriptions[0].order.id == 0) || items.prescriptions[0].order.order_status == 1 ||  items.prescriptions[0].order.order_status == 3"-->
214
-                                                               <!--size="small"-->
215
-                                                               <!--@click="open(4,items.med_type,items.prescriptions[0].order,items.prescriptions)"-->
216
-                                                               <!--type="primary">收费-->
217
-                                                    <!--</el-button>-->
232
+                                                    <el-button v-loading="loadingtwo"
233
+                                                               v-if="(hisPatientInfo.id > 0 && items.prescriptions[0].order.id == 0) || items.prescriptions[0].order.order_status == 1 ||  items.prescriptions[0].order.order_status == 3"
234
+                                                               size="small"
235
+                                                               @click="open(4,items.med_type,items.prescriptions[0].order,items.prescriptions)"
236
+                                                               type="primary">收费
237
+                                                    </el-button>
218 238
 
219 239
 
220 240
                                                     <!--<el-button-->
@@ -233,9 +253,18 @@
233 253
 
234 254
                                         <div class="costBox">
235 255
                                             <span>当前处方总费用:<span style="color:red;">{{items.total}}元</span></span>
236
-                                            <span>总费用:<span style="color:red;">{{ items.curPrescriptions.order.medfee_sumamt ?  items.curPrescriptions.order.medfee_sumamt:getTotalFour(items.prescriptions)?getTotalFour(items.prescriptions):'' }}元</span></span>
237
-                                            <span>基金支付:<span style="color:red;">{{ items.curPrescriptions.order.fund_pay_sumamt?items.curPrescriptions.order.fund_pay_sumamt:''}}元</span></span>
238
-                                            <span>个人支付:<span style="color:red;">{{ items.curPrescriptions.order.psn_cash_pay?items.curPrescriptions.order.psn_cash_pay:''}}元</span></span>
256
+                                            <!--<span>总费用:<span style="color:red;">{{ items.curPrescriptions.order.medfee_sumamt ?  items.curPrescriptions.order.medfee_sumamt:getTotalFour(items.prescriptions)?getTotalFour(items.prescriptions):'' }}元</span></span>-->
257
+                                            <!--<span>基金支付:<span style="color:red;">{{ items.curPrescriptions.order.fund_pay_sumamt?items.curPrescriptions.order.fund_pay_sumamt:''}}元</span></span>-->
258
+                                            <!--<span>个人支付:<span style="color:red;">{{ items.curPrescriptions.order.psn_cash_pay?items.curPrescriptions.order.psn_cash_pay:''}}元</span></span>-->
259
+
260
+
261
+                                            <span>医疗费总额:<span style="color:red;">{{ items.curPrescriptions.order.medfee_sumamt ?  items.curMonthPrescriptions.order.medfee_sumamt:getTotalFour(items.month_prescriptions)?getTotalFour(items.month_prescriptions):'' }}元</span></span>
262
+                                            <span>基金支付金额:<span style="color:red;">{{ items.curPrescriptions.order.fund_pay_sumamt?items.curMonthPrescriptions.order.fund_pay_sumamt:''}}元</span></span>
263
+                                            <span>个人账户支付金额:<span style="color:red;">{{ items.curPrescriptions.order.acct_pay?items.curMonthPrescriptions.order.acct_pay:''}}元</span></span>
264
+                                            <span>个人支付金额:<span style="color:red;">{{ items.curPrescriptions.order.psn_cash_pay?items.curPrescriptions.order.psn_cash_pay:''}}元</span></span>
265
+                                            <span>个人账户金额:<span style="color:red;">{{ items.curPrescriptions.order.account_price?items.curPrescriptions.order.account_price:''}}元</span></span>
266
+
267
+
239 268
 
240 269
                                             <span v-if="items.curPrescriptions.order_status  == 1">待结算</span>
241 270
                                             <span v-if="items.curPrescriptions.order_status  == 2">已结算</span>
@@ -398,14 +427,14 @@
398 427
                                             <div style="margin-bottom:10px;float: right">
399 428
                                                 <div v-if="org_id == 9504 || org_id == 10028 || org_id == 10138">
400 429
 
401
-                                                    <!--<el-button-->
402
-                                                            <!--v-if="(hisPatientInfo.id > 0 && items.curMonthPrescriptions.order.id == 0) "-->
430
+                                                    <el-button
431
+                                                            v-if="(hisPatientInfo.id > 0 && items.curMonthPrescriptions.order.id == 0) "
403 432
 
404
-                                                            <!--size="small"-->
405
-                                                            <!--@click="sz_open(8,items.med_type,items.curMonthPrescriptions.order)"-->
406
-                                                            <!--type="primary"-->
407
-                                                    <!--&gt;预结算-->
408
-                                                    <!--</el-button>-->
433
+                                                            size="small"
434
+                                                            @click="sz_open(8,items.med_type,items.curMonthPrescriptions.order)"
435
+                                                            type="primary"
436
+                                                    >预结算
437
+                                                    </el-button>
409 438
 
410 439
                                                     <el-button
411 440
                                                             v-if="order.order_status == 1"
@@ -463,11 +492,12 @@
463 492
                                                 <span>当前处方总费用:<span
464 493
                                                         style="color:red;">{{ items.month_total }}元</span></span>
465 494
 
466
-                                                <span>总费用:<span style="color:red;">{{ items.curMonthPrescriptions.order.medfee_sumamt ?  items.curMonthPrescriptions.order.medfee_sumamt:getTotalFour(items.month_prescriptions)?getTotalFour(items.month_prescriptions):'' }}元</span></span>
467
-                                                <span>基金支付:<span style="color:red;">{{ items.curMonthPrescriptions.order.fund_pay_sumamt?items.curMonthPrescriptions.order.fund_pay_sumamt:''}}元</span></span>
468
-                                                <span>个人支付:<span style="color:red;">{{ items.curMonthPrescriptions.order.psn_cash_pay?items.curMonthPrescriptions.order.psn_cash_pay:''}}元</span></span>
495
+                                                <span>医疗费总额:<span style="color:red;">{{ items.curMonthPrescriptions.order.medfee_sumamt ?  items.curMonthPrescriptions.order.medfee_sumamt:getTotalFour(items.month_prescriptions)?getTotalFour(items.month_prescriptions):'' }}元</span></span>
496
+                                                <span>基金支付金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.fund_pay_sumamt?items.curMonthPrescriptions.order.fund_pay_sumamt:''}}元</span></span>
497
+                                                <span>个人账户支付金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.acct_pay?items.curMonthPrescriptions.order.acct_pay:''}}元</span></span>
498
+                                                <span>个人支付金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.psn_cash_pay?items.curMonthPrescriptions.order.psn_cash_pay:''}}元</span></span>
499
+                                                <span>个人账户金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.account_price?items.curMonthPrescriptions.order.account_price:''}}元</span></span>
469 500
 
470
-                                                <!--<span>{{ state }}</span>-->
471 501
                                             </div>
472 502
 
473 503
                                         </el-tabs>