|
|
@@ -102,7 +102,7 @@
|
|
|
<view class="flex-space title">
|
|
|
商品信息
|
|
|
<view class="flex" style="color: #3385ff;font-weight: 400" v-if="detailInfo.status == 4">
|
|
|
- <navigator v-if="detailInfo.refund==1" :url="`/pagesOrder/refund?id=${option.id}`" style="margin-left: 20upx;">发起退款</navigator>
|
|
|
+ <view v-if="detailInfo.refund==1" @click.stop="goRefund()" style="margin-left: 20upx;">发起退款</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="module-com content-box">
|
|
|
@@ -241,6 +241,13 @@ export default {
|
|
|
...mapGetters({ loginInfo: "getLoginInfo" }),
|
|
|
},
|
|
|
methods: {
|
|
|
+ goRefund(){
|
|
|
+ if(this.detailInfo.payWay == 1){
|
|
|
+ this.$msg('支付宝付款暂不支持退款,请线下退款')
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ this.$util.pageTo({url:'/pagesOrder/refund?id='+this.option.id})
|
|
|
+ },
|
|
|
//结账(单个结账没有优惠)
|
|
|
settleOrder(item) {
|
|
|
let id = item.id
|