rabin 2 năm trước cách đây
mục cha
commit
5925c121f8
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      app/card/assets/pc/html/setGoods.html

+ 4 - 1
app/card/assets/pc/html/setGoods.html

@@ -199,8 +199,11 @@
     {
         var total = 0;
         for (var i in goods) {
-            total += 1;
+            if (goods[id].del == 1) {
+            	total += 1;
+            }
         }
+        //$(".totalQuantity").html(num);
         $(".totalNum").html(total);
     }
 </script>