Commit 637f091d authored by qipeng's avatar qipeng

退单时间修改

parent 67e3ed41
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<view class="title-name">{{orderInfo.merchantName}}{{orderInfo.productName}}</view> <view class="title-name">{{orderInfo.merchantName}}{{orderInfo.productName}}</view>
<view class="title-num">x{{orderInfo.orderNum}}</view> <view class="title-num">x{{orderInfo.orderNum}}</view>
</view> </view>
<view class="ticket-timer">游玩当日{{orderRefundRuleTimer}}之前未使用可退</view> <view class="ticket-timer">游玩<text v-if="orderRefundRuleDay!=0">{{orderRefundRuleDay}}</text><text v-else>当日</text>{{orderRefundRuleTimer}}之前未使用可退</view>
</view> </view>
<!-- <view class="apply-user general-Box"> <!-- <view class="apply-user general-Box">
<view class="user-title"> <view class="user-title">
...@@ -111,6 +111,7 @@ export default { ...@@ -111,6 +111,7 @@ export default {
isRefund:false,//是否可以退单 isRefund:false,//是否可以退单
orderRefundRuleTimer:'',//退款时间 orderRefundRuleTimer:'',//退款时间
orderRefundRuleTimerType:false, orderRefundRuleTimerType:false,
orderRefundRuleDay:'',//退款天
} }
}, },
onLoad(option) { onLoad(option) {
...@@ -211,6 +212,9 @@ export default { ...@@ -211,6 +212,9 @@ export default {
var refundTimer= '23:59:59' var refundTimer= '23:59:59'
if(this.orderInfo.orderRefundRuleList!=undefined&&this.orderInfo.orderRefundRuleList.length>0){ if(this.orderInfo.orderRefundRuleList!=undefined&&this.orderInfo.orderRefundRuleList.length>0){
refundTimer = this.orderInfo.orderRefundRuleList[0].refundTime refundTimer = this.orderInfo.orderRefundRuleList[0].refundTime
if(this.orderInfo.orderRefundRuleList[0].refundDay!=undefined){
this.orderRefundRuleDay = this.orderInfo.orderRefundRuleList[0].refundDay
}
} }
// if(this.getNowTime()>'08:00:00'&&this.getNowTime()<refundTimer){ // if(this.getNowTime()>'08:00:00'&&this.getNowTime()<refundTimer){
......
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