修改临停订单可以重复支付的bug
This commit is contained in:
parent
1b552b84d2
commit
9e664e1a21
@ -395,13 +395,32 @@ export default {
|
|||||||
signType: res.signType,
|
signType: res.signType,
|
||||||
paySign: res.paySign,
|
paySign: res.paySign,
|
||||||
success: (payRes) => {
|
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 = {
|
const params = {
|
||||||
order_id: resVal.order_id,
|
order_id: resVal.order_id,
|
||||||
}
|
}
|
||||||
request(apiArr.tempParkingOrderQuery, "POST", params).then(res => {
|
request(apiArr.tempParkingOrderQuery, "POST", params).then(res => {
|
||||||
this.selectCost()
|
this.selectCost()
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
fail: (payErr) => {
|
fail: (payErr) => {
|
||||||
const params = {
|
const params = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user