From 640ff18d2d7f4be02ddb7f8f75e899f05545eb98 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 05 二月 2024 11:56:52 +0800
Subject: [PATCH] 更新bug修改

---
 cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_add_two.html |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 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 50c9381..f779cda 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
@@ -88,6 +88,12 @@
         }else{
             $("#t3").show()
         }
+        var page = $('#page option:selected').text();
+        if (page=="线上课得积分" || page=="看视频得奖励"){
+            if (oneId == "列表"){
+                $("#t3").show()
+            }
+        }
     }
 
     function updateType(e) {
@@ -100,15 +106,18 @@
             $("#t1").val("")
             $("#t2").val("")
             $("#t3").val("")
+            $("#type").val("")
+            $("#page").val("")
         }else {
             $("#t1").show()
             $("#t2").show()
             $("#t3").show()
-
+            $("#type").val("")
+            $("#page").val("")
             var oneId=$(e).val();
             var ajax = new $ax(Feng.ctxPath + "/tShop/typeChange", function(data){
                 if(data!=null){
-                    var content;
+                    var content= "<option value=''>请选择</option>";
                     $.each(data, function(k,v) {
                         content += "<option value='"+v.id+"'>"+v.name+"</option>";
                     });
@@ -130,7 +139,7 @@
             if(data!=null&&data.length>0){
                 $("#t2").show()
 
-                var content1;
+                var content1= "<option value=''>请选择</option>";
                 $.each(data, function(k,v) {
                     content1 += "<option value='"+v.id+"'>"+v.name+"</option>";
                 });

--
Gitblit v1.7.1