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
f5c8cc29
Commit
f5c8cc29
authored
Jan 05, 2022
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 业务对账修复选择子项报错
parent
4cecd1dd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
index.tsx
.../businessReconciliation/components/detailDrawer/index.tsx
+3
-3
index.tsx
...ance/businessReconciliation/readyReconciliation/index.tsx
+2
-2
No files found.
src/pages/balance/businessReconciliation/components/detailDrawer/index.tsx
View file @
f5c8cc29
...
...
@@ -322,7 +322,7 @@ const DetailDrawer: React.FC<DetailDrawerProps> = (props: DetailDrawerProps) =>
setSelectedRowKeys
(
patentArr
);
};
const
childRenderTable
=
useCallback
(
(
record
)
=>
{
const
childRenderTable
=
(
record
)
=>
{
return
(
<
Table
columns=
{
childColumns
}
...
...
@@ -337,7 +337,7 @@ const DetailDrawer: React.FC<DetailDrawerProps> = (props: DetailDrawerProps) =>
pagination=
{
false
}
/>
)
}
,
[
childSelectedRowKeys
])
}
const
_onOk
=
()
=>
{
const
_rows
=
[];
...
...
@@ -355,7 +355,7 @@ const DetailDrawer: React.FC<DetailDrawerProps> = (props: DetailDrawerProps) =>
useEffect
(()
=>
{
if
(
visible
)
{
ref
?.
current
?.
reload
();
}
else
{
}
else
{
setChildSelectedRowKeys
([]);
setSelectedRowKeys
([]);
setChildSelectedRows
([]);
...
...
src/pages/balance/businessReconciliation/readyReconciliation/index.tsx
View file @
f5c8cc29
...
...
@@ -322,7 +322,7 @@ const ReadyReconciliation: React.FC = () => {
setSelectedRowKeys
(
patentArr
);
};
const
childRenderTable
=
useCallback
(
(
record
)
=>
{
const
childRenderTable
=
(
record
)
=>
{
return
(
<
Table
columns=
{
childColumns
}
...
...
@@ -337,7 +337,7 @@ const ReadyReconciliation: React.FC = () => {
pagination=
{
false
}
/>
)
}
,
[
childSelectedRowKeys
])
}
const
_generate
=
()
=>
{
if
(
selectedRowKeys
.
length
<=
0
)
{
...
...
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