fix product show
This commit is contained in:
@@ -19,8 +19,8 @@
|
|||||||
<div class="w-7 h-7 flex justify-center rounded-lg bg-gray-100">
|
<div class="w-7 h-7 flex justify-center rounded-lg bg-gray-100">
|
||||||
<img
|
<img
|
||||||
width="30"
|
width="30"
|
||||||
class="p-1"
|
class="p-1 object-contain"
|
||||||
:src="tx.product.group_type == 'گوی' ? goyImg : mokaabImg"
|
:src="getProductDisplayImage(tx.product)"
|
||||||
alt=""
|
alt=""
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -50,8 +50,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { Physicalreceive } from '@/models/physicalreceive'
|
import type { Physicalreceive } from '@/models/physicalreceive'
|
||||||
import { toJalali } from '@/utils/useDateTime'
|
import { toJalali } from '@/utils/useDateTime'
|
||||||
import goyImg from '@/assets/img/goyImg.svg'
|
import { getProductDisplayImage } from '@/utils/productAssets'
|
||||||
import mokaabImg from '@/assets/img/mokaabImg.svg'
|
|
||||||
|
|
||||||
interface Prop {
|
interface Prop {
|
||||||
item: Physicalreceive
|
item: Physicalreceive
|
||||||
|
|||||||
@@ -1081,10 +1081,10 @@
|
|||||||
resolved "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz#255e81fb289b101026131858ab99fba63dcf0071"
|
resolved "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz#255e81fb289b101026131858ab99fba63dcf0071"
|
||||||
integrity sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==
|
integrity sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==
|
||||||
|
|
||||||
"@esbuild/win32-x64@0.18.20":
|
"@esbuild/linux-x64@0.18.20":
|
||||||
version "0.18.20"
|
version "0.18.20"
|
||||||
resolved "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz"
|
resolved "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz#c7690b3417af318a9b6f96df3031a8865176d338"
|
||||||
integrity sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==
|
integrity sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==
|
||||||
|
|
||||||
"@esbuild/netbsd-x64@0.18.20":
|
"@esbuild/netbsd-x64@0.18.20":
|
||||||
version "0.18.20"
|
version "0.18.20"
|
||||||
|
|||||||
Reference in New Issue
Block a user