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
linweijiong
jinfa-platform
Commits
9eef4761
Commit
9eef4761
authored
Aug 18, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复入库资料不显示的问题
parent
1cf40113
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
index.tsx
src/pages/member/components/MemberProfile/index.tsx
+10
-9
No files found.
src/pages/member/components/MemberProfile/index.tsx
View file @
9eef4761
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-07-09 11:09:36
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-0
7-27 18:11:59
* @LastEditTime: 2021-0
8-18 11:47:31
* @Description: 会员详情信息
*/
import
React
,
{
Ref
}
from
'react'
;
...
...
@@ -116,8 +116,6 @@ const MemberProfile: React.FC<IProps> = (props) => {
qualitiesRef
,
}
=
props
;
const
depositDetails
=
dataSource
?.
depositDetailTexts
||
dataSource
?.
depositDetails
||
[];
const
anchorsArr
=
[
{
key
:
'verifySteps'
,
...
...
@@ -148,8 +146,11 @@ const MemberProfile: React.FC<IProps> = (props) => {
:
[]
),
(
depositDetails
&&
depositDetails
.
length
dataSource
&&
(
dataSource
.
depositDetailTexts
?.
length
||
dataSource
.
depositDetails
?.
length
)
?
{
key
:
'incomingInfo'
,
name
:
'入库信息'
,
...
...
@@ -329,12 +330,12 @@ const MemberProfile: React.FC<IProps> = (props) => {
{
/* 入库信息 */
}
{
(
d
epositDetails
.
length
>
0
d
ataSource
?.
depositDetailTexts
?
.
length
>
0
&&
!
editableDeposit
)
?
(
<
Col
span=
{
24
}
>
<
MemberDocIncomingInfo
dataSource=
{
d
epositDetails
}
dataSource=
{
d
ataSource
?.
depositDetailTexts
||
[]
}
showNew=
{
showNew
}
id=
"incomingInfo"
/>
...
...
@@ -343,12 +344,12 @@ const MemberProfile: React.FC<IProps> = (props) => {
{
/* 入库信息,可编辑的 */
}
{
(
d
epositDetails
.
length
>
0
d
ataSource
?.
depositDetails
?
.
length
>
0
&&
editableDeposit
)
?
(
<
Col
span=
{
24
}
>
<
MemberDocIncomingInfoForm
groups=
{
dataSource
?.
depositDetails
}
groups=
{
dataSource
?.
depositDetails
||
[]
}
ref=
{
depositRef
}
onInputChange=
{
handleDepositChange
}
id=
"incomingInfo"
...
...
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