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

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

diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_add_two.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_add_two.html
index 377d70f..f0f25fa 100644
--- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_add_two.html
+++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_add_two.html
@@ -12,7 +12,7 @@
                         跳转模块
                     </button>
                 </div>
-                <select class="form-control" id="name" style="width: 400px;" onclick="updateType(this)">
+                <select class="form-control" id="name" style="width: 400px;" onchange="updateType(this)">
                     <option value="" selected disabled>选择跳转模块</option>
                     <option value="不跳转">不跳转</option>
                     <option value="加入玩湃">加入玩湃</option>
@@ -82,8 +82,9 @@
     function updateT(e) {
         var oneId = $('#type option:selected').text();
         console.log(oneId);
-        if (oneId!="详情"){
+        if (oneId!="详情"&&oneId!="指定商品"&&oneId!="指定折扣"){
             $("#t3").hide()
+            $("#t3").val("")
         }else{
             $("#t3").show()
         }
@@ -97,6 +98,9 @@
             $("#t1").hide()
             $("#t2").hide()
             $("#t3").hide()
+            $("#t1").val("")
+            $("#t2").val("")
+            $("#t3").val("")
         }else {
             $("#t1").show()
             $("#t2").show()
@@ -137,6 +141,7 @@
             }else{
                 console.log("=-======0000")
                 $("#t2").hide()
+                $("#t2").val("")
 
             }
         });

--
Gitblit v1.7.1