|
|
@@ -27,10 +27,10 @@ const CreateForm = (props) => { |
|
|
|
<Form.Item name="id" hidden={true}> |
|
|
|
<Input /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item name="code" label="机构编码" rules={[{ required: true, max: 64 }]}> |
|
|
|
<Input placeholder="请输入机构编码" /> |
|
|
|
<Form.Item name="code" label="组织编码" rules={[{ required: true, max: 64 }]}> |
|
|
|
<Input placeholder="请输入组织编码" /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item name="name" label="机构名称" rules={[{ required: true, max: 64 }]}> |
|
|
|
<Form.Item name="name" label="组织名称" rules={[{ required: true, max: 64 }]}> |
|
|
|
<Input placeholder="请输入名称" /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item name="pid" label="上级名称" rules={[{ required: true }]}> |
|
|
@@ -45,9 +45,9 @@ const CreateForm = (props) => { |
|
|
|
|
|
|
|
<Form.Item |
|
|
|
name="type" |
|
|
|
label="机构类型" |
|
|
|
label="组织类型" |
|
|
|
defaultValue={props.values.type} |
|
|
|
rules={[{ required: true, message: '请选择机构类型' }]} |
|
|
|
rules={[{ required: true, message: '请选择组织类型' }]} |
|
|
|
> |
|
|
|
<Select placeholder="请选择机构类型"> |
|
|
|
<OptGroup> |
|
|
|