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

页面修改

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