From edb2fff00f6990217f7c39ebc2adb611a1c60478 Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期六, 28 十月 2023 11:21:57 +0800
Subject: [PATCH] 10.28

---
 cloud-server-management/src/main/webapp/WEB-INF/view/system/advertisement/advertisement_edit.html |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/advertisement/advertisement_edit.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/advertisement/advertisement_edit.html
index 454942c..ac867b8 100644
--- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/advertisement/advertisement_edit.html
+++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/advertisement/advertisement_edit.html
@@ -44,7 +44,7 @@
 <script type="text/javascript" src="http://webapi.amap.com/maps?v=1.4.15&key=77b37f0753049c4e712ea79a24e0719c"></script>
 <div class="ibox float-e-margins">
     <input hidden id="roleType" value="${roleType}">
-    <input hidden id="type" value="${type}">
+    <input hidden id="type1" value="${type}">
     <input hidden id="turnId" value="${data.turnId}">
     <input hidden id="id" value="${data.id}">
     <input hidden id="img1" value="${data.img}">
@@ -204,6 +204,11 @@
 
             }
         });
+
+
+        if (oneId==2 || oneId==25|| oneId==27){
+            $("#t3").hide()
+        }
         ajax.set("id",oneId);
         ajax.start();
     }
@@ -222,7 +227,7 @@
     function updateT(e) {
         var oneId = $('#type option:selected').text();
         console.log(oneId);
-        if (oneId!="详情"){
+        if (oneId!="详情"&&oneId!="指定商品"&&oneId!="指定折扣"){
             $("#t3").hide()
         }else{
             $("#t3").show()

--
Gitblit v1.7.1