|
|
@ -385,7 +385,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let realScore = parseFloat(this.postForm.realScore)
|
|
|
|
let realScore = parseFloat(this.postForm.realScore)
|
|
|
|
this.postForm.realScore = realScore + parseFloat(row.realScore)
|
|
|
|
this.postForm.realScore = realScore + parseFloat(row.realScore)
|
|
|
|
this.postForm.percentageScore = this.postForm.realScore / this.postForm.totalScore * 100;
|
|
|
|
this.postForm.percentageScore = (this.postForm.realScore / this.postForm.totalScore * 100).toFixed(2);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
handleInput(row, props) {
|
|
|
|
handleInput(row, props) {
|
|
|
|
row.realScore = row.realScore.replace(/[^0-9.]/g, '');
|
|
|
|
row.realScore = row.realScore.replace(/[^0-9.]/g, '');
|
|
|
|