Commit 6766cbf2 authored by Bill's avatar Bill

Merge branch 'dev-srm' of 10.0.0.22:lingxi/lingxi-business-paltform into dev-srm

parents b010b4f0 36961dcd
...@@ -47,11 +47,16 @@ interface IProps extends Omit<CustomizeColumnProps, 'data' | 'columns'> { ...@@ -47,11 +47,16 @@ interface IProps extends Omit<CustomizeColumnProps, 'data' | 'columns'> {
fieldType?: string, fieldType?: string,
}[], }[],
}[], }[],
/**
* 是否展示 new
*/
showNew?: boolean,
} }
const MemberDocIncomingInfo: React.FC<IProps> = (props: IProps) => { const MemberDocIncomingInfo: React.FC<IProps> = (props: IProps) => {
const { const {
dataSource = [], dataSource = [],
showNew = false,
...rest ...rest
} = props; } = props;
...@@ -65,7 +70,7 @@ const MemberDocIncomingInfo: React.FC<IProps> = (props: IProps) => { ...@@ -65,7 +70,7 @@ const MemberDocIncomingInfo: React.FC<IProps> = (props: IProps) => {
<div className={styles.changed}> <div className={styles.changed}>
{/* {ele.fieldValue} */} {/* {ele.fieldValue} */}
{renderFieldTypeContent(ele.fieldType, ele.fieldValue)} {renderFieldTypeContent(ele.fieldType, ele.fieldValue)}
{ele.lastValue && ele.lastValue !== ele.fieldValue && ( {showNew && ele.lastValue && ele.lastValue !== ele.fieldValue && (
<Tooltip title={`变更前:${ele.lastValue}`}> <Tooltip title={`变更前:${ele.lastValue}`}>
<span className={styles.new}>NEW</span> <span className={styles.new}>NEW</span>
</Tooltip> </Tooltip>
......
...@@ -174,6 +174,7 @@ const MemberPrVerifyChange1Detail: React.FC<{}> = () => { ...@@ -174,6 +174,7 @@ const MemberPrVerifyChange1Detail: React.FC<{}> = () => {
<MemberDocIncomingInfo <MemberDocIncomingInfo
dataSource={memberInfo?.depositDetails} dataSource={memberInfo?.depositDetails}
id="incomingInfo" id="incomingInfo"
showNew
/> />
</Col> </Col>
) : null} ) : null}
......
...@@ -216,6 +216,7 @@ const MemberPrVerifyChange1Verify: React.FC<{}> = () => { ...@@ -216,6 +216,7 @@ const MemberPrVerifyChange1Verify: React.FC<{}> = () => {
<MemberDocIncomingInfo <MemberDocIncomingInfo
dataSource={memberInfo?.depositDetails} dataSource={memberInfo?.depositDetails}
id="incomingInfo" id="incomingInfo"
showNew
/> />
</Col> </Col>
) : null} ) : null}
......
...@@ -174,6 +174,7 @@ const MemberPrVerifyChange2Detail: React.FC<{}> = () => { ...@@ -174,6 +174,7 @@ const MemberPrVerifyChange2Detail: React.FC<{}> = () => {
<MemberDocIncomingInfo <MemberDocIncomingInfo
dataSource={memberInfo?.depositDetails} dataSource={memberInfo?.depositDetails}
id="incomingInfo" id="incomingInfo"
showNew
/> />
</Col> </Col>
) : null} ) : null}
......
...@@ -216,6 +216,7 @@ const MemberPrVerifyChange2Verify: React.FC<{}> = () => { ...@@ -216,6 +216,7 @@ const MemberPrVerifyChange2Verify: React.FC<{}> = () => {
<MemberDocIncomingInfo <MemberDocIncomingInfo
dataSource={memberInfo?.depositDetails} dataSource={memberInfo?.depositDetails}
id="incomingInfo" id="incomingInfo"
showNew
/> />
</Col> </Col>
) : null} ) : null}
......
...@@ -174,6 +174,7 @@ const MemberPrVerifyChangeConfirmDetail: React.FC<{}> = () => { ...@@ -174,6 +174,7 @@ const MemberPrVerifyChangeConfirmDetail: React.FC<{}> = () => {
<MemberDocIncomingInfo <MemberDocIncomingInfo
dataSource={memberInfo?.depositDetails} dataSource={memberInfo?.depositDetails}
id="incomingInfo" id="incomingInfo"
showNew
/> />
</Col> </Col>
) : null} ) : null}
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: XieZhiXiong * @Author: XieZhiXiong
* @Date: 2021-05-26 10:26:37 * @Date: 2021-05-26 10:26:37
* @LastEditors: XieZhiXiong * @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-15 16:24:29 * @LastEditTime: 2021-07-03 18:05:00
* @Description: 确认会员变更 * @Description: 确认会员变更
*/ */
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
...@@ -216,6 +216,7 @@ const MemberPrVerifyChangeConfirmVerify: React.FC<{}> = () => { ...@@ -216,6 +216,7 @@ const MemberPrVerifyChangeConfirmVerify: React.FC<{}> = () => {
<MemberDocIncomingInfo <MemberDocIncomingInfo
dataSource={memberInfo?.depositDetails} dataSource={memberInfo?.depositDetails}
id="incomingInfo" id="incomingInfo"
showNew
/> />
</Col> </Col>
) : null} ) : null}
......
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