From cf622d6cb6c76f4cbee4be10288c22878d36a043 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期一, 16 十月 2023 10:38:59 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/PlayPai

---
 cloud-server-management/src/main/webapp/static/modular/system/tCompetition/tCompetition_info.js |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tCompetition/tCompetition_info.js b/cloud-server-management/src/main/webapp/static/modular/system/tCompetition/tCompetition_info.js
index 6653ae6..1618198 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/tCompetition/tCompetition_info.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/tCompetition/tCompetition_info.js
@@ -174,6 +174,11 @@
         return;
     }
     var shopId = $("#shopId").val();
+
+    if(shopId==""){
+        Feng.info("请选择门店");
+        return;
+    }
     var shopIdString = shopId.join(",");
     var name = $("#name").val();
     if(name==""){
@@ -305,6 +310,12 @@
         return;
     }
     var shopId = $("#shopId").val();
+    if(shopId==""){
+        Feng.info("请选择门店");
+        return;
+    }
+    var shopIdString = shopId.join(",");
+
     var name = $("#name").val();
     if(name==""){
         Feng.info("请输入赛事名称");
@@ -389,7 +400,7 @@
     ajax.set("id",$("#id").val());
     ajax.set("provinceCode",pCode);
     ajax.set("cityCode",cCode);
-    ajax.set("storeId",shopId);
+    ajax.set("storeId",shopIdString);
     ajax.set("name",name);
     ajax.set("sTime",startTime);
     ajax.set("eTime",endTime);

--
Gitblit v1.7.1