Commit 4b145d59 authored by 黄奎's avatar 黄奎

页面修改

parent 12bf3462
...@@ -985,13 +985,13 @@ namespace Edu.Module.Course ...@@ -985,13 +985,13 @@ namespace Edu.Module.Course
{ {
if (priceModel.PriceType == 0) if (priceModel.PriceType == 0)
{ {
SellPrice = SellPrice * (100 - priceModel.PriceMoney) / 100; SellPrice = Math.Round(SellPrice * (100 - priceModel.PriceMoney) / 100,2);
OriginalPrice = SellPrice * (100 - priceModel.PriceMoney) / 100; OriginalPrice = Math.Round(SellPrice * (100 - priceModel.PriceMoney) / 100,2);
} }
else else
{ {
SellPrice = SellPrice - priceModel.PriceMoney; SellPrice = Math.Round(SellPrice - priceModel.PriceMoney,2);
OriginalPrice = SellPrice - priceModel.PriceMoney; OriginalPrice = Math.Round(SellPrice - priceModel.PriceMoney, 2);
} }
} }
var obj = new var obj = new
......
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