fix some bugs
This commit is contained in:
@@ -42,6 +42,7 @@ import MobileSheetHeader from '@/components/mobile/MobileSheetHeader.vue'
|
||||
import MobileStatCard from '@/components/mobile/MobileStatCard.vue'
|
||||
import { isMobile } from '@core/utils/is'
|
||||
import { toJalali } from '@core/utils/useDataTime'
|
||||
import { metalLabel } from '@/utils/adminMetalLabels'
|
||||
|
||||
const props = defineProps<{
|
||||
visible: boolean
|
||||
@@ -82,7 +83,7 @@ function statusClass(row: Giftcardcode) {
|
||||
}
|
||||
|
||||
function unitLabel(row: Giftcardcode) {
|
||||
return row.unit === 2 ? 'طلایی' : 'ریالی'
|
||||
return row.unit === 2 ? metalLabel.goldWalletShort() : 'ریالی'
|
||||
}
|
||||
|
||||
function unitTagClass(row: Giftcardcode) {
|
||||
|
||||
Reference in New Issue
Block a user