Преглед на файлове

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

yq1 преди 10 месеца
родител
ревизия
9543d07d9e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue

+ 1 - 1
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Целия файл

@@ -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)//