|
|
|
|
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) {
|