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