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