Commit 3e9cec3b authored by zhengke's avatar zhengke

1

parent 1365e3f1
......@@ -395,56 +395,56 @@
var currentPrice = Number(100 - this.priceObj.courseObj.B2CRatio) * this.priceObj.courseObj.SellPrice/100;
if (type == 3) {
if (this.priceObj.courseObj.B2BRebateRatio) {
let num = currentPrice * Number(100 - this.priceObj.courseObj.B2BRebateRatio) / 100;
let num = currentPrice * Number(this.priceObj.courseObj.B2BRebateRatio) / 100;
Count = num.toFixed(2);
return Count;
}
}
if (type == 4) {
if (this.priceObj.courseObj.B2BReNewRatio) {
let num = currentPrice * Number(100 - this.priceObj.courseObj.B2BReNewRatio) / 100;
let num = currentPrice * Number(this.priceObj.courseObj.B2BReNewRatio) / 100;
Count = num.toFixed(2);
return Count;
}
}
if (type == 5) {
if (this.priceObj.courseObj.SchoolRebateRatio) {
let num = currentPrice * Number(100 - this.priceObj.courseObj.SchoolRebateRatio) / 100;
let num = currentPrice * Number(this.priceObj.courseObj.SchoolRebateRatio) / 100;
Count = num.toFixed(2);
return Count;
}
}
if (type == 6) {
if (this.priceObj.courseObj.SchoolReNewRatio) {
let num = currentPrice * Number(100 - this.priceObj.courseObj.SchoolReNewRatio) / 100;
let num = currentPrice * Number(this.priceObj.courseObj.SchoolReNewRatio) / 100;
Count = num.toFixed(2);
return Count;
}
}
if (type == 7) {
if (this.priceObj.courseObj.TransIntroductceRatio) {
let num = currentPrice * Number(100 - this.priceObj.courseObj.TransIntroductceRatio) / 100;
let num = currentPrice * Number(this.priceObj.courseObj.TransIntroductceRatio) / 100;
Count = num.toFixed(2);
return Count;
}
}
if (type == 8) {
if (this.priceObj.courseObj.TransIntroductceReNewRatio) {
let num = currentPrice * Number(100 - this.priceObj.courseObj.TransIntroductceReNewRatio) / 100;
let num = currentPrice * Number(this.priceObj.courseObj.TransIntroductceReNewRatio) / 100;
Count = num.toFixed(2);
return Count;
}
}
if (type == 9) {
if (this.priceObj.courseObj.InnerRecommendRatio) {
let num = currentPrice * Number(100 - this.priceObj.courseObj.InnerRecommendRatio) / 100;
let num = currentPrice * Number(this.priceObj.courseObj.InnerRecommendRatio) / 100;
Count = num.toFixed(2);
return Count;
}
}
if (type == 10) {
if (this.priceObj.courseObj.InnerRecommendReNewRatio) {
let num = currentPrice * Number(100 - this.priceObj.courseObj.InnerRecommendReNewRatio) / 100;
let num = currentPrice * Number(this.priceObj.courseObj.InnerRecommendReNewRatio) / 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