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
shenshaokai
jinfa-platform
Commits
4dba5156
Commit
4dba5156
authored
Jan 20, 2022
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 对账单请款核销逻辑修改
parent
d3b0399d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
add.tsx
src/pages/balance/businessRequestFunds/admin/add.tsx
+3
-0
No files found.
src/pages/balance/businessRequestFunds/admin/add.tsx
View file @
4dba5156
...
...
@@ -214,6 +214,9 @@ const Add = () => {
const
_i
=
_tabelSource
.
findIndex
((
item
)
=>
item
.
billId
===
writeOffData
.
billId
);
let
_item
=
{
...
_tabelSource
[
_i
]
};
_item
.
writeOffRecords
=
rows
;
const
_currentMoney
=
rows
.
map
((
item
)
=>
item
.
currentMoney
).
reduce
((
p
,
r
)
=>
p
+
r
,
0
)
_item
.
writeOffAmount
=
_currentMoney
;
_item
.
applyPayment
=
_item
.
reconciliationAmount
-
_currentMoney
;
_tabelSource
[
_i
]
=
_item
;
setTabelSource
(
_tabelSource
);
setWriteOffDrawer
(
false
);
...
...
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