瀏覽代碼

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
             }
542
             }
543
           } else {
543
           } else {
544
             if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
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
             } else {
547
             } else {
548
               console.log(1234)
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
           if (scope.row.prescribing_number == 0) {
552
           if (scope.row.prescribing_number == 0) {