zhijiezhao 3 年之前
父節點
當前提交
1c8ca2336c
共有 1 個文件被更改,包括 4 次插入3 次删除
  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");
                 }
             });