|
@@ -1,4 +1,4 @@
|
|
|
-// import checkOutQHResponse from "@/api/mockData/checkout.szjsgc5.response.json";
|
|
|
+import checkOutQHResponse from "@/api/mockData/checkout.szjsgc5.response.json";
|
|
|
import { checkOut,calculateDiscount,ordersAndPrepay,currentUnlicensedPlate,unlicensedCarCheckIn,unlicensedCarCheckout } from '@/api/parking';
|
|
|
import state from "@/store/order/state";
|
|
|
import mutations from "@/store/order/mutations";
|
|
@@ -41,8 +41,8 @@ export default {
|
|
|
duration: 0
|
|
|
});
|
|
|
const method = unlicensed && endlessLoop && gateId || !vehicleNo ? unlicensedCarCheckout : checkOut
|
|
|
- const res = await method(vehicleNo, unlicensed, gateId);
|
|
|
- // const res = checkOutQHResponse
|
|
|
+ // const res = await method(vehicleNo, unlicensed, gateId);
|
|
|
+ const res = checkOutQHResponse
|
|
|
Toast.clear();
|
|
|
if ( res?.parkingRecord?.totalFee <= 0 ) {
|
|
|
callback && callback({
|