From c57b190fc25367f3c1c964ae07d5599b9de7af98 Mon Sep 17 00:00:00 2001
From: zhichao lei <442149704@qq.com>
Date: Wed, 30 Dec 2020 11:34:00 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=AC=E6=96=87=E6=8E=A5?=
=?UTF-8?q?=E6=94=B6=E5=8F=AA=E8=83=BD=E6=8F=90=E4=BA=A4=E4=B8=80=E4=B8=AA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Areas/LR_OAModule/Views/Notice/IndexFlow.js | 6 +++++-
.../Learun.Application.Web/XmlConfig/database.config | 8 ++++----
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/IndexFlow.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/IndexFlow.js
index f729446e2..b18f486c8 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/IndexFlow.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/IndexFlow.js
@@ -115,7 +115,11 @@ var bootstrap = function ($, learun) {
// 提交
$('#lr_submit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('F_NewsId');
- if (learun.checkrow(keyValue)) {
+ if (keyValue.indexOf(',') > -1) {
+ learun.alert.warning('只能提交一个!');
+ return;
+ }
+ if (learun.checkrow(keyValue) ) {
var SendFlag = $('#gridtable').jfGridValue('F_Status');
if (SendFlag == "1" || SendFlag == "2") {
learun.alert.warning("当前项目已提交,请耐心等待审批!");
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config
index 5d293d24b..489b3b61f 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config
@@ -16,17 +16,17 @@
-
+
-
+