|
@@ -730,7 +730,7 @@
|
|
if(courseOrder !== "true"){
|
|
if(courseOrder !== "true"){
|
|
if (isEntOrder=="true"){
|
|
if (isEntOrder=="true"){
|
|
self.text("已取消");
|
|
self.text("已取消");
|
|
- $(obj).parent(".card-footer").html(`<div></div>`)
|
|
|
|
|
|
+ $(obj).parent(".card-footer").html('<a onclick="renewalOrBuyAgain_ent(1,this)" class="btn cancle">再次购买</a>')
|
|
}else{
|
|
}else{
|
|
self.text("已取消");
|
|
self.text("已取消");
|
|
$(obj).parent(".card-footer").html('<a onclick="onceMore(this)" class="btn cancle">再次购买</a>')
|
|
$(obj).parent(".card-footer").html('<a onclick="onceMore(this)" class="btn cancle">再次购买</a>')
|
|
@@ -821,11 +821,15 @@
|
|
$('input:radio[name="way"]').click(function() {
|
|
$('input:radio[name="way"]').click(function() {
|
|
var checkValue = $('input:radio[name="way"]:checked').val();
|
|
var checkValue = $('input:radio[name="way"]:checked').val();
|
|
var order_code_vip=$(".order_code_vip").text();
|
|
var order_code_vip=$(".order_code_vip").text();
|
|
|
|
+ var order_code_ent=$(".order_code_ent").text();
|
|
if(checkValue=="微信支付"){
|
|
if(checkValue=="微信支付"){
|
|
localStorage.setItem($(".param_id").text(),"wx");
|
|
localStorage.setItem($(".param_id").text(),"wx");
|
|
if(order_code_vip){
|
|
if(order_code_vip){
|
|
localStorage.setItem(order_code_vip,"wx");
|
|
localStorage.setItem(order_code_vip,"wx");
|
|
}
|
|
}
|
|
|
|
+ if(order_code_ent){
|
|
|
|
+ localStorage.setItem(order_code_ent,"wx");
|
|
|
|
+ }
|
|
$("#wx").prop("checked",true);
|
|
$("#wx").prop("checked",true);
|
|
$("#zfb").prop("checked",false);
|
|
$("#zfb").prop("checked",false);
|
|
pay_way="wx_app";
|
|
pay_way="wx_app";
|
|
@@ -834,6 +838,9 @@
|
|
if(order_code_vip){
|
|
if(order_code_vip){
|
|
localStorage.setItem(order_code_vip,"ali");
|
|
localStorage.setItem(order_code_vip,"ali");
|
|
}
|
|
}
|
|
|
|
+ if(order_code_ent){
|
|
|
|
+ localStorage.setItem(order_code_ent,"wx");
|
|
|
|
+ }
|
|
$("#wx").prop("checked",false);
|
|
$("#wx").prop("checked",false);
|
|
$("#zfb").prop("checked",true);
|
|
$("#zfb").prop("checked",true);
|
|
pay_way="ali_app";
|
|
pay_way="ali_app";
|
|
@@ -2126,11 +2133,11 @@
|
|
iconHtml=""
|
|
iconHtml=""
|
|
if((i_ent_status==false)&&(obj.lastbuy_code_ent!=undefined)){
|
|
if((i_ent_status==false)&&(obj.lastbuy_code_ent!=undefined)){
|
|
iconHtml+='<div class="card-footer">'
|
|
iconHtml+='<div class="card-footer">'
|
|
- +'<a onclick="renewalOrBuyAgain_ent(2,this)" class="btn cancle">再次购买</a>'
|
|
|
|
|
|
+ +'<a onclick="renewalOrBuyAgain_ent(1,this)" class="btn cancle">再次购买</a>'
|
|
+'</div>'
|
|
+'</div>'
|
|
}else if((i_ent_status==true)&&(obj.lastbuy_code_ent!=undefined)){
|
|
}else if((i_ent_status==true)&&(obj.lastbuy_code_ent!=undefined)){
|
|
iconHtml+='<div class="card-footer">'
|
|
iconHtml+='<div class="card-footer">'
|
|
- +'<a onclick="renewalOrBuyAgain_ent(1,this)" class="btn cancle">续费</a>'
|
|
|
|
|
|
+ +'<a onclick="renewalOrBuyAgain_ent(2,this)" class="btn cancle">续费</a>'
|
|
+'</div>'
|
|
+'</div>'
|
|
}
|
|
}
|
|
}else if(order_status_ent==-2){
|
|
}else if(order_status_ent==-2){
|
|
@@ -2140,6 +2147,7 @@
|
|
orderHtml+="<a class=\"shanchu iconfont icon-shanchu\" title=\"删除订单\" onclick=\"deleteOrder(" + id_ent +",this)\"></a>";
|
|
orderHtml+="<a class=\"shanchu iconfont icon-shanchu\" title=\"删除订单\" onclick=\"deleteOrder(" + id_ent +",this)\"></a>";
|
|
iconHtml="";
|
|
iconHtml="";
|
|
iconHtml+='<div class="card-footer">'
|
|
iconHtml+='<div class="card-footer">'
|
|
|
|
+ +'<a onclick="renewalOrBuyAgain_ent(1,this)" class="btn cancle">再次购买</a>'
|
|
+'</div>'
|
|
+'</div>'
|
|
}
|
|
}
|
|
//
|
|
//
|