浏览代码

无牌车参数首次异常

john 1 年之前
父节点
当前提交
87299d0ae5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/store/order/index.js

+ 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 ) {