Эх сурвалжийг харах

无牌车参数首次异常

john 1 жил өмнө
parent
commit
87299d0ae5

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

@@ -35,7 +35,7 @@ export default {
         // const res = await checkOut('沪DCJ986');
         // console.log('无牌车扫码出场', endlessLoop);
         // 场内缴费,调 check-out 接口,
-        const method = unlicensed && endlessLoop || !vehicleNo ? unlicensedCarCheckout : checkOut
+        const method = unlicensed && endlessLoop && gateId || !vehicleNo ? unlicensedCarCheckout : checkOut
         const res = await method(vehicleNo, unlicensed, gateId);
         // const res = checkOutQHResponse
         if ( res?.parkingRecord?.totalFee <= 0 ) {