From f87aa54781ea269e6be1f74d013c18f5091a8c80 Mon Sep 17 00:00:00 2001 From: nickchange <126672920+nickchange@users.noreply.github.com> Date: 星期五, 13 十月 2023 16:48:23 +0800 Subject: [PATCH] 10.13bug1 --- 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