|
@@ -381,6 +381,8 @@
|
|
num += goods[i].num;
|
|
num += goods[i].num;
|
|
cash += goods[i].p_price * goods[i].num;
|
|
cash += goods[i].p_price * goods[i].num;
|
|
}
|
|
}
|
|
|
|
+ num = parseFloat(num).toFixed(2);
|
|
|
|
+ cash = parseFloat(cash).toFixed(2);
|
|
$(".totalQuantity").html(num);
|
|
$(".totalQuantity").html(num);
|
|
$(".totalMoney").html(cash.toFixed(2));
|
|
$(".totalMoney").html(cash.toFixed(2));
|
|
}
|
|
}
|