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
                                                             </el-button>
133
                                                             </el-button>
134
                                                             <el-button
134
                                                             <el-button
135
                                                                     v-if="items.curPrescriptions.order.order_status == 1 && items.curPrescriptions.order.is_pre == 1 && hisPatientInfo.balance_accounts_type != 2"
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
                                                             </el-button>
138
                                                             </el-button>
139
                                                             <!--<div>{{ items.curPrescriptions.order.order_status}}</div>-->
139
                                                             <!--<div>{{ items.curPrescriptions.order.order_status}}</div>-->
159
 
159
 
160
 
160
 
161
                                                 <span>医疗费总额:<span style="color:red;">{{ items.curPrescriptions.order.medfee_sumamt ?  items.curPrescriptions.order.medfee_sumamt:getTotalFour(items.prescriptions)?getTotalFour(items.prescriptions):'' }}元</span></span>
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
                                                 <span>个人账户支付金额:<span style="color:red;">{{ items.curPrescriptions.order.acct_pay?items.curPrescriptions.order.acct_pay:''}}元</span></span>
163
                                                 <span>个人账户支付金额:<span style="color:red;">{{ items.curPrescriptions.order.acct_pay?items.curPrescriptions.order.acct_pay:''}}元</span></span>
164
                                                 <span v-if="hisPatientInfo.balance_accounts_type != 2">个人支付金额:<span
164
                                                 <span v-if="hisPatientInfo.balance_accounts_type != 2">个人支付金额:<span
165
                                                         style="color:red;">{{ items.curPrescriptions.order.psn_cash_pay?items.curPrescriptions.order.psn_cash_pay:''}}元</span></span>
165
                                                         style="color:red;">{{ items.curPrescriptions.order.psn_cash_pay?items.curPrescriptions.order.psn_cash_pay:''}}元</span></span>
323
                                                   style="color:red;">{{ items.month_total }}元</span></span>
323
                                                   style="color:red;">{{ items.month_total }}元</span></span>
324
 
324
 
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>
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
                                                 <span>个人账户支付金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.acct_pay?items.curMonthPrescriptions.order.acct_pay:''}}元</span></span>
327
                                                 <span>个人账户支付金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.acct_pay?items.curMonthPrescriptions.order.acct_pay:''}}元</span></span>
328
                                                 <!--<span>个人支付金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.psn_cash_pay?items.curMonthPrescriptions.order.psn_cash_pay:''}}元</span></span>-->
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
             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)
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
           }else{
403
           }else{
404
             console.log(12)
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
         }else{
407
         }else{
408
           if(scope.row.prescribing_number_unit == scope.row.drug.min_unit){
408
           if(scope.row.prescribing_number_unit == scope.row.drug.min_unit){
409
             console.log(123)
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
           }else{
411
           }else{
412
             console.log(1234)
412
             console.log(1234)
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)
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
           }
427
           }
428
           // scope.row.retail_price = scope.row.drug.retail_price * scope.row.prescribing_number
428
           // scope.row.retail_price = scope.row.drug.retail_price * scope.row.prescribing_number
429
         }
429
         }
430
-        
430
+
431
       },
431
       },
432
       getPrescribingNumberUnit(scope){
432
       getPrescribingNumberUnit(scope){
433
 
433
 
436
         //   if(scope.row.prescribing_number_unit == scope.row.drug.min_unit){
436
         //   if(scope.row.prescribing_number_unit == scope.row.drug.min_unit){
437
         //     scope.row.prescribing_number = scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day
437
         //     scope.row.prescribing_number = scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day
438
         //   }else{
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
         // }else{
441
         // }else{
442
         //   if(scope.row.prescribing_number_unit == scope.row.drug.min_unit){
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
         //   }else{
444
         //   }else{
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)
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
         if(this.prescription.project[scope.$index].total == 0){
482
         if(this.prescription.project[scope.$index].total == 0){
483
           this.prescription.project[scope.$index].total = 1
483
           this.prescription.project[scope.$index].total = 1
484
         }
484
         }
485
-        
485
+
486
       },
486
       },
487
       getNum(execution_frequency){
487
       getNum(execution_frequency){
488
         let arr = [
488
         let arr = [
527
     watch:{
527
     watch:{
528
       "prescription.advices":{
528
       "prescription.advices":{
529
         handler(newVal,oldVal){
529
         handler(newVal,oldVal){
530
-          
530
+
531
         },
531
         },
532
         deep:true
532
         deep:true
533
       },
533
       },