From b4dd47cfc48f824995737204cc4c71e89acc2da1 Mon Sep 17 00:00:00 2001 From: dyy <807692433@qq.com> Date: Thu, 8 Dec 2022 17:04:22 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E7=AD=BE=E7=AB=A0=E4=BC=98=E5=8C=96=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LR_NewWorkFlow/Views/StampInfo/StampDetailIndex.js | 9 +++++---- .../Views/StampPersonal/StampDetailIndex.js | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampInfo/StampDetailIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampInfo/StampDetailIndex.js index f450c9d91..8df798b6d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampInfo/StampDetailIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampInfo/StampDetailIndex.js @@ -54,15 +54,16 @@ var bootstrap = function ($, learun) { }; acceptClick = function (callBack) { var keyValue = $("#datagird").jfGridValue("F_StampId"); + if (!keyValue) { + learun.alert.error("请选择印章!"); + return false; + } if (!$('.lr-item').lrValidform()) { return false; } var postData = $('.lr-item').lrGetFormData(); var F_Password = $.md5(postData.F_Password); - if (!keyValue) { - learun.alert.error("请选择印章!"); - return false; - } + learun.postForm(top.$.rootUrl + '/LR_NewWorkFlow/StampInfo/EqualForm', { keyValue: keyValue, Password: F_Password }, function (res) { callBack(keyValue); }); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampPersonal/StampDetailIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampPersonal/StampDetailIndex.js index 4097f4849..9c2332f89 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampPersonal/StampDetailIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampPersonal/StampDetailIndex.js @@ -54,15 +54,16 @@ var bootstrap = function ($, learun) { }; acceptClick = function (callBack) { var keyValue = $("#datagird").jfGridValue("F_StampId"); + if (!keyValue) { + learun.alert.error("请选择印章!"); + return false; + } if (!$('.lr-item').lrValidform()) { return false; } var postData = $('.lr-item').lrGetFormData(); var F_Password = $.md5(postData.F_Password); - if (!keyValue) { - learun.alert.error("请选择印章!"); - return false; - } + learun.postForm(top.$.rootUrl + '/LR_NewWorkFlow/StampInfo/EqualForm', { keyValue: keyValue, Password: F_Password }, function (res) { callBack(keyValue); });