|
@ -135,7 +135,10 @@ function nvrModal(props){ |
|
|
]}/> |
|
|
]}/> |
|
|
</Col> |
|
|
</Col> |
|
|
<Col span={24}> |
|
|
<Col span={24}> |
|
|
<Form.Select label="设备厂家:" field='venderId' initValue={nvrData.venderId||''} placeholder='请选择设备厂家' style={{ width: 421 }}> |
|
|
<Form.Select label="设备厂家:" field='venderId' initValue={nvrData.venderId||null} placeholder='请选择设备厂家' style={{ width: 421 }} |
|
|
|
|
|
rules={[ |
|
|
|
|
|
{ required: true, message: '请选择设备厂家' } |
|
|
|
|
|
]}> |
|
|
{vender.map((item,index)=>( |
|
|
{vender.map((item,index)=>( |
|
|
<Form.Select.Option key={index} value={item.id}>{item.name}</Form.Select.Option> |
|
|
<Form.Select.Option key={index} value={item.id}>{item.name}</Form.Select.Option> |
|
|
))} |
|
|
))} |
|
|