diff --git a/src/views/biz/board/Board.jsx b/src/views/biz/board/Board.jsx index 4e8e17e..9e6e4cc 100644 --- a/src/views/biz/board/Board.jsx +++ b/src/views/biz/board/Board.jsx @@ -130,9 +130,13 @@ const Board = () => { }); // .then((res) => { break; case 'DELETE': - removeBoard(payload).then(() => { - search(); - setOpen(false); + removeBoard(payload).then((res) => { + if (res?.success) { + search(); + setOpen(false); + } else { + alert.show(`${res?.data.message}`); + } }); // .then((res) => { break; default: diff --git a/src/views/biz/judge/JudgeDataModifyForm.jsx b/src/views/biz/judge/JudgeDataModifyForm.jsx index 2383c74..4300996 100644 --- a/src/views/biz/judge/JudgeDataModifyForm.jsx +++ b/src/views/biz/judge/JudgeDataModifyForm.jsx @@ -319,15 +319,7 @@ const JudgeDataModifyForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav /> - setScJuso(e?.target?.value)} - InputProps={{ readOnly: true }} - /> + setScJuso(e?.target?.value)} /> setScBunji(e?.target?.value)} /> diff --git a/src/views/biz/judge/JudgeDataNewForm.jsx b/src/views/biz/judge/JudgeDataNewForm.jsx index 7cd8660..405a27f 100644 --- a/src/views/biz/judge/JudgeDataNewForm.jsx +++ b/src/views/biz/judge/JudgeDataNewForm.jsx @@ -210,7 +210,7 @@ const JudgeDataNewForm = ({ scDatagb, contDocs, ingbs, handleModalSave }) => { fullWidth required label="우편번호" - value={zipcode1} + value={zipcode1 ?? ''} onChange={(e) => setZipcode1(e?.target?.value)} onClick={openPostCode} InputProps={{