diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassPlanTeach/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassPlanTeach/Index.js index b08058c6e..66f93adae 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassPlanTeach/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassPlanTeach/Index.js @@ -98,6 +98,11 @@ var bootstrap = function ($, learun) { learun.alert.warning("不符合强制设置条件!"); return false; } + var EmpNoMain = $('#gridtable').jfGridValue('EmpNoMain'); + if (EmpNoMain) { + learun.alert.warning("已完成强制设置!"); + return false; + } learun.layerForm({ id: 'form', title: '强制设置教师',