dever 3 lat temu
rodzic
commit
66a070192e
1 zmienionych plików z 7 dodań i 3 usunięć
  1. 7 3
      service/agent/assets/pc/html/setMemberGoods.html

+ 7 - 3
service/agent/assets/pc/html/setMemberGoods.html

@@ -223,9 +223,13 @@
 
     function add(id)
     {
-        goods[id].total += 1;
-        get(id).find('.goods_num').val(goods[id].total);
-        setTotal();
+        if (id.indexOf('_2') != -1 && id.indexOf('-') != -1) {
+            
+        } else {
+            goods[id].total += 1;
+            get(id).find('.goods_num').val(goods[id].total);
+            setTotal();
+        }
     }
     
     function dec(id)