|
|
|
@ -62,10 +62,10 @@ const JudgeDataModifyForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav
|
|
|
|
|
formData.append('scName', scName);
|
|
|
|
|
formData.append('scDong', scDong);
|
|
|
|
|
formData.append('scContDoc', selectedContDoc);
|
|
|
|
|
formData.append('scCdate', scCdate);
|
|
|
|
|
formData.append('scCdate', scCdate ? scCdate?.replace(/-/g, '') : '');
|
|
|
|
|
formData.append('scIngb', selectedIngb);
|
|
|
|
|
formData.append('scWdate', scWdate);
|
|
|
|
|
formData.append('scJbtime', scJbtime);
|
|
|
|
|
formData.append('scWdate', scWdate ? scWdate?.replace(/-/g, '') : '');
|
|
|
|
|
formData.append('scJbtime', scJbtime ? scJbtime?.replace(/:/g, '') : '');
|
|
|
|
|
formData.append('scPos', scPos);
|
|
|
|
|
formData.append('zipcode1', zipcode1 ? zipcode1.substring(0, 3) : '');
|
|
|
|
|
formData.append('zipcode2', zipcode1 ? zipcode1.substring(3) : '');
|
|
|
|
@ -115,6 +115,7 @@ const JudgeDataModifyForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav
|
|
|
|
|
setPicads((picads) => {
|
|
|
|
|
const updated = { ...picads };
|
|
|
|
|
updated[fileArrKey] = e.target.files[0];
|
|
|
|
|
e.target.fileName = e.target.files[0].name;
|
|
|
|
|
return updated;
|
|
|
|
|
});
|
|
|
|
|
} else if (fileKey === 'scFrecad') {
|
|
|
|
|