|
@@ -202,7 +202,7 @@ const LockTabList = props => {
|
|
|
>
|
|
>
|
|
|
升级
|
|
升级
|
|
|
</Button> */}
|
|
</Button> */}
|
|
|
- {sellStatus !== 0 ? (
|
|
|
|
|
|
|
+ {sellStatus !== 0 && preserveStatus !== 2 ? (
|
|
|
<Button
|
|
<Button
|
|
|
type="primary"
|
|
type="primary"
|
|
|
ghost
|
|
ghost
|
|
@@ -218,16 +218,18 @@ const LockTabList = props => {
|
|
|
更换
|
|
更换
|
|
|
</Button>
|
|
</Button>
|
|
|
) : null}
|
|
) : null}
|
|
|
- <Button
|
|
|
|
|
- type="primary"
|
|
|
|
|
- ghost
|
|
|
|
|
- size="small"
|
|
|
|
|
- className="mr-1"
|
|
|
|
|
- onClick={() =>
|
|
|
|
|
- setAddLonglelog({ ...setAddLonglelog, visible: true, type: lockTypeEnum.RECOVER })
|
|
|
|
|
- }>
|
|
|
|
|
- 收回
|
|
|
|
|
- </Button>
|
|
|
|
|
|
|
+ {preserveStatus === 2 ? (
|
|
|
|
|
+ <Button
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ ghost
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ className="mr-1"
|
|
|
|
|
+ onClick={() =>
|
|
|
|
|
+ setAddLonglelog({ ...setAddLonglelog, visible: true, type: lockTypeEnum.RECOVER })
|
|
|
|
|
+ }>
|
|
|
|
|
+ 收回
|
|
|
|
|
+ </Button>
|
|
|
|
|
+ ) : null}
|
|
|
<Button
|
|
<Button
|
|
|
type="primary"
|
|
type="primary"
|
|
|
ghost
|
|
ghost
|