1
This commit is contained in:
@@ -437,8 +437,9 @@ export default {
|
||||
},
|
||||
// 总合格率
|
||||
passRate() {
|
||||
let _totalQuantity = this.totalQuantity * 1.0
|
||||
if (this.totalQuantity > 0) {
|
||||
return Math.ceil((this.totalQualifiedNumber / this.totalQuantity) * 100) + '%'
|
||||
return ((this.totalQualifiedNumber / _totalQuantity) * 100).toFixed(1) + '%'
|
||||
} else {
|
||||
return '0%'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user