feat: 거주자 심의 반영

main
minuk926 3 years ago
parent eaf42df9d5
commit 969a61187b

@ -129,7 +129,7 @@ const NewResidentDataForm = ({ handleModalSave }) => {
<Grid item sm={3}>
<FormControl fullWidth>
<InputLabel required>진술유형</InputLabel>
<Select size="small" defaultValue="11" onChange={(e) => setSelectedContDoc(e?.target?.value)}>
<Select size="small" defaultValue={selectedContDoc} onChange={(e) => setSelectedContDoc(e?.target?.value)}>
{scContDoc &&
scContDoc.map((contDoc) => (
<MenuItem key={contDoc.code} value={contDoc.code}>
@ -156,7 +156,7 @@ const NewResidentDataForm = ({ handleModalSave }) => {
<Grid item sm={3}>
<FormControl fullWidth>
<InputLabel required>접수방법</InputLabel>
<Select size="small" defaultValue="1" onChange={(e) => setSelectedIngb(e?.target?.value)}>
<Select size="small" defaultValue={selectedIngb} onChange={(e) => setSelectedIngb(e?.target?.value)}>
{scIngb &&
scIngb.map((ingb) => (
<MenuItem key={ingb.code} value={ingb.code}>

@ -52,6 +52,7 @@ const ResidentRegister = () => {
const search = () => {
const params = {
scDatagb: '1', //
scTransfer,
scSeq1,
scSeq2
@ -78,6 +79,7 @@ const ResidentRegister = () => {
const submitResidentTargets = (params) => {
const param = {
...params,
scDatagb: '1', //
scTransfer,
scSeq1,
scSeq2,

@ -158,7 +158,7 @@ const SaveResidentTargetForm = ({ handleModalSave }) => {
</Grid>
</Grid>
<Grid item sx={{ marginTop: 3 }}>
<Button disabled variant="contained" color="primary" size="small" startIcon={<IconFileExport />} onClick={onSave}>
<Button variant="contained" color="primary" size="small" startIcon={<IconFileExport />} onClick={onSave}>
저장
</Button>
</Grid>

Loading…
Cancel
Save