|
@@ -179,7 +179,7 @@
|
|
</p>
|
|
</p>
|
|
<p class="l-item paymoney">
|
|
<p class="l-item paymoney">
|
|
<span class="label" id="price">实付金额:</span>
|
|
<span class="label" id="price">实付金额:</span>
|
|
- <span class="payPrice value price">-</span><em class="qingdan valuationList"
|
|
|
|
|
|
+ <span class="payPrice value">-</span><em class="qingdan valuationList"
|
|
style="display:none">计费清单</em>
|
|
style="display:none">计费清单</em>
|
|
<span style="display: none;" class="refund-success-tip">退款成功</span>
|
|
<span style="display: none;" class="refund-success-tip">退款成功</span>
|
|
</p>
|
|
</p>
|
|
@@ -230,7 +230,10 @@
|
|
var cycle = ''
|
|
var cycle = ''
|
|
var cmap={1:"天",2:"月",3:"年",4:"季"}
|
|
var cmap={1:"天",2:"月",3:"年",4:"季"}
|
|
if (filterObjNew.buy_type && filterObjNew.buy_type==filterObjNew.give_type){
|
|
if (filterObjNew.buy_type && filterObjNew.buy_type==filterObjNew.give_type){
|
|
- cycle = parseInt(filterObjNew.buy_cycle||0) +parseInt(filterObjNew.give_cycle||0) +cmap[filterObjNew.buy_type]
|
|
|
|
|
|
+ var cycleNum = parseInt(filterObjNew.buy_cycle||0) +parseInt(filterObjNew.give_cycle||0)
|
|
|
|
+ if (cycleNum) {
|
|
|
|
+ cycle = cycleNum +cmap[filterObjNew.buy_type]
|
|
|
|
+ }
|
|
}else{
|
|
}else{
|
|
if (filterObjNew.buy_cycle>0){
|
|
if (filterObjNew.buy_cycle>0){
|
|
cycle+=filterObjNew.buy_cycle+cmap[filterObjNew.buy_type]
|
|
cycle+=filterObjNew.buy_cycle+cmap[filterObjNew.buy_type]
|
|
@@ -720,6 +723,10 @@
|
|
} else {
|
|
} else {
|
|
$('.cyclecount').parents('.l-item').hide()
|
|
$('.cyclecount').parents('.l-item').hide()
|
|
}
|
|
}
|
|
|
|
+ } else {
|
|
|
|
+ if (!filterObj.cyclecount) {
|
|
|
|
+ $('.cyclecount').parents('.l-item').hide()
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
if (r.data.order.order_status == 0) {
|
|
if (r.data.order.order_status == 0) {
|
|
@@ -731,7 +738,9 @@
|
|
$(".discountPrice").text('-¥'+ formatMoney(parseFloat(r.data.order.discount_price) / 100)+'元')
|
|
$(".discountPrice").text('-¥'+ formatMoney(parseFloat(r.data.order.discount_price) / 100)+'元')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- $(".payPrice").text("¥ " + formatMoney(parseFloat(r.data.order.pay_money || r.data.order.order_money) / 100) + "元");
|
|
|
|
|
|
+ if (r.data.order.pay_money) {
|
|
|
|
+ $(".payPrice").text("¥ " + formatMoney(parseFloat(r.data.order.pay_money) / 100) + "元");
|
|
|
|
+ }
|
|
//未支付
|
|
//未支付
|
|
$("#card-header-bg").addClass("bg nopay-bg")
|
|
$("#card-header-bg").addClass("bg nopay-bg")
|
|
$("#pageTitle").addClass("status")
|
|
$("#pageTitle").addClass("status")
|
|
@@ -746,6 +755,7 @@
|
|
window.location.href = "/weixin/pay/checkout_subvip?orderCode=" + orderCode + "&t=3";
|
|
window.location.href = "/weixin/pay/checkout_subvip?orderCode=" + orderCode + "&t=3";
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+ $(".payWay").text("公对公转账");
|
|
if (filterObj.transferV) {
|
|
if (filterObj.transferV) {
|
|
initImgView(filterObj.transferV)
|
|
initImgView(filterObj.transferV)
|
|
$(".payWay").html("公对公转账<span style='color: #2ABED1' onclick='showImg()'> 查看凭证</span>")
|
|
$(".payWay").html("公对公转账<span style='color: #2ABED1' onclick='showImg()'> 查看凭证</span>")
|
|
@@ -827,10 +837,14 @@
|
|
$(".discountPrice").text('-¥'+ formatMoney(parseFloat(r.data.order.discount_price) / 100)+'元')
|
|
$(".discountPrice").text('-¥'+ formatMoney(parseFloat(r.data.order.discount_price) / 100)+'元')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- $(".payPrice").text("¥ " + formatMoney(parseFloat(r.data.order.pay_money || r.data.order.order_money) / 100) + "元");
|
|
|
|
|
|
+ if (r.data.order.pay_money) {
|
|
|
|
+ $(".payPrice").text("¥ " + formatMoney(parseFloat(r.data.order.pay_money) / 100) + "元");
|
|
|
|
+ }
|
|
//P307 权益码兑换 支付金额 0
|
|
//P307 权益码兑换 支付金额 0
|
|
if(filterObj.badge=="exchange"){
|
|
if(filterObj.badge=="exchange"){
|
|
- $(".payPrice").text("¥ " + formatMoney(parseFloat(r.data.order.pay_money) / 100) + "元");
|
|
|
|
|
|
+ if (r.data.order.pay_money) {
|
|
|
|
+ $(".payPrice").text("¥ " + formatMoney(parseFloat(r.data.order.pay_money) / 100) + "元");
|
|
|
|
+ }
|
|
}
|
|
}
|
|
$("#card-header-bg").addClass("bg finish-bg")
|
|
$("#card-header-bg").addClass("bg finish-bg")
|
|
|
|
|