Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈智峰
jinfa-platform
Commits
d4e7f1b7
Commit
d4e7f1b7
authored
Apr 27, 2021
by
alwayOnlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同请款bug修复
parent
88d77bd0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
materials.tsx
src/pages/contract/funds/details/components/materials.tsx
+8
-6
No files found.
src/pages/contract/funds/details/components/materials.tsx
View file @
d4e7f1b7
...
...
@@ -44,12 +44,14 @@ const Materials = (props: any) => {
totalunPayApplyAmount
:
0
,
totalapplyAmount
:
0
,
}
res
.
data
.
data
.
map
(
item
=>
{
totals
.
totalorderAmount
+=
item
.
orderAmount
;
totals
.
totalpayAmount
+=
item
.
payAmount
;
totals
.
totalunPayApplyAmount
+=
item
.
PayApplyAmount
;
totals
.
totalapplyAmount
+=
item
.
applyAmount
;
})
if
(
res
.
data
)
{
res
.
data
.
data
.
map
(
item
=>
{
totals
.
totalorderAmount
+=
item
.
orderAmount
;
totals
.
totalpayAmount
+=
item
.
payAmount
;
totals
.
totalunPayApplyAmount
+=
item
.
PayApplyAmount
;
totals
.
totalapplyAmount
+=
item
.
applyAmount
;
})
}
setTotal
(
totals
)
})
})
...
...
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