gdpaomg
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="order-btn" v-if="[1, 2, 3, 4, 8].indexOf(order.view_type) >= 0">
|
||||
<view class="cancel" v-if="order.view_type == 3 || order.view_type == 2" @click="toOtherPage('RefundOrder')">申请退款</view>
|
||||
<view class="cancel" v-if="(order.view_type == 3 || order.view_type == 2) && order.is_refund == 1" @click="toOtherPage('RefundOrder')">申请退款</view>
|
||||
<view class="cancel" v-if="order.view_type == 3" @click="toOtherPage('Logistics')">查看物流</view>
|
||||
<view class="logistics" v-if="order.view_type == 3" @click="confirmReceive">确认收货</view>
|
||||
<view class="comment" v-if="order.view_type == 4" @click="toOtherPage('Comment')">立即评价</view>
|
||||
@@ -47,7 +47,7 @@ export default {
|
||||
props: {
|
||||
order: Object
|
||||
},
|
||||
created() {
|
||||
mounted() {
|
||||
this.viewState();
|
||||
},
|
||||
methods: {
|
||||
@@ -81,6 +81,7 @@ export default {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
// console.log(state);
|
||||
this.state = state;
|
||||
},
|
||||
cancelOrder() {
|
||||
|
||||
Reference in New Issue
Block a user