From b3707e4e40241b9f8626f1b0fedb49e7ef3304b0 Mon Sep 17 00:00:00 2001 From: dyy <807692433@qq.com> Date: Mon, 24 Oct 2022 17:32:43 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E5=AD=A6?= =?UTF-8?q?=E6=A0=A1=E9=82=AE=E7=AE=B1=E7=AE=A1=E7=90=86=EF=BC=9A=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=A2=9E=E5=8A=A0=E9=99=90=E5=88=B6=EF=BC=8C=E5=B7=B2?= =?UTF-8?q?=E5=90=AF=E7=94=A8=E6=97=A0=E6=B3=95=E7=BC=96=E8=BE=91=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PersonnelManagement/Views/EmailManagement/Index.js | 6 ++++++ 1 file changed, 6 insertions(+) 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: '编辑',