Commit a7bc2933 by guanzhenshan

调整利润返回格式,保留两位小数

parent ca0342f6
...@@ -437,9 +437,9 @@ namespace Bailun.DC.Web.Controllers ...@@ -437,9 +437,9 @@ namespace Bailun.DC.Web.Controllers
data = new data = new
{ {
count = obj.id, count = obj.id,
amount_sales = obj.amount_sales, amount_sales = obj.amount_sales.ToString("#0.00"),
profit_total = obj.profit_total, profit_total = obj.profit_total.ToString("#0.00"),
profit_rate = obj.profit_rate profit_rate = (obj.profit_rate*100).ToString("#0.00"),
} }
}); });
} }
......
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