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

7月31,医生工作站处方总量问题

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

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

@@ -542,11 +542,11 @@
542 542
             }
543 543
           } else {
544 544
             if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
545
-              console.log(123)
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)
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
547 547
             } else {
548 548
               console.log(1234)
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)
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)// 
550 550
             }
551 551
           }
552 552
           if (scope.row.prescribing_number == 0) {