...
|
...
|
@@ -90,7 +90,7 @@ function orderCompute() { |
|
|
if (!res) {
|
|
|
tip.show('网络出错');
|
|
|
} else {
|
|
|
if (res.order_amount) {
|
|
|
/*if (res.order_amount) {
|
|
|
res.order_amount = (+res.order_amount).toFixed(2);
|
|
|
}
|
|
|
if (res.discount_amount) {
|
...
|
...
|
@@ -98,14 +98,9 @@ function orderCompute() { |
|
|
}
|
|
|
if (res.last_order_amount) {
|
|
|
res.last_order_amount = (+res.last_order_amount).toFixed(2);
|
|
|
}
|
|
|
}*/
|
|
|
priceHtml = priceTmpl({
|
|
|
sumPrice: res.order_amount,
|
|
|
salePrice: res.discount_amount,
|
|
|
freight: res.promotion_formula_list[1].promotion_amount,
|
|
|
couponPrice: res.coupon_amount,
|
|
|
yohoCoin: res.use_yoho_coin,
|
|
|
price: res.last_order_amount
|
|
|
cartPayData: res.promotion_formula_list
|
|
|
});
|
|
|
|
|
|
$price.html(priceHtml);
|
...
|
...
|
|