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