Selaa lähdekoodia

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

yq1 10 kuukautta sitten
vanhempi
commit
9543d07d9e

+ 1 - 1
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Näytä tiedosto

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