|
@@ -92,7 +92,7 @@
|
|
|
<div class="price">
|
|
|
<label></label>
|
|
|
<p>
|
|
|
- <span class="old_price">¥610.80</span>
|
|
|
+ <!--<span class="old_price">¥610.80</span>-->
|
|
|
<strong class="finally_price">¥0.00</strong>
|
|
|
</p>
|
|
|
</div>
|
|
@@ -511,20 +511,24 @@
|
|
|
}
|
|
|
$(".item_industry .label_for").text(buyerclassHtml);
|
|
|
}
|
|
|
- if(cycleunit !== "" && cycleunit !== undefined){
|
|
|
- if(cycleunit === 1){
|
|
|
- dateName = cyclecount + " 年";
|
|
|
- }else if(cycleunit === 2){
|
|
|
- dateName = cyclecount + " 个月";
|
|
|
- }
|
|
|
- $(".item_cycle .label_for").text(dateName);
|
|
|
- }
|
|
|
+// if(cycleunit !== "" && cycleunit !== undefined){
|
|
|
+// if(cycleunit === 1){
|
|
|
+// dateName = cyclecount + " 年";
|
|
|
+// }else if(cycleunit === 2){
|
|
|
+// dateName = cyclecount + " 个月";
|
|
|
+// }
|
|
|
+// $(".item_cycle .label_for").text(dateName);
|
|
|
+// }
|
|
|
if(startTime !== "" && endTime !== ""){
|
|
|
var start = startTime.replace(/-/g, ".");
|
|
|
var end = endTime.replace(/-/g, ".");
|
|
|
dateHtml = start + " - " + end;
|
|
|
$(".item_validity .label_for").text(dateHtml);
|
|
|
}
|
|
|
+ if(starts !== "" && ends !== ""){
|
|
|
+ let end = new Date(ends).toLocaleDateString();
|
|
|
+ console.log(end)
|
|
|
+ }
|
|
|
var val = monthPrice * 6
|
|
|
$(".computed_price").html("¥"+val.toFixed(1))
|
|
|
//
|
|
@@ -638,7 +642,7 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
+ $(".save_renew").attr("disabled","disabled");
|
|
|
var param = {
|
|
|
"area": JSON.stringify(area),
|
|
|
"industry": buyerclass.toString(),
|
|
@@ -653,6 +657,7 @@
|
|
|
clearSessionStorage();
|
|
|
onBridgeReady(JSON.parse(r.data.res),r.data.code);
|
|
|
}
|
|
|
+ $(".save_renew").removeAttr("disabled");
|
|
|
})
|
|
|
});
|
|
|
|