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
a807106f
Commit
a807106f
authored
Jan 31, 2021
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
02896a87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
AdministrativeCost.cshtml
...Web/Areas/Reports/Views/Finance/AdministrativeCost.cshtml
+4
-4
No files found.
Bailun.DC.Web/Areas/Reports/Views/Finance/AdministrativeCost.cshtml
View file @
a807106f
...
...
@@ -127,10 +127,10 @@
var str = '<th style="width:130px;">费用类型</th>';
for (var h = 0; h < result.col.length; h++) {
str += '<th style="width:1
0
0px;">' + (result.col[h] == null ? "无部门" : result.col[h]) + '</th>';
str += '<th style="width:1
3
0px;">' + (result.col[h] == null ? "无部门" : result.col[h]) + '</th>';
}
str += '<th style="width:1
0
0px;">总计</th>';
str += '<th style="width:1
3
0px;">总计</th>';
$('#tb_head').html(str);
//构造表格内容
...
...
@@ -144,7 +144,7 @@
for (var j = 0; j < item2.length - 1; j++) {
var tempFloat = parseFloat(item2[j]);
str += '<td style="width:1
0
0px">' + (tempFloat > 0 ? '<span style="cursor:pointer" onclick="OpenDetail(\'' + dt[i].item1 + '\',\'' + (result.col[j] == null ? "" : result.col[j]) + '\',0)">' + numFormat(tempFloat) + '</span>' : tempFloat) + '</td>';
str += '<td style="width:1
3
0px">' + (tempFloat > 0 ? '<span style="cursor:pointer" onclick="OpenDetail(\'' + dt[i].item1 + '\',\'' + (result.col[j] == null ? "" : result.col[j]) + '\',0)">' + numFormat(tempFloat) + '</span>' : tempFloat) + '</td>';
rowamount = add(rowamount, tempFloat);
if (arrTotal.length > j) {
...
...
@@ -159,7 +159,7 @@
$('#tb_body').append(str);
}
str = '<tr><td>总计:</td>';
str = '<tr><td
style="width:130px"
>总计:</td>';
var lastItem = dt[dt.length - 1].item2;
for (var j = 0; j < lastItem.length; j++) {
str += '<td>' + numFormat(lastItem[j]) + '</td>';
...
...
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