|
@@ -182,16 +182,14 @@
|
|
|
}
|
|
|
//价格
|
|
|
var priceText = "¥ " + formatMoney((r.data.order_money / 100));
|
|
|
- $(".price").text(priceText);
|
|
|
- //if (r.data.order_status == 1) {
|
|
|
- // priceText = "¥ " + formatMoney((r.data.pay_money / 100));
|
|
|
- //}
|
|
|
$(".order_price").text(priceText);
|
|
|
+ priceText = priceText + "元";
|
|
|
+ $(".price").text(priceText);
|
|
|
if (r.data.order_status === 1) {
|
|
|
$("#card-header-bg").addClass("bg finish-bg")
|
|
|
$("#pageTitle").addClass("status")
|
|
|
$("#pageTitle").text("已完成");
|
|
|
- priceText = "¥ " + formatMoney((r.data.pay_money / 100));
|
|
|
+ priceText = "¥ " + formatMoney((r.data.pay_money / 100)) + "元";
|
|
|
//有效周期
|
|
|
$(".line_cycle").css("display", "");
|
|
|
console.log(r.data.pay_way, r.data.course_status, r.data.pay_way === "transferAccounts", r.data.course_status === 4)
|
|
@@ -230,7 +228,6 @@
|
|
|
}
|
|
|
|
|
|
$(".l-item.paymoney").css("display", "");
|
|
|
- $(".totalprice").text(priceText)
|
|
|
if (r.data.discount_price&&r.data.discount_price>0){
|
|
|
var totalmoney = Number(r.data.pay_money)+Number(r.data.discount_price)
|
|
|
priceText = "¥ " + formatMoney(totalmoney / 100) + "元";
|