rabin 3 年之前
父节点
当前提交
b6948d497e
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/store/assets/pc/html/setGoodsNum.html

+ 2 - 0
app/store/assets/pc/html/setGoodsNum.html

@@ -375,6 +375,8 @@
             num += goods[i].num;
             total += goods[i].total;
         }
+        num = parseFloat(num).toFixed(2);
+        total = parseFloat(total).toFixed(2);
         $(".totalQuantity").html(num);
         $(".totalNum").html(total);
     }