Commit ce340a12 by guanzhenshan

调整资产负债表的数字显示格式

parent 01164349
......@@ -49,6 +49,8 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
if (type == 2) //按周
{
date = date.AddDays(-1);
if (date.DayOfWeek == DayOfWeek.Saturday)
{
date = date.AddDays(-4);
......
......@@ -8,7 +8,7 @@
<div class="row">
<div class="col-sm-12">
<div class="alert alert-warning">
说明:按周显示时,默认显示周的数据,按月显示时,默认显示每月月末的数据
说明:按周显示时,默认显示周的数据,按月显示时,默认显示每月月末的数据
</div>
<div class="ibox-content m-b-sm border-bottom">
<form id="toolbar">
......@@ -1560,7 +1560,7 @@
$('#' + key).hide();
$('#' + key).parent().addClass(key);
$('#' + key + '_1').show();
$('#' + key + '_1').html(obj[key]);
$('#' + key + '_1').html(numFormat(obj[key]));
}
else {
$('#' + key).val(obj[key]);
......
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