|
@@ -16,6 +16,10 @@ const selectores = {
|
|
|
expand: "subproductos",
|
|
|
ordenar: "nombre-asc",
|
|
|
},
|
|
|
+ niveles: {
|
|
|
+ name: "nivel",
|
|
|
+ ordenar: "nombre-asc",
|
|
|
+ }
|
|
|
};
|
|
|
|
|
|
const endpoints = {
|
|
@@ -245,7 +249,7 @@ const CondicionanteDetalle = () => {
|
|
|
</Form.Item>
|
|
|
</Col>
|
|
|
<Divider style={{ margin: '8px 0', borderColor: 'transparent' }} />
|
|
|
- <Col md={12} xs={24}>
|
|
|
+ <Col md={8} xs={24}>
|
|
|
<Form.Item
|
|
|
label={<Text strong>Fines de Movilización</Text>}
|
|
|
name="fines"
|
|
@@ -264,7 +268,7 @@ const CondicionanteDetalle = () => {
|
|
|
</Checkbox.Group>
|
|
|
</Form.Item>
|
|
|
</Col>
|
|
|
- <Col md={12} xs={24}>
|
|
|
+ <Col md={8} xs={24}>
|
|
|
<Form.Item
|
|
|
label={<Text strong>Tipo de Movilización</Text>}
|
|
|
name="tipos"
|
|
@@ -283,6 +287,15 @@ const CondicionanteDetalle = () => {
|
|
|
</Checkbox.Group>
|
|
|
</Form.Item>
|
|
|
</Col>
|
|
|
+ <Col md={8} xs={24}>
|
|
|
+ <Form.Item
|
|
|
+ label={<Text strong>Nivel</Text>}
|
|
|
+ name="idNivel"
|
|
|
+ rules={[{ required: true, message: 'El nivel es obligatorio.' }]}
|
|
|
+ >
|
|
|
+ <Select modelsParams={selectores.niveles} labelProp="nombre" valueProp="id" />
|
|
|
+ </Form.Item>
|
|
|
+ </Col>
|
|
|
<Divider style={{ margin: '8px 0', borderColor: 'transparent' }} />
|
|
|
<Col md={12} xs={24}>
|
|
|
<Form.Item
|