Commit 4b07f548 authored by qipeng's avatar qipeng

代码还原

parent 93539fbb
...@@ -287,7 +287,6 @@ export default { ...@@ -287,7 +287,6 @@ export default {
// } // }
this.orderRefundRuleListShowMessage = this.orderInfo.orderRefundRuleList this.orderRefundRuleListShowMessage = this.orderInfo.orderRefundRuleList
//判断是否在退票时间内 //判断是否在退票时间内
var orderRefundRuleListShowType = false
this.orderRefundRuleListShowMessage.forEach((item,index)=>{ this.orderRefundRuleListShowMessage.forEach((item,index)=>{
if(item.refundVisitorApply==1){ if(item.refundVisitorApply==1){
var todayTimer = this.$commonjs.today()+' '+this.$commonjs.todayTime() //获取今天时间 var todayTimer = this.$commonjs.today()+' '+this.$commonjs.todayTime() //获取今天时间
...@@ -340,13 +339,6 @@ export default { ...@@ -340,13 +339,6 @@ export default {
} }
} }
}) })
if(orderRefundRuleListShowType == false&&this.orderInfo!=0){
this.isRefund = true
this.orderRefundRuleListShowBtn = true
}else{
this.orderRefundRuleListShowBtn = false
this.isRefund = false
}
}else{ }else{
uni.showToast({ uni.showToast({
title: res.message, title: res.message,
......
...@@ -845,7 +845,6 @@ export default { ...@@ -845,7 +845,6 @@ export default {
} }
} }
//判断是否在退票时间内 //判断是否在退票时间内
var orderRefundRuleListShowType = false
this.orderRefundRuleListShowMessage.forEach((item,index)=>{ this.orderRefundRuleListShowMessage.forEach((item,index)=>{
if(item.refundVisitorApply==1){ if(item.refundVisitorApply==1){
var todayTimer = this.$commonjs.today()+' '+this.$commonjs.todayTime() //获取今天时间 var todayTimer = this.$commonjs.today()+' '+this.$commonjs.todayTime() //获取今天时间
...@@ -886,11 +885,6 @@ export default { ...@@ -886,11 +885,6 @@ export default {
} }
} }
}) })
if(orderRefundRuleListShowType == false&&this.orderInfo!=0){
this.orderRefundRuleListShowBtn = true
}else{
this.orderRefundRuleListShowBtn = false
}
this.findCouponListFun() this.findCouponListFun()
}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