...
|
...
|
@@ -3,7 +3,7 @@ |
|
|
<div class="order-status">
|
|
|
<p v-if="order.isCancel === 'Y'">交易已取消</p>
|
|
|
<p v-else>{{order.status | convertOrderState}}</p>
|
|
|
<p v-if="order.isCancel !== 'Y' && order.status == 0 && order.payLefttime != 0">剩余: <span v-count-down v-bind:left-time="order.payLefttime"></span>,订单将被取消</p>
|
|
|
<p v-if="order.isCancel !== 'Y' && order.status == 0 && order.payLefttime != 0">剩余: <span v-count-down :left-time="order.payLefttime"></span>,订单将被取消</p>
|
|
|
</div>
|
|
|
<div class="order-address">
|
|
|
<p><span>{{order.userName}}</span><span>{{order.mobile}}</span></p>
|
...
|
...
|
@@ -18,7 +18,7 @@ |
|
|
<li class="goods-info" v-for="product in order.orderGoods">
|
|
|
<a :href="product | goodsUrl 'collection'">
|
|
|
<div class="img-box">
|
|
|
<img v-bind:src="product.goodsImage | resize 49 65">
|
|
|
<img :src="product.goodsImage | resize 49 65">
|
|
|
<label v-if="product.goodsType === 'gift'">赠品</label>
|
|
|
<label class="price-gift" v-if="product.goodsType === 'price_gift'">加价购</label>
|
|
|
</div>
|
...
|
...
|
@@ -50,14 +50,14 @@ |
|
|
<button v-if="order.isCancel === 'Y'" @click="deleteOrder(order.orderCode)" class="normal">删除订单</button>
|
|
|
<template v-else>
|
|
|
<button v-if="order.status == 0" @click="cancelOrder(order.orderCode)">取消订单</button>
|
|
|
<button v-if="order.status == 0 " class="countdown" @click="goBuy(order)">去支付 <span v-count-down v-bind:left-time="order.payLefttime" v-bind:callback="autoCancel(order.orderCode)"></span></button>
|
|
|
<button v-if="order.status == 0 " class="countdown" @click="goBuy(order)">去支付 <span v-count-down :left-time="order.payLefttime" :callback="autoCancel(order.orderCode)"></span></button>
|
|
|
<a v-if="order.status == 4 || order.status == 5 || order.status == 6" href="/me/logistic?order_code={{order.orderCode}}">查看物流</a>
|
|
|
<button v-if="order.status == 4 || order.status == 5 " class="black" @click="confirmGoods(order.orderCode)">确认收货</button>
|
|
|
<button v-if="order.isSupportRefund == 'Y' || order.isSupportExchange == 'Y'" class="normal" @click="applyRefund()">申请售后</button>
|
|
|
</template>
|
|
|
</div>
|
|
|
<select id="cancel-reason" class="cancel-reason" v-on:blur="reasonChange" v-on:change="reasonChange" v-model="selected">
|
|
|
<option v-for="option in options" v-bind:value="{id:option.id,reason:option.reason}">{{option.reason}}</option>
|
|
|
<select id="cancel-reason" class="cancel-reason" @blur="reasonChange" @change="reasonChange" v-model="selected">
|
|
|
<option v-for="option in options" :value="{id:option.id,reason:option.reason}">{{option.reason}}</option>
|
|
|
</select>
|
|
|
</template>
|
|
|
</template>
|
...
|
...
|
|