From 96223801d2769bb79b650329285a23ffc5e4f661 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 6 Dec 2024 14:59:47 +0100 Subject: [PATCH 1/3] fix: open Itemdiary from Ticket --- src/pages/Item/Card/ItemDiary.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/pages/Item/Card/ItemDiary.vue b/src/pages/Item/Card/ItemDiary.vue index a3ac6645e..0f27d3a94 100644 --- a/src/pages/Item/Card/ItemDiary.vue +++ b/src/pages/Item/Card/ItemDiary.vue @@ -19,13 +19,14 @@ import { date } from 'quasar'; import { useState } from 'src/composables/useState'; import { useArrayData } from 'src/composables/useArrayData'; import axios from 'axios'; +import VnSubToolbar from 'components/ui/VnSubToolbar.vue'; const { t } = useI18n(); const route = useRoute(); const router = useRouter(); const stateStore = useStateStore(); const state = useState(); - +debugger; const user = state.getUser(); const today = ref(Date.vnNew()); const warehousesOptions = ref([]); @@ -205,8 +206,8 @@ async function updateWarehouse(warehouseFk) { auto-load @on-fetch="(data) => (warehousesOptions = data)" /> - + Date: Mon, 9 Dec 2024 08:51:26 +0100 Subject: [PATCH 2/3] perf: remove unnecessary logic --- src/pages/Customer/Card/CustomerSummary.vue | 3 +-- src/pages/Item/Card/ItemDiary.vue | 10 ++-------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/pages/Customer/Card/CustomerSummary.vue b/src/pages/Customer/Card/CustomerSummary.vue index 2cad13115..f4c5e6e09 100644 --- a/src/pages/Customer/Card/CustomerSummary.vue +++ b/src/pages/Customer/Card/CustomerSummary.vue @@ -1,12 +1,11 @@