Commit 63445eed authored by qipeng's avatar qipeng

退票BUG修复

parent 72e98070
......@@ -165,21 +165,21 @@ export default {
}
this.$request('order/userOrder/refundTicket',data).then((res)=>{
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({
title: res.data.errorMessage,
icon: 'none'
})
}else{
uni.showToast({
uni.showToast({
title: '申请成功',
icon: 'none'
})
setTimeout(()=>{
})
setTimeout(()=>{
uni.reLaunch({
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