修改临停订单可以重复支付的bug
This commit is contained in:
parent
1b552b84d2
commit
9e664e1a21
@ -395,13 +395,32 @@ export default {
|
||||
signType: res.signType,
|
||||
paySign: res.paySign,
|
||||
success: (payRes) => {
|
||||
// 重置页面状态为加载时的默认状态
|
||||
// 清除定时器
|
||||
if (this.timerId) {
|
||||
clearInterval(this.timerId);
|
||||
this.timerId = null;
|
||||
}
|
||||
|
||||
// 重置停车费相关状态
|
||||
this.showCost1 = false;
|
||||
this.showCost2 = false;
|
||||
this.parkingLotName = '';
|
||||
this.costAmount = '';
|
||||
this.currentCarNumber = '';
|
||||
this.entryTime = '';
|
||||
this.billingTime = '';
|
||||
this.feeOutTime = '';
|
||||
|
||||
// 重置支付相关状态
|
||||
this.paymentMethod = 'wechat';
|
||||
|
||||
const params = {
|
||||
order_id: resVal.order_id,
|
||||
}
|
||||
request(apiArr.tempParkingOrderQuery, "POST", params).then(res => {
|
||||
this.selectCost()
|
||||
})
|
||||
|
||||
},
|
||||
fail: (payErr) => {
|
||||
const params = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user