fix: dashboard fix

main
minuk926 2 years ago
parent c3338d8736
commit 49ebc290d2

@ -5,6 +5,7 @@ import { Button, Divider, FormControl, Grid, ImageList, InputLabel, MenuItem, Se
import { findImages, saveJudgeResult } from 'apis/judge'; import { findImages, saveJudgeResult } from 'apis/judge';
import { SkipNext, SkipPrevious, Save } from '@mui/icons-material'; import { SkipNext, SkipPrevious, Save } from '@mui/icons-material';
import ImgItem from '../../cmm/ImgItem'; import ImgItem from '../../cmm/ImgItem';
import NumberFormat from 'react-number-format';
const ProcessJudge = (props) => { const ProcessJudge = (props) => {
const { rowDatas, setOpen, showAlert } = props; const { rowDatas, setOpen, showAlert } = props;
@ -119,7 +120,16 @@ const ProcessJudge = (props) => {
<TextField size="small" required disabled label="접수번호" fullWidth value={rowDatas[pageRef.current].msSeq} /> <TextField size="small" required disabled label="접수번호" fullWidth value={rowDatas[pageRef.current].msSeq} />
</Grid> </Grid>
<Grid item xs={2}> <Grid item xs={2}>
<TextField size="small" required disabled label="위반일자" fullWidth value={rowDatas[pageRef.current].scWdate} /> <NumberFormat
disabled
size="small"
customInput={TextField}
required
label="위반일자"
format="####-##-##"
fullWidth
value={rowDatas[pageRef.current].scWdate}
/>
</Grid> </Grid>
<Grid item xs={6}> <Grid item xs={6}>
<TextField size="small" required disabled label="위반장소" fullWidth value={rowDatas[pageRef.current].scPos} /> <TextField size="small" required disabled label="위반장소" fullWidth value={rowDatas[pageRef.current].scPos} />

@ -5,6 +5,7 @@ import { Button, Divider, FormControl, Grid, ImageList, InputLabel, MenuItem, Se
import { findImages, saveJudgeResult } from 'apis/judge'; import { findImages, saveJudgeResult } from 'apis/judge';
import { SkipNext, SkipPrevious, Save } from '@mui/icons-material'; import { SkipNext, SkipPrevious, Save } from '@mui/icons-material';
import ImgItem from '../../cmm/ImgItem'; import ImgItem from '../../cmm/ImgItem';
import NumberFormat from 'react-number-format';
const ProcessParkingJudge = (props) => { const ProcessParkingJudge = (props) => {
const { rowDatas, setOpen, showAlert } = props; const { rowDatas, setOpen, showAlert } = props;
@ -119,7 +120,16 @@ const ProcessParkingJudge = (props) => {
<TextField size="small" required disabled label="접수번호" fullWidth value={rowDatas[pageRef.current].msSeq} /> <TextField size="small" required disabled label="접수번호" fullWidth value={rowDatas[pageRef.current].msSeq} />
</Grid> </Grid>
<Grid item xs={2}> <Grid item xs={2}>
<TextField size="small" required disabled label="위반일자" fullWidth value={rowDatas[pageRef.current].scWdate} /> <NumberFormat
disabled
size="small"
customInput={TextField}
required
label="위반일자"
format="####-##-##"
fullWidth
value={rowDatas[pageRef.current].scWdate}
/>
</Grid> </Grid>
<Grid item xs={6}> <Grid item xs={6}>
<TextField size="small" required disabled label="위반장소" fullWidth value={rowDatas[pageRef.current].scPos} /> <TextField size="small" required disabled label="위반장소" fullWidth value={rowDatas[pageRef.current].scPos} />

Loading…
Cancel
Save