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
c7aa0d2bbd

+ 3 - 3
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -133,7 +133,7 @@
133 133
                                                             </el-button>
134 134
                                                             <el-button
135 135
                                                                     v-if="items.curPrescriptions.order.order_status == 1 && items.curPrescriptions.order.is_pre == 1 && hisPatientInfo.balance_accounts_type != 2"
136
-                                                                    size="small" @click="open(11)" type="primary"
136
+                                                                    size="small" @click="open(11,items.med_type,items.prescriptions[0].order,items.prescriptions)" type="primary"
137 137
                                                             >撤销明细
138 138
                                                             </el-button>
139 139
                                                             <!--<div>{{ items.curPrescriptions.order.order_status}}</div>-->
@@ -159,7 +159,7 @@
159 159
 
160 160
 
161 161
                                                 <span>医疗费总额:<span style="color:red;">{{ items.curPrescriptions.order.medfee_sumamt ?  items.curPrescriptions.order.medfee_sumamt:getTotalFour(items.prescriptions)?getTotalFour(items.prescriptions):'' }}元</span></span>
162
-                                                <span>基金支付金额:<span style="color:red;">{{ items.curPrescriptions.order.fund_pay_sumamt?items.curPrescriptions.order.fund_pay_sumamt:''}}元</span></span>
162
+                                                <span>基金支付金额:<span style="color:red;">{{ items.curPrescriptions.order.hifp_pay?items.curPrescriptions.order.hifp_pay:''}}元</span></span>
163 163
                                                 <span>个人账户支付金额:<span style="color:red;">{{ items.curPrescriptions.order.acct_pay?items.curPrescriptions.order.acct_pay:''}}元</span></span>
164 164
                                                 <span v-if="hisPatientInfo.balance_accounts_type != 2">个人支付金额:<span
165 165
                                                         style="color:red;">{{ items.curPrescriptions.order.psn_cash_pay?items.curPrescriptions.order.psn_cash_pay:''}}元</span></span>
@@ -323,7 +323,7 @@
323 323
                                                   style="color:red;">{{ items.month_total }}元</span></span>
324 324
 
325 325
                                                 <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>
326
-                                                <span>基金支付金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.fund_pay_sumamt?items.curMonthPrescriptions.order.fund_pay_sumamt:''}}元</span></span>
326
+                                                <span>基金支付金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.hifp_pay?items.curMonthPrescriptions.order.hifp_pay:''}}元</span></span>
327 327
                                                 <span>个人账户支付金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.acct_pay?items.curMonthPrescriptions.order.acct_pay:''}}元</span></span>
328 328
                                                 <!--<span>个人支付金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.psn_cash_pay?items.curMonthPrescriptions.order.psn_cash_pay:''}}元</span></span>-->
329 329
 

+ 7 - 7
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue View File

@@ -402,12 +402,12 @@
402 402
             scope.row.prescribing_number = scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)
403 403
           }else{
404 404
             console.log(12)
405
-            scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1)) * (scope.row.day ? scope.row.day : 1) / scope.row.drug.min_number) 
405
+            scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1)) * (scope.row.day ? scope.row.day : 1) / scope.row.drug.min_number)
406 406
           }
407 407
         }else{
408 408
           if(scope.row.prescribing_number_unit == scope.row.drug.min_unit){
409 409
             console.log(123)
410
-            scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)) / scope.row.drug.dose) 
410
+            scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)) / scope.row.drug.dose)
411 411
           }else{
412 412
             console.log(1234)
413 413
             scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)) / scope.row.drug.dose / scope.row.drug.min_number)
@@ -427,7 +427,7 @@
427 427
           }
428 428
           // scope.row.retail_price = scope.row.drug.retail_price * scope.row.prescribing_number
429 429
         }
430
-        
430
+
431 431
       },
432 432
       getPrescribingNumberUnit(scope){
433 433
 
@@ -436,11 +436,11 @@
436 436
         //   if(scope.row.prescribing_number_unit == scope.row.drug.min_unit){
437 437
         //     scope.row.prescribing_number = scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day
438 438
         //   }else{
439
-        //     scope.row.prescribing_number = Math.ceil((scope.row.single_dose * this.getNum(scope.row.execution_frequency)) * scope.row.day / scope.row.drug.min_number) 
439
+        //     scope.row.prescribing_number = Math.ceil((scope.row.single_dose * this.getNum(scope.row.execution_frequency)) * scope.row.day / scope.row.drug.min_number)
440 440
         //   }
441 441
         // }else{
442 442
         //   if(scope.row.prescribing_number_unit == scope.row.drug.min_unit){
443
-        //     scope.row.prescribing_number = Math.ceil((scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day) / scope.row.drug.dose) 
443
+        //     scope.row.prescribing_number = Math.ceil((scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day) / scope.row.drug.dose)
444 444
         //   }else{
445 445
         //     scope.row.prescribing_number = Math.ceil((scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day) / scope.row.drug.dose / scope.row.drug.min_number)
446 446
         //   }
@@ -482,7 +482,7 @@
482 482
         if(this.prescription.project[scope.$index].total == 0){
483 483
           this.prescription.project[scope.$index].total = 1
484 484
         }
485
-        
485
+
486 486
       },
487 487
       getNum(execution_frequency){
488 488
         let arr = [
@@ -527,7 +527,7 @@
527 527
     watch:{
528 528
       "prescription.advices":{
529 529
         handler(newVal,oldVal){
530
-          
530
+
531 531
         },
532 532
         deep:true
533 533
       },