|
@@ -450,7 +450,7 @@
|
|
|
var as = nowMonths +1
|
|
|
if(as > 12){
|
|
|
as = nowMonths-12;
|
|
|
- nowYear = nowYears +1;
|
|
|
+ nowYears = nowYears +1;
|
|
|
}
|
|
|
var bs = nowYears+"/"+as+"/1";
|
|
|
var effects = new Date(bs).getTime() /1000;
|
|
@@ -715,6 +715,19 @@
|
|
|
sessionStorage.proPrice = proPrice;
|
|
|
FinallyPrice();
|
|
|
})
|
|
|
+ //
|
|
|
+ $("#buy").on("click", function(){
|
|
|
+ if(!$("#buy").prop("checked")){
|
|
|
+ if($(".save_upgrade").attr("disabled")!=="undefined"){
|
|
|
+ $(".save_upgrade").attr("disabled",true);
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ if(sessionStorage.vipSubSelectAreaUpgrade!==undefined || sessionStorage.vipSubSelectIndustryUpgrade!==undefined || (sessionStorage.upgrade_cycleunit!==undefined&&sessionStorage.upgrade_cycleunit!=="")){
|
|
|
+ $(".save_upgrade").removeAttr("disabled");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ //
|
|
|
//新增区域
|
|
|
if(sessionStorage.vipSubSelectAreaUpgrade!==""&&sessionStorage.vipSubSelectAreaUpgrade!==undefined){
|
|
|
var vipSubSelectArea = JSON.parse(sessionStorage.vipSubSelectAreaUpgrade);
|
|
@@ -1159,6 +1172,7 @@
|
|
|
cPrice = 0;
|
|
|
}
|
|
|
$(".finally_price").html("¥"+cPrice);
|
|
|
+ //
|
|
|
if (cPrice>0){
|
|
|
$(".save_upgrade").removeAttr('disabled');
|
|
|
}
|