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');