From 1e5eee8c5bebf75a98b9f939329e48863d9abdf3 Mon Sep 17 00:00:00 2001 From: ndbs Date: Thu, 21 Jul 2022 14:20:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=94=9F=E4=BF=A1=E6=81=AF=20?= =?UTF-8?q?=E6=80=BB=E5=88=86=E7=B4=AF=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/StuInfoFresh/Form.cshtml | 2 +- .../EducationalAdministration/Views/StuInfoFresh/Form.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.cshtml index 212155cab..754bfa7d3 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.cshtml @@ -94,7 +94,7 @@
高考总分 *
- +
语文成绩
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js index c0321d48e..6451fe1c3 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js @@ -147,7 +147,6 @@ var bootstrap = function ($, learun) { $("#photoBtn").on('click', function () { takeImg(); }); - }, initData: function () { if (!!keyValue) { @@ -176,6 +175,11 @@ var bootstrap = function ($, learun) { return false; } + var Score1 = $('#ChineseScore').val(); + var Score2 = $('#MathScore').val(); + var Score3 = $('#ForeignLangScore').val(); + var Score4 = $('#ComprehensiveScore').val(); + $('#HighAmountScore').val(Number(Score1) + Number(Score2) + Number(Score3) + Number(Score4)); var postData = {}; postData.strEntity = JSON.stringify($('[data-table="StuInfoFresh"]').lrGetFormData()); postData.strstuInfoFreshEmergePeopleList = JSON.stringify($('#StuInfoFreshEmergePeople').jfGridGet('rowdatas'));