|
|
|
@ -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 }));
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|