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