Commit a0fd4e6e authored by zhengke's avatar zhengke

修改

parent 3ac22c29
......@@ -590,6 +590,7 @@
//首次优惠
var Count = ''
var currentPrice = Number(100 - this.priceObj.courseObj.B2CRatio) * this.priceObj.courseObj.SellPrice / 100;
var currrntXufei = Number(100 - this.priceObj.courseObj.B2CReNewRatio) * this.priceObj.courseObj.SellPrice / 100;
if (type == 3) {
if (this.priceObj.courseObj.B2BRebateRatio) {
let num = currentPrice * Number(this.priceObj.courseObj.B2BRebateRatio) / 100;
......@@ -599,7 +600,7 @@
}
if (type == 4) {
if (this.priceObj.courseObj.B2BReNewRatio) {
let num = currentPrice * Number(this.priceObj.courseObj.B2BReNewRatio) / 100;
let num = currrntXufei * Number(this.priceObj.courseObj.B2BReNewRatio) / 100;
Count = num.toFixed(2);
return Count;
}
......@@ -613,7 +614,7 @@
}
if (type == 6) {
if (this.priceObj.courseObj.SchoolReNewRatio) {
let num = currentPrice * Number(this.priceObj.courseObj.SchoolReNewRatio) / 100;
let num = currrntXufei * Number(this.priceObj.courseObj.SchoolReNewRatio) / 100;
Count = num.toFixed(2);
return Count;
}
......@@ -627,7 +628,7 @@
}
if (type == 8) {
if (this.priceObj.courseObj.TransIntroductceReNewRatio) {
let num = currentPrice * Number(this.priceObj.courseObj.TransIntroductceReNewRatio) / 100;
let num = currrntXufei * Number(this.priceObj.courseObj.TransIntroductceReNewRatio) / 100;
Count = num.toFixed(2);
return Count;
}
......@@ -641,7 +642,7 @@
}
if (type == 10) {
if (this.priceObj.courseObj.InnerRecommendReNewRatio) {
let num = currentPrice * Number(this.priceObj.courseObj.InnerRecommendReNewRatio) / 100;
let num = currrntXufei * Number(this.priceObj.courseObj.InnerRecommendReNewRatio) / 100;
Count = num.toFixed(2);
return Count;
}
......@@ -655,7 +656,7 @@
}
if (type == 12) {
if (this.priceObj.courseObj.B2CRNRatio) {
let num = currentPrice * Number(this.priceObj.courseObj.B2CRNRatio) / 100;
let num = currrntXufei * Number(this.priceObj.courseObj.B2CRNRatio) / 100;
Count = num.toFixed(2);
return Count;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment