John-Hong vor 1 Jahr
Ursprung
Commit
ddb35b46e4
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      src/store/order/index.js

+ 3 - 3
src/store/order/index.js

@@ -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({