feat: 거주자 심의 반영

main
minuk926 3 years ago
parent eaf42df9d5
commit 969a61187b

@ -129,7 +129,7 @@ const NewResidentDataForm = ({ handleModalSave }) => {
<Grid item sm={3}> <Grid item sm={3}>
<FormControl fullWidth> <FormControl fullWidth>
<InputLabel required>진술유형</InputLabel> <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 &&
scContDoc.map((contDoc) => ( scContDoc.map((contDoc) => (
<MenuItem key={contDoc.code} value={contDoc.code}> <MenuItem key={contDoc.code} value={contDoc.code}>
@ -156,7 +156,7 @@ const NewResidentDataForm = ({ handleModalSave }) => {
<Grid item sm={3}> <Grid item sm={3}>
<FormControl fullWidth> <FormControl fullWidth>
<InputLabel required>접수방법</InputLabel> <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 &&
scIngb.map((ingb) => ( scIngb.map((ingb) => (
<MenuItem key={ingb.code} value={ingb.code}> <MenuItem key={ingb.code} value={ingb.code}>

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

@ -158,7 +158,7 @@ const SaveResidentTargetForm = ({ handleModalSave }) => {
</Grid> </Grid>
</Grid> </Grid>
<Grid item sx={{ marginTop: 3 }}> <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> </Button>
</Grid> </Grid>

Loading…
Cancel
Save