|
|
|
@ -91,12 +91,12 @@ const ParkingRegister = () => {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const submitParkingSimsa = (params) => {
|
|
|
|
|
const rcCodes = [];
|
|
|
|
|
selection.map((d) => rcCodes.push(rowsStatus.rows[d - 1].rcCode));
|
|
|
|
|
//const rcCodes = [];
|
|
|
|
|
// selection.map((d) => rcCodes.push(rowsStatus.rows[d - 1].rcCode));
|
|
|
|
|
|
|
|
|
|
const param = {
|
|
|
|
|
...params,
|
|
|
|
|
rcCodes // selection.map((d) => rowsStatus.rows[d - 1].rcCode)
|
|
|
|
|
rcCodes: selection.map((d) => rowsStatus.rows[d - 1].rcCode)
|
|
|
|
|
};
|
|
|
|
|
alert(JSON.stringify(param));
|
|
|
|
|
setOpen(false);
|
|
|
|
|