diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/EmailManagement/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/EmailManagement/Index.js index a8ebbe2ff..f241ed76d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/EmailManagement/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/EmailManagement/Index.js @@ -34,6 +34,12 @@ var bootstrap = function ($, learun) { $('#lr_edit').on('click', function () { var keyValue = $('#gridtable').jfGridValue('F_Id'); if (learun.checkrow(keyValue)) { + var F_EnabledMark = $('#gridtable').jfGridValue('F_EnabledMark'); + if (F_EnabledMark == "1") { + learun.alert.warning("当前项已启用,无法编辑!"); + return false; + } + learun.layerForm({ id: 'form', title: '编辑',