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