Commit ecf534d1 authored by qipeng's avatar qipeng

增加退款

parent 6370200a
......@@ -214,6 +214,14 @@
<text v-if="orderInfo.orderRefundRuleList[0]">{{orderInfo.orderRefundRuleList[0].refundTime.substr(0,5)}}之前可退</text>
</template>
<template v-else-if="orderInfo.isRefund==2">随时可退</template>
<template v-if="ticketStatus">
<router-link class="list-btnRefund" :to="'/applyAfterSales?id='+orderInfo.id"
v-if="orderInfo.orderStatus==2&&orderInfo.isRefund!=0&&ticketStatus==0">退款/售后</router-link>
</template>
<template v-else>
<router-link class="list-btnRefund" :to="'/applyAfterSales?id='+orderInfo.id"
v-if="orderInfo.orderStatus==2&&orderInfo.isRefund!=0">退款/售后</router-link>
</template>
</view>
</view>
</view>
......@@ -427,6 +435,7 @@
returnTripType:false,//返程取号设置
Brightness:'',//屏幕亮度
qrCodeType:false,//是否是多个二维码
btnRefundType:false,//是否可退款
}
},
onShow() {
......@@ -451,8 +460,8 @@
onLoad(option) {
this.id = option.orderId
//this.id = "z00167956572219584dc15634b62cf75"
this.openId = uni.getStorageSync("openid") //openid oroHZ5FaUQ_SOOC_uQQP92fJpBRE oh2UV1lyYABHMZ1rMlgjhVHyyYDQ
//this.openId = "oroHZ5FaUQ_SOOC_uQQP92fJpBRE"
//this.openId = uni.getStorageSync("openid") //openid oroHZ5FaUQ_SOOC_uQQP92fJpBRE oh2UV1lyYABHMZ1rMlgjhVHyyYDQ
this.openId = "oh2UV1lyYABHMZ1rMlgjhVHyyYDQ"
this.getDetail();
},
......@@ -1040,8 +1049,8 @@
.order-certificate .certificate-box .box-QRcode {
display: block;
width: 320rpx;
height: 320rpx;
width: 350rpx;
height: 350rpx;
margin: 0 auto;
}
......@@ -1113,6 +1122,20 @@
text-overflow: ellipsis;
-o-text-overflow: ellipsis; */
}
.order-mes .mes-box .box-case .case-list .list-btnRefund{
width: 152rpx;
height: 64rpx;
border: solid 1px #ccc;
border-radius: 8rpx;
line-height: 64rpx;
color: #333333;
text-align: center;
display: inline-block;
box-sizing: content-box;
position: absolute;
top: -12rpx;
right: 0;
}
.order-mes .mes-box .box-case .case-list .list-btn {
/* flex-shrink: 0;
......
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