From 4a1fb1968c9c7a22938b2e1c5edc920adf8e3034 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期三, 31 一月 2024 15:40:42 +0800
Subject: [PATCH] 修改bug

---
 ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/userActivity/addRegist.js |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/userActivity/addRegist.js b/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/userActivity/addRegist.js
index 61af383..40c8f52 100644
--- a/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/userActivity/addRegist.js
+++ b/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/userActivity/addRegist.js
@@ -103,7 +103,15 @@
     }
 
     var id1=$("#id1").val();
+    if((null == id1 || '' == id1) && '' != num2){
+        Feng.error("请选择通用优惠券");
+        return;
+    }
     var id2=$("#id2").val();
+    if((null == id2 || '' == id2) && '' != num4){
+        Feng.error("请选择专车优惠券");
+        return;
+    }
     var id3=$("#id3").val();
     var id4=$("#id4").val();
     var obj = $("#obj").val();

--
Gitblit v1.7.1