瀏覽代碼

申请退款增加条件allowRefund

gcz 2 月之前
父節點
當前提交
989614579e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      center/orderdetails.vue

+ 1 - 1
center/orderdetails.vue

@@ -100,7 +100,7 @@
 			<view class="box order-info">
 				<view class="title u-flex u-row-between">
 					订单信息
-					<text class="btn" v-if="orderDetails.status==3" @click="refund">申请退款</text>
+					<text class="btn" v-if="orderDetails.status==3&&orderDetails.allowRefund" @click="refund">申请退款</text>
 					<text class="btn" v-if="orderDetails.status==7" @click="invoice">申请发票</text>
 				</view>
 				<view class="order-info-item" v-for="(item,index) in orderInfo[orderDetails.status]" :key="index">