|
|
|
@ -41,19 +41,19 @@ const JudgeDataModifyForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav
|
|
|
|
|
formData.append('scState', rowData.scState);
|
|
|
|
|
formData.append('scTransfer', rowData.scTransfer);
|
|
|
|
|
formData.append('scDatagb', rowData.scDatagb);
|
|
|
|
|
formData.append('scCarnum', scCarnum);
|
|
|
|
|
formData.append('scName', scName);
|
|
|
|
|
formData.append('scDong', scDong);
|
|
|
|
|
formData.append('scCarnum', scCarnum || '');
|
|
|
|
|
formData.append('scName', scName || '');
|
|
|
|
|
formData.append('scDong', scDong || '');
|
|
|
|
|
formData.append('scContDoc', selectedContDoc);
|
|
|
|
|
formData.append('scCdate', scCdate ? scCdate?.replace(/-/g, '') : '');
|
|
|
|
|
formData.append('scIngb', selectedIngb);
|
|
|
|
|
formData.append('scWdate', scWdate ? scWdate?.replace(/-/g, '') : '');
|
|
|
|
|
formData.append('scJbtime', scJbtime ? scJbtime?.replace(/:/g, '') : '');
|
|
|
|
|
formData.append('scPos', scPos);
|
|
|
|
|
formData.append('scPos', scPos || '');
|
|
|
|
|
formData.append('zipcode1', zipcode1 ? zipcode1.substring(0, 3) : '');
|
|
|
|
|
formData.append('zipcode2', zipcode1 ? zipcode1.substring(3) : '');
|
|
|
|
|
formData.append('scJuso', scJuso);
|
|
|
|
|
formData.append('scBunji', scBunji);
|
|
|
|
|
formData.append('scJuso', scJuso || '');
|
|
|
|
|
formData.append('scBunji', scBunji || '');
|
|
|
|
|
|
|
|
|
|
Object.values(picads).forEach((v) => {
|
|
|
|
|
formData.append('picadFiles', v);
|
|
|
|
@ -223,7 +223,7 @@ const JudgeDataModifyForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav
|
|
|
|
|
label="차량번호"
|
|
|
|
|
size="small"
|
|
|
|
|
fullWidth
|
|
|
|
|
value={scCarnum}
|
|
|
|
|
value={scCarnum || ''}
|
|
|
|
|
onChange={(e) => setScCarnum(e?.target?.value)}
|
|
|
|
|
autoFocus
|
|
|
|
|
/>
|
|
|
|
@ -231,10 +231,10 @@ const JudgeDataModifyForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid container spacing={0.5} mb={1.5}>
|
|
|
|
|
<Grid item xs={3}>
|
|
|
|
|
<TextField required label="성명" size="small" fullWidth value={scName} onChange={(e) => setScName(e?.target?.value)} />
|
|
|
|
|
<TextField required label="성명" size="small" fullWidth value={scName || ''} onChange={(e) => setScName(e?.target?.value)} />
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid item xs={3}>
|
|
|
|
|
<TextField required label="동명" size="small" fullWidth value={scDong} onChange={(e) => setScDong(e?.target?.value)} />
|
|
|
|
|
<TextField required label="동명" size="small" fullWidth value={scDong || ''} onChange={(e) => setScDong(e?.target?.value)} />
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid item xs={3}>
|
|
|
|
|
<FormControl fullWidth>
|
|
|
|
@ -315,7 +315,7 @@ const JudgeDataModifyForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav
|
|
|
|
|
required
|
|
|
|
|
label="위반장소"
|
|
|
|
|
fullWidth
|
|
|
|
|
value={rowData.scPos}
|
|
|
|
|
value={rowData.scPos || ''}
|
|
|
|
|
onChange={(e) => setScPos(e?.target?.value)}
|
|
|
|
|
/>
|
|
|
|
|
</Grid>
|
|
|
|
@ -353,7 +353,7 @@ const JudgeDataModifyForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav
|
|
|
|
|
/>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid item xs={3.3}>
|
|
|
|
|
<TextField size="small" required label="번지" fullWidth value={scBunji} onChange={(e) => setScBunji(e?.target?.value)} />
|
|
|
|
|
<TextField size="small" required label="번지" fullWidth value={scBunji || ''} onChange={(e) => setScBunji(e?.target?.value)} />
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|