Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
DataCenter_Core2.1_20190520
Commits
cbfa01b8
Commit
cbfa01b8
authored
Mar 02, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资产负债表按月、按周的类型时不显示文本框,按月时的背景色调整为浅蓝色
parent
00e1d47d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
FinanceReportServices.cs
Bailun.DC.Services/FinanceReportServices.cs
+3
-1
Index2.cshtml
Bailun.DC.Web/Areas/Reports/Views/Finance/Index2.cshtml
+11
-2
No files found.
Bailun.DC.Services/FinanceReportServices.cs
View file @
cbfa01b8
...
...
@@ -36,7 +36,9 @@ namespace Bailun.DC.Services
}
else
if
(
type
==
3
)
{
d
=
currentDay
.
AddMonths
(-
i
);
d
=
DateTime
.
Parse
(
currentDay
.
AddMonths
((
1
-
i
)).
ToString
(
"yyyy-MM"
)
+
"-01"
).
AddDays
(-
1
);
//currentDay.AddMonths(-i);
}
else
if
(
type
==
4
)
{
...
...
Bailun.DC.Web/Areas/Reports/Views/Finance/Index2.cshtml
View file @
cbfa01b8
...
...
@@ -1412,11 +1412,20 @@
var obj = list[list.length - 1];
var day = obj.statistical_time.replace('T', ' ').replace('00:00:00', '');
$('#c6').html(day);
//设置文本框的值
for (var key in obj) {
//如果是月或者周,不显示文本框
if (type == 2 || type == 3) {
$('#' + key).parent().html(obj[key]).addClass(key);
}
else {
$('#' + key).val(obj[key]);
}
for (var i = 0; i < list.length - 1; i++) {
}
for (var i = 0; i < list.length; i++) {
var obj = list[i];
var day = obj.statistical_time.replace('T', ' ').replace('00:00:00', '');
$('#c' + (i)).html(day);
...
...
@@ -1431,7 +1440,7 @@
$(this).css('color', '#fff');
}
else if (obj["ismark"] == 2) {
$(this).css('background', '#
F8C25C
');
$(this).css('background', '#
87CEFA
');
$(this).css('color', '#fff');
}
else {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment