Authored by 毕凯

订单结算 价格显示.00

@@ -79,6 +79,9 @@ function orderCompute() { @@ -79,6 +79,9 @@ function orderCompute() {
79 if (!res) { 79 if (!res) {
80 tip.show('网络出错'); 80 tip.show('网络出错');
81 } else { 81 } else {
  82 + if (res.last_order_amount) {
  83 + res.last_order_amount = (+res.last_order_amount).toFixed(2);
  84 + }
82 priceHtml = priceTmpl({ 85 priceHtml = priceTmpl({
83 sumPrice: res.order_amount, 86 sumPrice: res.order_amount,
84 salePrice: res.discount_amount, 87 salePrice: res.discount_amount,