|
@@ -331,6 +331,25 @@ export default {
|
|
|
console.log('err::::', err)
|
|
|
if (err.code !=='NO_FEE_NEED_TO_PAY') {
|
|
|
this.reCreateParkOrder()
|
|
|
+ } else {
|
|
|
+ Dialog.alert({
|
|
|
+ title: '提示',
|
|
|
+ message: '当前无需缴费',
|
|
|
+ confirmButtonColor: '#333',
|
|
|
+ }).then(() => {
|
|
|
+ this.$refs.countDown.reset(); // 停车场重置费用倒计时3分钟
|
|
|
+ this.$store.dispatch('order/orderInit', {
|
|
|
+ gateId: this.$route.query?.gateId,
|
|
|
+ vehicleNo: this.$route.query?.vehicleNo,
|
|
|
+ endlessLoop: this.endlessLoop,
|
|
|
+ callback: (res) => {
|
|
|
+ this.orderInitCallBack(res)
|
|
|
+ },
|
|
|
+ })
|
|
|
+ this.btnLoading = false;
|
|
|
+ this.isPay = false
|
|
|
+ // this.createParkOrder();
|
|
|
+ });
|
|
|
}
|
|
|
this.btnLoading = false
|
|
|
this.isPay = false
|