diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndexInTeacher.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndexInTeacher.js index dca959dc2..d1ba7368f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndexInTeacher.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndexInTeacher.js @@ -477,7 +477,7 @@ var bootstrap = function ($, learun) { var TermEndScoreScale = $('#TermEndScoreScale').html(); var OtherScoreScale = $('#OtherScoreScale').html(); var totalScale = Number(OrdinaryScoreScale) + Number(TermInScoreScale) + Number(TermEndScoreScale) + Number(OtherScoreScale); - if (totalScale == 100) { + if (totalScale !== 100) { learun.alert.warning("成绩比例设置不合理!"); return false; } else { @@ -682,10 +682,10 @@ var bootstrap = function ($, learun) { } }; judgeSelect = function () { - //if (CanInputFlag != "True") { - // top.learun.layerConfirm('当前时间不是成绩录入时间!', function (res) { }); - // return false; - //} + if (CanInputFlag != "True") { + top.learun.layerConfirm('当前时间不是成绩录入时间!', function (res) { }); + return false; + } var $content = $('body').find('.lr-layout-tool-left'); var query = $content.lrGetFormData();