From 32ffe642e9c1619e39209c147ff2294dc609e146 Mon Sep 17 00:00:00 2001 From: minuk926 Date: Fri, 1 Apr 2022 21:19:46 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=A3=BC=EC=A0=95=EC=B0=A8=EC=9D=98?= =?UTF-8?q?=EA=B2=AC=EC=A7=84=EC=88=A0=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/biz/parking/Regist.jsx | 15 +++++++++++---- src/views/biz/parking/SaveParkingSimsaForm.jsx | 12 ++++++++---- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/src/views/biz/parking/Regist.jsx b/src/views/biz/parking/Regist.jsx index ae7a3c1..f05d82b 100644 --- a/src/views/biz/parking/Regist.jsx +++ b/src/views/biz/parking/Regist.jsx @@ -42,9 +42,9 @@ const ParkingRegister = () => { { headerName: '최초차량번호', headerAlign: 'center', field: 'mmOcarno', align: 'center', minWidth: 110 }, { headerName: '최종차량번호', headerAlign: 'center', field: 'mmNcarno', align: 'center', minWidth: 110 }, { headerName: '성명', headerAlign: 'center', field: 'rcName', minWidth: 150 }, - { headerName: '진술유형', headerAlign: 'center', field: 'rcContDocStr', minWidth: 130 }, + { headerName: '진술유형', headerAlign: 'center', field: 'rcContDocNm', minWidth: 130 }, { headerName: '접수일자', headerAlign: 'center', field: 'rcDate', align: 'center' }, - { headerName: '접수방법', headerAlign: 'center', field: 'rcIngbStr', align: 'center' } + { headerName: '접수방법', headerAlign: 'center', field: 'rcIngbNm', align: 'center' } ]; const search = () => { @@ -166,7 +166,14 @@ const ParkingRegister = () => { - @@ -193,7 +200,7 @@ const ParkingRegister = () => { handleSelection={handleSelection} /> - + ); diff --git a/src/views/biz/parking/SaveParkingSimsaForm.jsx b/src/views/biz/parking/SaveParkingSimsaForm.jsx index 184bdd2..36b2c3b 100644 --- a/src/views/biz/parking/SaveParkingSimsaForm.jsx +++ b/src/views/biz/parking/SaveParkingSimsaForm.jsx @@ -11,6 +11,7 @@ import LocalizationProvider from '@mui/lab/LocalizationProvider'; import { DatePicker, TimePicker } from '@mui/lab'; import Button from '@mui/material/Button'; import PropTypes from 'prop-types'; +import { IconFileExport } from '@tabler/icons'; const teams = [ { code: '001', value: '1팀' }, @@ -20,12 +21,12 @@ const teams = [ ]; const toDate = new Date(); -const SaveParkingSimsaForm = ({ handleModalSave }) => { +const SaveParkingSimsaForm = ({ isDisabled = true, handleModalSave }) => { const [msuTeam, setMsuTeam] = useState(teams[0].code); const [msSdate, setMsSdate] = useState(format(toDate, 'yyyy-MM-dd')); const [msStartsi, setMsStartsi] = useState(getHours(toDate)); const [msEdate, setMsEdate] = useState(format(toDate, 'yyyy-MM-dd')); - const [msChasu, setMsChasu] = useState(); + const [msChasu, setMsChasu] = useState(99); const [msCdate, setMsCdate] = useState(format(toDate, 'yyyy-MM-dd')); const [msClosesi, setMsClosesi] = useState(getHours(toDate)); @@ -160,12 +161,15 @@ const SaveParkingSimsaForm = ({ handleModalSave }) => { - + ); }; SaveParkingSimsaForm.propTypes = { - handleModalSave: PropTypes.func + handleModalSave: PropTypes.func.isRequired, + isDisabled: PropTypes.bool.isRequired }; export default SaveParkingSimsaForm;