From 82275ff8727175bba10473975c5d2efc108abee6 Mon Sep 17 00:00:00 2001 From: hwh2023 <598694955@qq.com> Date: Tue, 14 May 2024 17:10:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E7=BB=A9=E5=BD=95=E5=85=A5=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/StuScore/InputScoreIndexInTeacher.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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();