Commit 20ab8013 authored by qipeng's avatar qipeng

退款BUG修复

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