|
|
@ -58,12 +58,12 @@ const AddModal = (props) => { |
|
|
|
onOk={ |
|
|
|
handleSaveUpdate |
|
|
|
} |
|
|
|
okButtonProps={{ |
|
|
|
disabled: lookVal ? true : false, |
|
|
|
}} |
|
|
|
cancelButtonProps={{ |
|
|
|
disabled: lookVal ? true : false, |
|
|
|
}} |
|
|
|
footer={ |
|
|
|
lookVal ? null : [ |
|
|
|
<Button onClick={() => { onClose(); form.resetFields(); setSelectVal('') }}>取消</Button>, |
|
|
|
<Button type='primary' onClick={handleSaveUpdate}>确认</Button> |
|
|
|
] |
|
|
|
} |
|
|
|
> |
|
|
|
<Form form={form}> |
|
|
|
<Form.Item |
|
|
|