|
@@ -106,7 +106,7 @@
|
|
<view class="op-area">
|
|
<view class="op-area">
|
|
<button v-if="item.orderState == 1" class="action-btn" @click="cancelOrder(item.orderId)">取消订单</button>
|
|
<button v-if="item.orderState == 1" class="action-btn" @click="cancelOrder(item.orderId)">取消订单</button>
|
|
<button v-if="item.orderState == 1" class="action-btn" @click="goPay(item)">立即付款</button>
|
|
<button v-if="item.orderState == 1" class="action-btn" @click="goPay(item)">立即付款</button>
|
|
- <button v-if="item.orderState == 4" class="info-btn" @click="salesReturn(item)">申请退货</button>
|
|
|
|
|
|
+ <button v-if="item.canReturnGoods" class="info-btn" @click="salesReturn(item)">申请退货</button>
|
|
<button v-if="item.canRefund" class="info-btn" @click="refundOrder(item.orderId)">申请退款</button>
|
|
<button v-if="item.canRefund" class="info-btn" @click="refundOrder(item.orderId)">申请退款</button>
|
|
<button v-if="item.orderState == 2" class="action-btn" @click="viewPickCode(item.pickupCode)">取货码 {{item.pickupCode}}</button>
|
|
<button v-if="item.orderState == 2" class="action-btn" @click="viewPickCode(item.pickupCode)">取货码 {{item.pickupCode}}</button>
|
|
</view>
|
|
</view>
|
|
@@ -499,7 +499,7 @@ export default {
|
|
this.page = 1;
|
|
this.page = 1;
|
|
this.$set(this, 'orderList', []);
|
|
this.$set(this, 'orderList', []);
|
|
this.pay_close = false;
|
|
this.pay_close = false;
|
|
- uni.$u.toast("只付成功")
|
|
|
|
|
|
+ uni.$u.toast("支付成功")
|
|
this.pay_order_id = '';
|
|
this.pay_order_id = '';
|
|
this.pay_orderId = '';
|
|
this.pay_orderId = '';
|
|
this.getOrderData();
|
|
this.getOrderData();
|