| | |
| | | {{this.statisticData.code}} |
| | | <!--<el-input v-model="statisticData.code" readonly></el-input>--> |
| | | </el-form-item> |
| | | <el-form-item v-if="isShowjiaofei" class="weizhang-footer-box" style="display: flex;justify-content: center;margin-top: 4.498vh" label-width="0" v-show="showFlag"> |
| | | <el-button class="jiaofei-btn" type="primary" @click="pay()" :loading="payFlag">去缴费</el-button> |
| | | <el-form-item v-if="isShowjiaofei" class="weizhang-footer-box" style="margin-top: 4.498vh" label-width="0" v-show="showFlag"> |
| | | <div style="flex: 1; text-align: center;"> |
| | | <el-button class="jiaofei-btn" type="primary" @click="pay()" :loading="payFlag">去缴费</el-button> |
| | | </div> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-form |
| | |
| | | label="无 牌 车 辆 查 询"> |
| | | <el-input prefix-icon="el-icon-search" style="margin-top: 20px;border: solid 1px #ccc!important;" v-model="carNo" placeholder="请输入手机号"></el-input> |
| | | </el-form-item> |
| | | <el-form-item class="weizhang-footer-box" style="display: flex;justify-content: center;margin-top: 5.498vh" label-width="0"> |
| | | <el-button |
| | | style="borderColor:'none';background:#121215e0 " |
| | | class="jiaofei-btn" type="primary" @click="noCarOut()" v-show="showFlag">查询</el-button> |
| | | <el-form-item class="weizhang-footer-box" style="margin-top: 5.498vh" label-width="0"> |
| | | <div style="flex: 1; text-align: center;"> |
| | | <el-button |
| | | style="borderColor:'none';background:#121215e0 " |
| | | class="jiaofei-btn" type="primary" @click="noCarOut()" v-show="showFlag">查询</el-button> |
| | | </div> |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | |
| | | } else { |
| | | this.$message.error(res.msg || '支付验证失败,请重试', 3000); |
| | | } |
| | | this.paying = false; |
| | | }, |
| | | err => { |
| | | this.payFlag = false; |
| | | this.$message.error('网络异常,请重试', 3000); |
| | | this.paying = false; |
| | | } |
| | | ).finally(() => { |
| | | this.paying = false; |
| | | }); |
| | | ) |
| | | |
| | | }, |
| | | againPay() { |
| | | console.log('this.paying=', this.paying); |
| | | if (this.paying) return; |
| | | this.paying = true; |
| | | this.againDialogVisible = false; |
| | | this.dataLoading = true; |
| | | this.parkXT(this.outParkId).finally(() => { |
| | | this.dataLoading = false; |
| | | this.paying = false; |
| | | }); |
| | | this.parkXT(this.outParkId) |
| | | // .finally(() => { |
| | | // this.dataLoading = false; |
| | | // this.paying = false; |
| | | // }); |
| | | }, |
| | | parkXT(outParkId) { |
| | | this.payNowFlag = true //立即支付loading |
| | |
| | | }) |
| | | } catch (err) { |
| | | this.payNowFlag = false; |
| | | } finally { |
| | | this.dataLoading = false; |
| | | this.paying = false; |
| | | } |
| | | }, |
| | | noCarOut(){ |