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
c92ce9d0
Commit
c92ce9d0
authored
Jan 14, 2022
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复业务对账-待对账列表子表单选择问题
parent
fadd269b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
index.tsx
.../businessReconciliation/components/detailDrawer/index.tsx
+5
-3
index.tsx
...ance/businessReconciliation/readyReconciliation/index.tsx
+5
-3
No files found.
src/pages/balance/businessReconciliation/components/detailDrawer/index.tsx
View file @
c92ce9d0
...
...
@@ -184,9 +184,11 @@ const DetailDrawer: React.FC<DetailDrawerProps> = (props: DetailDrawerProps) =>
if
(
item
.
products
.
find
((
d
)
=>
d
.
productId
===
record
.
productId
))
{
let
parentArr
=
[...
selectedRowKeys
];
let
parentRowArr
=
[...
selectedRows
];
if
(
item
.
products
.
length
===
selectedRow
.
length
)
{
parentArr
.
push
(
item
.
billId
);
parentRowArr
.
push
(
item
)
if
(
selectedRow
.
length
>
0
)
{
if
(
!
parentArr
.
includes
(
item
.
billId
))
{
parentArr
.
push
(
item
.
billId
);
parentRowArr
.
push
(
item
)
}
}
else
{
if
(
parentArr
.
length
&&
parentArr
.
find
((
d
)
=>
d
===
item
.
billId
))
{
parentArr
.
splice
(
...
...
src/pages/balance/businessReconciliation/readyReconciliation/index.tsx
View file @
c92ce9d0
...
...
@@ -188,9 +188,11 @@ const ReadyReconciliation: React.FC = () => {
if
(
item
.
products
.
find
((
d
)
=>
d
.
productId
===
record
.
productId
))
{
let
parentArr
=
[...
selectedRowKeys
];
let
parentRowArr
=
[...
selectedRows
];
if
(
item
.
products
.
length
===
selectedRow
.
length
)
{
parentArr
.
push
(
item
.
billId
);
parentRowArr
.
push
(
item
)
if
(
selectedRow
.
length
>
0
)
{
if
(
!
parentArr
.
includes
(
item
.
billId
))
{
parentArr
.
push
(
item
.
billId
);
parentRowArr
.
push
(
item
)
}
}
else
{
if
(
parentArr
.
length
&&
parentArr
.
find
((
d
)
=>
d
===
item
.
billId
))
{
parentArr
.
splice
(
...
...
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