|
|
@ -28,7 +28,7 @@ const JudgeDataModifyForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav
|
|
|
|
const [scWdate, setScWdate] = useState(rowData?.scWdate);
|
|
|
|
const [scWdate, setScWdate] = useState(rowData?.scWdate);
|
|
|
|
const [scCdate, setScCdate] = useState(rowData?.scCdate);
|
|
|
|
const [scCdate, setScCdate] = useState(rowData?.scCdate);
|
|
|
|
const [scJbtime, setScJbtime] = useState(rowData?.scJbtime);
|
|
|
|
const [scJbtime, setScJbtime] = useState(rowData?.scJbtime);
|
|
|
|
const [scPos, setScPos] = useState('');
|
|
|
|
const [scPos, setScPos] = useState(rowData?.scPos ?? '');
|
|
|
|
|
|
|
|
|
|
|
|
const [picads, setPicads] = useState({});
|
|
|
|
const [picads, setPicads] = useState({});
|
|
|
|
const [frecads, setFrecads] = useState({});
|
|
|
|
const [frecads, setFrecads] = useState({});
|
|
|
@ -123,7 +123,10 @@ const JudgeDataModifyForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav
|
|
|
|
alert.show('우편번호는 필수입니다.');
|
|
|
|
alert.show('우편번호는 필수입니다.');
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (scPos.length < 1) {
|
|
|
|
|
|
|
|
alert.show('위반장소는 필수입니다.');
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
if (rowData.scPicad1 === null || rowData.scPicad1 === '') {
|
|
|
|
if (rowData.scPicad1 === null || rowData.scPicad1 === '') {
|
|
|
|
alert.show('단속사진 하나는 필수입니다.');
|
|
|
|
alert.show('단속사진 하나는 필수입니다.');
|
|
|
|
return;
|
|
|
|
return;
|
|
|
@ -317,7 +320,7 @@ const JudgeDataModifyForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav
|
|
|
|
required
|
|
|
|
required
|
|
|
|
label="위반장소"
|
|
|
|
label="위반장소"
|
|
|
|
fullWidth
|
|
|
|
fullWidth
|
|
|
|
value={rowData.scPos || ''}
|
|
|
|
value={scPos}
|
|
|
|
onChange={(e) => setScPos(e?.target?.value)}
|
|
|
|
onChange={(e) => setScPos(e?.target?.value)}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|