更新
This commit is contained in:
@@ -190,16 +190,15 @@
|
||||
this.getOrderQrCode()
|
||||
},
|
||||
getOrderQrCode(){
|
||||
console.log('这里是获取验证码')
|
||||
console.log(this.order.orderSerialNumber)
|
||||
|
||||
oilSiteApi.getOrderQrCode(this.order.orderSerialNumber).then( (res)=>{
|
||||
console.log(res)
|
||||
|
||||
if(res.code == 40000){
|
||||
console.log('34')
|
||||
|
||||
this.showQr = false
|
||||
this.showtext=true
|
||||
}else if(res.code == 20000){
|
||||
console.log('12')
|
||||
|
||||
this.showQr = true
|
||||
this.showtext =false
|
||||
this.val =res.data.codeStr
|
||||
@@ -230,7 +229,7 @@
|
||||
this.tySqRes = res.data
|
||||
this.tyIntervalCount++
|
||||
if (res.code == 20000) {
|
||||
console.log('进入')
|
||||
|
||||
this.tySqRes = res.data
|
||||
this.tyIntervalCount++
|
||||
if(res.data.otherOrderStatus == 0){
|
||||
@@ -302,7 +301,7 @@
|
||||
this.getOrderQrCode()
|
||||
if(option.payMethod == '1' && option.status == 'success'){
|
||||
if(option.status == 'success') {
|
||||
console.log('这里是支付成功')
|
||||
|
||||
this.textstatus = '支付成功'
|
||||
this.status = option.status
|
||||
console.log(this.oilItem)
|
||||
@@ -321,21 +320,21 @@
|
||||
|
||||
this.ContextAudio(this.audioUrl)
|
||||
}else{
|
||||
console.log('这里是支付失败')
|
||||
|
||||
this.textstatus = '支付失败'
|
||||
this.status = option.status
|
||||
}
|
||||
return
|
||||
}
|
||||
if(option.status == 'fail'){
|
||||
console.log('fail')
|
||||
|
||||
this.textstatus = '支付失败'
|
||||
this.status = option.status
|
||||
this.errMsg = option.errMsg
|
||||
return
|
||||
}
|
||||
if (this.order.payMethod && this.order.payMethod == 2) {
|
||||
console.log('这里是则一')
|
||||
|
||||
this.tyPayMethod = 2
|
||||
this.queryOrderStatusSq()
|
||||
return
|
||||
@@ -343,7 +342,7 @@
|
||||
},
|
||||
filters: {
|
||||
moneyFormath(value) {
|
||||
console.log(value)
|
||||
|
||||
if (value != 'xxx.x') {
|
||||
let number = value.toFixed(2)
|
||||
return number
|
||||
|
||||
Reference in New Issue
Block a user