|
|
@@ -97,21 +97,7 @@ export default {
|
|
|
},
|
|
|
cancelPayFn(){
|
|
|
let that = this
|
|
|
- uni.showLoading({title: '确认中'})
|
|
|
- codePayCheck({id:this.orderId}).then(res=>{
|
|
|
- uni.hideLoading()
|
|
|
- if(res.code == 1){
|
|
|
- if(res.data.returnStatus == 'SUCCESS'){
|
|
|
- that.showSuccess = true
|
|
|
- setTimeout(function(){
|
|
|
- that.payFinish()
|
|
|
- },1500)
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- setTimeout(function(){
|
|
|
- that.$refs.cancelPayRef.open('center')
|
|
|
- },1500)
|
|
|
+ that.$refs.cancelPayRef.open('center')
|
|
|
},
|
|
|
confirmToCancel(){
|
|
|
clearInterval(this.T)
|