Commit b45af8db authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复入库资料不显示的问题

parent d0c65621
...@@ -338,13 +338,16 @@ const MemberProfile: React.FC<IProps> = (props) => { ...@@ -338,13 +338,16 @@ const MemberProfile: React.FC<IProps> = (props) => {
{/* 入库信息 */} {/* 入库信息 */}
{( {(
dataSource?.depositDetailTexts?.length > 0 (
dataSource?.depositDetailTexts?.length
|| dataSource?.depositDetails?.length
) > 0
&& !editableDeposit && !editableDeposit
) ? ( ) ? (
<Col span={24}> <Col span={24}>
<AnchorPage.Item itemKey="incomingInfo"> <AnchorPage.Item itemKey="incomingInfo">
<MemberDocIncomingInfo <MemberDocIncomingInfo
dataSource={dataSource?.depositDetailTexts || []} dataSource={dataSource?.depositDetailTexts || dataSource?.depositDetails || []}
showNew={showNew} showNew={showNew}
id="incomingInfo" id="incomingInfo"
/> />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment