🎨 change resumo operacao selects position
This commit is contained in:
parent
048d9f2f10
commit
8bc13d035b
@ -84,6 +84,8 @@ export default function ResumoOperacao({tableData, clientsData, userName, client
|
|||||||
} else {
|
} else {
|
||||||
setTableDataState(tableData)
|
setTableDataState(tableData)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log(month)
|
||||||
}, [month, unidade])
|
}, [month, unidade])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@ -96,7 +98,7 @@ export default function ResumoOperacao({tableData, clientsData, userName, client
|
|||||||
|
|
||||||
<h3>Seletor Mês</h3>
|
<h3>Seletor Mês</h3>
|
||||||
<div className='select'>
|
<div className='select'>
|
||||||
<FormControl fullWidth >
|
<FormControl fullWidth>
|
||||||
<InputLabel id="demo-simple-select-labels">Unidades</InputLabel>
|
<InputLabel id="demo-simple-select-labels">Unidades</InputLabel>
|
||||||
<Select
|
<Select
|
||||||
labelId="demo-simple-select-label"
|
labelId="demo-simple-select-label"
|
||||||
@ -114,7 +116,7 @@ export default function ResumoOperacao({tableData, clientsData, userName, client
|
|||||||
</Select>
|
</Select>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|
||||||
<FormControl fullWidth sx={{ml:1}} >
|
<FormControl fullWidth sx={{mt: 2}}>
|
||||||
<InputLabel id="demo-simple-select-label">Mês</InputLabel>
|
<InputLabel id="demo-simple-select-label">Mês</InputLabel>
|
||||||
<Select
|
<Select
|
||||||
labelId="demo-simple-select-label"
|
labelId="demo-simple-select-label"
|
||||||
@ -126,7 +128,7 @@ export default function ResumoOperacao({tableData, clientsData, userName, client
|
|||||||
<MenuItem value={''}>Nenhum</MenuItem>
|
<MenuItem value={''}>Nenhum</MenuItem>
|
||||||
{
|
{
|
||||||
clientMonth.map((value) => {
|
clientMonth.map((value) => {
|
||||||
return <MenuItem key={1} value={value.mes}>{monthLabels[parseFloat(value.mes.slice(3, 4))-1]}</MenuItem>
|
return <MenuItem key={1} value={value.mes.slice(2, 4)}>{monthLabels[parseFloat(value.mes.slice(3, 4))-1]}</MenuItem>
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
</Select>
|
</Select>
|
||||||
|
|||||||
@ -19,6 +19,7 @@ export const TableView = styled.div`
|
|||||||
|
|
||||||
.select{
|
.select{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user