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