|
@@ -608,9 +608,11 @@ const ContractModal = (props) => {
|
|
修改
|
|
修改
|
|
</Button>
|
|
</Button>
|
|
)}
|
|
)}
|
|
- <Button type="primary" onClick={handleSaveDraft}>
|
|
|
|
- 保存草稿
|
|
|
|
- </Button>
|
|
|
|
|
|
+ {type == Type.add && (
|
|
|
|
+ <Button type="primary" onClick={handleSaveDraft}>
|
|
|
|
+ 保存草稿
|
|
|
|
+ </Button>
|
|
|
|
+ )}
|
|
<Button type="primary" onClick={handleSubmit} disabled={!isSuper}>
|
|
<Button type="primary" onClick={handleSubmit} disabled={!isSuper}>
|
|
提交
|
|
提交
|
|
</Button>
|
|
</Button>
|
|
@@ -807,14 +809,10 @@ const ContractModal = (props) => {
|
|
},
|
|
},
|
|
]}
|
|
]}
|
|
>
|
|
>
|
|
- {type == Type.add ? (
|
|
|
|
- <DatePicker
|
|
|
|
- style={{ width: '100%' }}
|
|
|
|
- disabled={disableds.contract}
|
|
|
|
- />
|
|
|
|
- ) : (
|
|
|
|
- <Input disabled={disableds.contract} />
|
|
|
|
- )}
|
|
|
|
|
|
+ <DatePicker
|
|
|
|
+ style={{ width: '100%' }}
|
|
|
|
+ disabled={disableds.contract}
|
|
|
|
+ />
|
|
</Form.Item>
|
|
</Form.Item>
|
|
<Form.Item
|
|
<Form.Item
|
|
name="project_name"
|
|
name="project_name"
|