Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
76041b65
Commit
76041b65
authored
Apr 08, 2019
by
Memorydoc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#
parent
24f21c72
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
table-report-sheet.js
...ain/webapp/app/analysis/table/sheet/table-report-sheet.js
+1
-0
tb-ebit-form.ctrl.js
...b/src/main/webapp/app/analysis/table/tb-ebit-form.ctrl.js
+3
-1
No files found.
atms-web/src/main/webapp/app/analysis/table/sheet/table-report-sheet.js
View file @
76041b65
...
...
@@ -193,6 +193,7 @@
sheet
.
clearSelection
();
}
scope
.
spread
=
spread
;
scope
.
relation
.
sheet
=
spread
.
getActiveSheet
();
setColWidth
(
sheet
);
if
(
sheet
.
getRowCount
()
<=
38
)
scope
.
relation
.
addEbitRow
(
sheet
)
...
...
atms-web/src/main/webapp/app/analysis/table/tb-ebit-form.ctrl.js
View file @
76041b65
...
...
@@ -2939,7 +2939,7 @@
}
}).error(function (error) {
});*/
calculateEbitAndInsert
(
$scope
.
sheet
,
true
);
calculateEbitAndInsert
(
$scope
.
relation
.
sheet
,
true
);
spreadTODb
();
}
...
...
@@ -2970,6 +2970,7 @@
success
:
function
(
data
)
{
//alert("上传成功!");
if
(
data
.
result
)
{
SweetAlert
.
success
(
"成功"
)
}
else
{
SweetAlert
.
error
(
data
.
resultMsg
);
}
...
...
@@ -3074,6 +3075,7 @@
var
workbookObj
=
json
;
$scope
.
spread
.
fromJSON
(
workbookObj
);
var
sheet
=
$scope
.
spread
.
sheets
[
0
];
$scope
.
relation
.
sheet
=
$scope
.
spread
.
sheets
[
0
];
/*vatReportService.saveAndRefresh($scope.relation.orgId, $scope.relation.period, 0, "1").success(function (res) {
if (res.resultMsg == "success") {
if (res.data) $scope.relation.data = res.data;
...
...
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