修改流水查询和退款详情
This commit is contained in:
1 parent
a34b58fdae
commit
ec0ca653f3
2 files changed
+12
-2
No files matched your search
@@ -26,6 +26,8 @@
|
||||
v-model:model-str="state.formatVal"
|
||||
@confirm="datePickerConfirm"
|
||||
format="YYYY-MM-DD"
|
||||
:quickDate="[]"
|
||||
:drawerSize="900"
|
||||
>
|
||||
<svg
|
||||
t="1742280333491"
|
||||
@@ -66,7 +68,7 @@
|
||||
</view>
|
||||
<view class="flex-1 flex items-center p-2 bg-white rounded-8rpx ml-2">
|
||||
<text class="flex-1 text-sm text-center text-gray-600">流水次数</text>
|
||||
<text class="flex-1 text-sm text-center text-gray-800">{{ v.totalPayCount }}</text>
|
||||
<text class="flex-1 text-sm text-center text-gray-800">{{ v.totalPayCount || 0 }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex justify-between mb-2">
|
||||
@@ -76,7 +78,7 @@
|
||||
</view>
|
||||
<view class="flex-1 flex items-center p-2 bg-white rounded-8rpx ml-2">
|
||||
<text class="flex-1 text-sm text-center text-gray-600">盈利次数</text>
|
||||
<text class="flex-1 text-sm text-center text-green-500">{{ v.totalProfitCount }}</text>
|
||||
<text class="flex-1 text-sm text-center text-green-500">{{ v.totalProfitCount || 0 }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex justify-between mb-0">
|
||||
|
||||
@@ -59,6 +59,9 @@
|
||||
</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>
|
||||
@@ -277,6 +280,11 @@ const resetState = () => {
|
||||
state.remark = ""
|
||||
}
|
||||
|
||||
// 点击售后详情
|
||||
const refundDetail = (v: any) => {
|
||||
router.jump("/pages/order/detail", { id: v.id })
|
||||
}
|
||||
|
||||
// 点击退款
|
||||
const doIndividualRefund = async (v: any) => {
|
||||
return router.jump("/pages/refund/apply", { id: v.id })
|
||||
|
||||
Reference in new issue
Block a user