Bladeren bron

8月1,医生工作站处方总量问题

yq1 10 maanden geleden
bovenliggende
commit
9543d07d9e
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue

+ 1 - 1
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Bestand weergeven

@@ -543,7 +543,7 @@
543 543
           } else {
544 544
             if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
545 545
               console.log('123',scope.row.drug.dose)
546
-              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
546
+              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.dose
547 547
             } else {
548 548
               console.log(1234)
549 549
               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)//