zhijiezhao 3 years ago
parent
commit
1c8ca2336c
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/main/webapp/WEB-INF/views/modules/coupon/MoneyCouponForm.jsp

+ 4 - 3
src/main/webapp/WEB-INF/views/modules/coupon/MoneyCouponForm.jsp

@@ -407,7 +407,8 @@
         </c:forEach>
 
         if (imageList.length > 0) {
-            $('#contentTableProduct').show();
+            $('.productData').show();
+            $('#contentTable').show();
             batchSaveSort();
         }
 
@@ -590,7 +591,7 @@
             imageList.splice(index, 1);
             insertHtmlProduct(imageList);
             if (imageList.length == 0) {
-                $('#contentTableProduct').hide();
+                $('#contentTable').hide();
                 $("#del").attr("disabled", "disabled");
             }
         });
@@ -619,7 +620,7 @@
                 imageList.splice(thisIndex, 1);
                 insertHtmlProduct(imageList);
                 if (imageList.length == 0) {
-                    $('#contentTableProduct').hide();
+                    $('#contentTable').hide();
                     $("#del").attr("disabled", "disabled");
                 }
             });