Commit 72e98070 authored by qipeng's avatar qipeng

退单页面 判定值errorMessage

parent 4ba5b911
...@@ -165,6 +165,12 @@ export default { ...@@ -165,6 +165,12 @@ 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){
uni.showToast({
title: res.data.errorMessage,
icon: 'none'
})
}else{
uni.showToast({ uni.showToast({
title: '申请成功', title: '申请成功',
icon: 'none' icon: 'none'
...@@ -174,6 +180,8 @@ export default { ...@@ -174,6 +180,8 @@ export default {
url: '/pages/my/order/orderList/orderList' url: '/pages/my/order/orderList/orderList'
}) })
},1000) },1000)
}
}else{ }else{
uni.showToast({ uni.showToast({
......
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