|
|
@@ -253,10 +253,7 @@ const OpreateLock = props => {
|
|
|
width={type === lockTypeEnum.SALE || type === lockTypeEnum.CHANGE ? '60vw' : '520px'}
|
|
|
getContainer={() => document.getElementById('root')}
|
|
|
footer={
|
|
|
- type !== lockTypeEnum.UPDATE &&
|
|
|
- type !== lockTypeEnum.RECOVER &&
|
|
|
- type !== lockTypeEnum.RECEIVE &&
|
|
|
- type !== lockTypeEnum.REMARK ? null : (
|
|
|
+ type !== lockTypeEnum.SALE && type !== lockTypeEnum.CHANGE ? (
|
|
|
<div>
|
|
|
<Button className="mr-3" onClick={onCancel}>
|
|
|
取消
|
|
|
@@ -265,7 +262,7 @@ const OpreateLock = props => {
|
|
|
确定
|
|
|
</Button>
|
|
|
</div>
|
|
|
- )
|
|
|
+ ) : null
|
|
|
}>
|
|
|
{type === lockTypeEnum.SALE ? (
|
|
|
<div className="text-center mb-6">
|