From c8f460c3ac79e165e967af7f73da36474c44ffe4 Mon Sep 17 00:00:00 2001 From: ndbs Date: Fri, 25 Feb 2022 09:57:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=B1=8D=E5=BC=82=E5=8A=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=99=8D=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/StuInfoBasicChange/Form.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js index 65a3db7e1..e9c0f7378 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js @@ -33,7 +33,7 @@ var bootstrap = function ($, learun) { $("#NewClassNo").siblings('div').html($("#NewClassNo").siblings('div').attr('data-title') + '*'); $(".NewContainer").show(); $(".NewSchool").hide(); - if (item.id === "01") { //留级 + if (item.id === "01" || item.id === "06") { //留级,降级 $(".NewSchool").hide(); $(".NewContainer").find('.contentDiv.zhuanban').removeAttr('readonly'); $("#NewDeptNo").lrselectSet($("#DeptNo").lrselectGet()); @@ -44,7 +44,7 @@ var bootstrap = function ($, learun) { $(".NewContainer").find('.contentDiv').removeAttr("isvalid"); $(".NewContainer").find('.contentDiv').removeAttr("checkexpession"); $(".NewContainer").find('.contentDiv').removeAttr('readonly'); - $(".NewSchool").find('.OutSchool').attr("isvalid",'yes'); + $(".NewSchool").find('.OutSchool').attr("isvalid", 'yes'); $(".NewSchool").find('.OutSchool').attr("checkexpession"); $(".NewSchool").find('.OutSchool').attr('readonly'); } else if (item.id === "03") { //复学 @@ -52,7 +52,13 @@ var bootstrap = function ($, learun) { $(".NewContainer").find('.contentDiv').removeAttr('readonly'); $(".NewSchool").find('.OutSchool').attr("isvalid", "Null"); $('#OutSchool').val(''); - } else { //退学、休学、转校 + } else if (item.id === "04") { //转入 + $(".NewSchool").hide(); + $(".NewContainer").find('.contentDiv').removeAttr('readonly'); + $(".NewSchool").find('.OutSchool').attr("isvalid", "Null"); + $('#OutSchool').val(''); + } + else { //退学、休学、转校 $(".NewContainer").find('.contentDiv').removeAttr("isvalid"); $(".NewContainer").find('.contentDiv').removeAttr("checkexpession"); $(".NewContainer").find('.contentDiv').removeAttr('readonly');