需要后台的允许才能申请售后
This commit is contained in:
parent
b68f876eeb
commit
7d833c7c15
@ -19,14 +19,25 @@
|
||||
:price="item.goods_price" />
|
||||
<view>x{{item.goods_num}}</view>
|
||||
</view>
|
||||
<view class="flex row-between m-t-20">
|
||||
<view>{{items.order_sn}}</view>
|
||||
<view class="bold" @click="onCopy(items.order_sn)">复制</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="sale-footer flex row-right">
|
||||
<view class="btn row-center primary br60"
|
||||
:class="{'gray-btn': items.after_sale.able_apply == 0}" @tap="applyRefund(items,item)">
|
||||
<view class="sale-footer flex row-right" v-if="items.allow_after_sale == 1">
|
||||
<view class="btn row-center primary br60" :class="{'gray-btn': items.after_sale.able_apply == 0}" @tap="applyRefund(items,item)">
|
||||
申请售后
|
||||
</view>
|
||||
</view>
|
||||
<view class="kefu">
|
||||
<view>因商品质量问题,可联系客服申请售后</view>
|
||||
<view class="m-l-10">
|
||||
<button open-type="contact" hover-class="none">
|
||||
<u-icon name="server-fill" size="40" color="#999"></u-icon>
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -36,7 +47,7 @@
|
||||
<shop-title :shop="{name: items.shop_name, id: items.sid}"></shop-title>
|
||||
<view class="primary flex-none m-l-20">{{items.after_sale.type_text}}</view>
|
||||
</view>
|
||||
<view v-for="(item, index2) in items.order_goods" :key="index2">
|
||||
<view v-for="(item, index2) in items.order_goods" :key="index2">
|
||||
<router-link :to="{path: '/bundle/pages/after_sales_detail/after_sales_detail',
|
||||
query: { id: items.after_sale.after_sale_id,}}">
|
||||
<view class="sale-content">
|
||||
@ -138,6 +149,9 @@
|
||||
afterSaleDetail,
|
||||
applyAgain
|
||||
} from "@/api/user";
|
||||
import {
|
||||
copy
|
||||
} from '@/utils/tools'
|
||||
|
||||
export default {
|
||||
mixins: [MescrollMixin, MescrollMoreItemMixin],
|
||||
@ -236,6 +250,10 @@
|
||||
onShowDialog(id) {
|
||||
this.id = id;
|
||||
this.showDialog = true
|
||||
},
|
||||
|
||||
onCopy(order) {
|
||||
copy(order)
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -262,6 +280,13 @@
|
||||
min-width: 500rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.kefu {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
padding: 0 24rpx 22rpx;
|
||||
}
|
||||
|
||||
.sale-footer {
|
||||
padding: 0 24rpx 22rpx;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user