added description for withdraw
This commit is contained in:
@@ -22,6 +22,7 @@ export interface Withdraw {
|
||||
cash?: number
|
||||
gold?: number
|
||||
note?: string
|
||||
extra_note?: string | null
|
||||
tracked_number?: string
|
||||
date_at?: string
|
||||
sts?: number
|
||||
|
||||
@@ -21,6 +21,14 @@
|
||||
:size="22"
|
||||
@click="$emit('weight', row)"
|
||||
/>
|
||||
<a-tooltip v-if="row.extra_note">
|
||||
<template #title>
|
||||
<span class="whitespace-pre-wrap">{{ row.extra_note }}</span>
|
||||
</template>
|
||||
<a-badge dot>
|
||||
<MobileIconButton plain icon="vuesax-linear:message-text" color="#64748b" :size="22" />
|
||||
</a-badge>
|
||||
</a-tooltip>
|
||||
<MobileIconButton
|
||||
v-if="showStatusActions(row)"
|
||||
plain
|
||||
@@ -69,6 +77,12 @@
|
||||
|
||||
<MobileInfoGrid>
|
||||
<MobileDetailRow label="علت تراکنش" full-width :value="noteLabel(row)" />
|
||||
<MobileDetailRow
|
||||
v-if="row.extra_note"
|
||||
label="توضیحات اضافی"
|
||||
full-width
|
||||
:value="row.extra_note"
|
||||
/>
|
||||
<MobileDetailRow label="شماره پیگیری" :value="row.tracked_number ?? '-'" />
|
||||
<MobileDetailRow label="کد سفارش" :value="row.id ?? '-'" />
|
||||
<MobileDetailRow label="کد کاربر" :value="row.customer_id ?? '-'" />
|
||||
|
||||
@@ -17,6 +17,14 @@
|
||||
</template>
|
||||
<template #action="{ column, record }">
|
||||
<div class="gap-2 flex justify-center">
|
||||
<a-tooltip v-if="record.extra_note" class="cursor-pointer">
|
||||
<template #title>
|
||||
<span class="whitespace-pre-wrap">{{ record.extra_note }}</span>
|
||||
</template>
|
||||
<a-badge dot>
|
||||
<Icon icon="vuesax-linear:message-text" color="#64748b" />
|
||||
</a-badge>
|
||||
</a-tooltip>
|
||||
<div class="flex gap-2" v-if="record.sts <= 70 && record.sts >= 50">
|
||||
<a-tooltip class="cursor-pointer">
|
||||
<template #title><span>دریافت فاکتور</span></template>
|
||||
|
||||
Reference in New Issue
Block a user