From 42008ef74b2a4462299080dcda27864cbccead95 Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 17 Jun 2024 09:56:16 +0200 Subject: [PATCH] feat: refs #6896 created VnImg and added to order module --- src/components/ui/VnImg.vue | 52 +++++++++++++++++++++ src/pages/Item/Card/ItemDescriptorImage.vue | 11 +++-- src/pages/Order/Card/OrderCatalogItem.vue | 4 +- src/pages/Order/OrderLines.vue | 30 +++++++----- 4 files changed, 82 insertions(+), 15 deletions(-) create mode 100644 src/components/ui/VnImg.vue diff --git a/src/components/ui/VnImg.vue b/src/components/ui/VnImg.vue new file mode 100644 index 000000000..37dce7c67 --- /dev/null +++ b/src/components/ui/VnImg.vue @@ -0,0 +1,52 @@ + + + + diff --git a/src/pages/Item/Card/ItemDescriptorImage.vue b/src/pages/Item/Card/ItemDescriptorImage.vue index f16a57548..a02f75b6b 100644 --- a/src/pages/Item/Card/ItemDescriptorImage.vue +++ b/src/pages/Item/Card/ItemDescriptorImage.vue @@ -3,7 +3,7 @@ import { ref, onMounted } from 'vue'; import { useI18n } from 'vue-i18n'; import EditPictureForm from 'components/EditPictureForm.vue'; - +import VnImg from 'src/components/ui/VnImg.vue'; import { useSession } from 'src/composables/useSession'; import axios from 'axios'; @@ -69,7 +69,12 @@ onMounted(async () => {