Commit 9c3828d6 authored by 潘永坪's avatar 潘永坪

联票电子门票bug处理

parent 67339ada
......@@ -386,7 +386,7 @@ export default {
break
case 8:return '全部退货退款'
break
case 9:return '取消'
case 9:return '取消'
break
case 10:return '已完成 '
break
......@@ -523,6 +523,8 @@ export default {
}
this.$request('order/userOrder/findOrderDetail',data).then((res)=>{
if(res.code=='00'){
//防止代码bug进入catch里面,一直请求接口影响性能
try{
this.orderInfo=res.data
let orderInfo=res.data
this.orderInfo.childs.forEach(item=>{
......@@ -614,8 +616,6 @@ export default {
//refundDateType退款时间0之前1之后2至(用于区间)
if(item2.refundDateType==0){
console.log(nowTimeNumber)
console.log(refundTimeNumber)
if(nowTimeNumber<refundTimeNumber){
this.subRefundBtn=true
//增加字段用于弹窗展示该产品是否可退
......@@ -719,6 +719,12 @@ export default {
})
}
}
}
}catch(e){
uni.showToast({
title: e,
icon: 'none'
})
}
}else{
uni.showToast({
......@@ -839,6 +845,8 @@ export default {
this.$request('distribution/distribution/getNewFetchInfo',data).then((res)=>{
if(res.code=='00'){
if(res.data.length>0){
//防止代码bug进入catch里面,一直请求接口影响性能
try{
//显示排号信息
item.showSortInfo=true
let dataObj=res.data[0]
......@@ -873,6 +881,12 @@ export default {
}
}
this.$forceUpdate()
}catch(e){
uni.showToast({
title: e,
icon: 'none'
})
}
}
}else{
uni.showToast({
......@@ -883,7 +897,7 @@ export default {
}).catch((err)=>{
this.numberTimer=setTimeout(()=>{
this.getSortInfo(item)
},1000)
},2000)
})
},
//---点击重新取号,显示弹窗
......
......@@ -416,7 +416,7 @@ export default {
}
},
onLoad(option) {
this.companyId = option.companyId || ''
this.companyId=this.$commonjs.getCompanyId(option)|| ''
this.groupId=option.groupId||''
this.groupChannelId=option.groupChannelId||''
this.orderSource=option.orderSource||''
......
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