From ef2bebe5cb6b8dca177beec92ed5439ef95cb3b8 Mon Sep 17 00:00:00 2001 From: minuk926 Date: Fri, 25 Mar 2022 19:15:33 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=8B=AC=EC=9D=98=EB=93=B1=EB=A1=9D=20?= =?UTF-8?q?=EC=A0=80=EC=9E=A5=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 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/biz/parking/Regist.jsx b/src/views/biz/parking/Regist.jsx index c6e7132..f84cc3b 100644 --- a/src/views/biz/parking/Regist.jsx +++ b/src/views/biz/parking/Regist.jsx @@ -93,6 +93,9 @@ const ParkingRegister = () => { const submitParkingSimsa = (params) => { const param = { ...params, + rcIrTransfer, + rcSeq1, + rcSeq2, rcCodes: selection.map((d) => rowsStatus.rows[d - 1].rcCode) }; alert(JSON.stringify(param)); @@ -101,10 +104,10 @@ const ParkingRegister = () => { opstBizService.saveSimsaTargetList(param).then((response) => { console.log(response); - // if (response && response.data) { - // setTotalCount(response.count); - // setRowsState((prevState) => ({ ...prevState, rows: response.data })); - // } + if (response && response.data) { + setTotalCount(response.count); + setRowsStatus((prevRows) => ({ ...prevRows, rows: response.data })); + } }); };