退款重新申请修改
This commit is contained in:
1 parent
759a55b432
commit
a26fbcf493
2 files changed
+9
-9
No files matched your search
@@ -61,7 +61,7 @@ const doCancelRefund = async () => {
|
||||
const data = refundApi.cancel(_pa)
|
||||
uni.hideLoading()
|
||||
uni.showToast({ title: "取消成功", icon: "none" })
|
||||
router.jump("/pages/tabbar/order", {}, 2)
|
||||
router.jump("/pages/tabbar/individualOrder", {}, 2)
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -198,14 +198,14 @@ const doCancelRefund = async () => {
|
||||
<view class="h-30rpx" />
|
||||
<template #main-bottom>
|
||||
<view
|
||||
v-if="state.detail.orderStatus == 10 && state.refundDetail.status == 62"
|
||||
v-if="state.detail.orderStatus == 10 && state.refundDetail.status == 10"
|
||||
class="bg-#999 p-y-20rpx text-center rounded-40rpx m-x-30rpx m-y-30rpx sub-text-30 color-white!"
|
||||
@tap="doCancelRefund"
|
||||
>
|
||||
取消申请
|
||||
</view>
|
||||
<view
|
||||
v-else-if="state.refundDetail.status == 62"
|
||||
v-else-if="state.refundDetail.status == 62 || state.refundDetail.status == 61"
|
||||
class="bg-#999 p-y-20rpx text-center rounded-40rpx m-x-30rpx m-y-30rpx sub-text-30 color-white!"
|
||||
@tap="router.jump('/pages/refund/apply', { id: state.detailId }, 2)"
|
||||
>
|
||||
|
||||
@@ -71,12 +71,12 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="v.refundStatus == '0' && v.orderType == '1'" class="h-50rpx mt-1 flex justify-end items-center">
|
||||
<view class="botder_btn" @tap.stop="refundDetail(v)">退款详情</view>
|
||||
</view>
|
||||
<view v-if="v.orderStatus == '5' && v.orderType == '1'" class="h-50rpx mt-1 flex justify-end items-center">
|
||||
<view class="botder_btn" @tap.stop="doIndividualRefund(v)">申请退款</view>
|
||||
</view>
|
||||
<div class="flex justify-end items-center mt-1">
|
||||
<view v-if="v.orderType == '1' && v.refundStatus" class="ml-1 botder_btn" @tap.stop="refundDetail(v)">售后详情</view>
|
||||
<view v-if="v.orderStatus == '5' && v.orderType == '1'" class="ml-1 botder_btn" @tap.stop="doIndividualRefund(v)">
|
||||
申请退款
|
||||
</view>
|
||||
</div>
|
||||
</view>
|
||||
</z-paging>
|
||||
|
||||
|
||||
Reference in new issue
Block a user