Commit 63445eed authored by qipeng's avatar qipeng

退票BUG修复

parent 72e98070
...@@ -165,21 +165,21 @@ export default { ...@@ -165,21 +165,21 @@ export default {
} }
this.$request('order/userOrder/refundTicket',data).then((res)=>{ this.$request('order/userOrder/refundTicket',data).then((res)=>{
if(res.code == '00'){ if(res.code == '00'){
if(res.data.errorMessage!=''&&res.data.errorMessage!=undefined){ if(res.data.errorMessage!=''&&res.data.errorMessage!=undefined&&res.data.orderStatus!=6){
uni.showToast({ uni.showToast({
title: res.data.errorMessage, title: res.data.errorMessage,
icon: 'none' icon: 'none'
}) })
}else{ }else{
uni.showToast({ uni.showToast({
title: '申请成功', title: '申请成功',
icon: 'none' icon: 'none'
}) })
setTimeout(()=>{ setTimeout(()=>{
uni.reLaunch({ uni.reLaunch({
url: '/pages/my/order/orderList/orderList' url: '/pages/my/order/orderList/orderList'
}) })
},1000) },1000)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment