From 1353e11a02c85cfb5ae350f65ad162e9f6522195 Mon Sep 17 00:00:00 2001 From: brusnitsyn Date: Mon, 19 Jan 2026 09:27:19 +0900 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D0=BA=D1=83=D1=89=D0=B0=D1=8F=20?= =?UTF-8?q?=D0=B4=D0=B0=D1=82=D0=B0=20=D0=BF=D1=80=D0=B8=20=D0=B4=D0=BE?= =?UTF-8?q?=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B8=20=D0=B2=20?= =?UTF-8?q?=D0=B0=D1=80=D1=85=D0=B8=D0=B2=20#5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/Pages/Home/ArchiveHistoryCreateModal/Index.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/js/Pages/Home/ArchiveHistoryCreateModal/Index.vue b/resources/js/Pages/Home/ArchiveHistoryCreateModal/Index.vue index 584a822..e647c77 100644 --- a/resources/js/Pages/Home/ArchiveHistoryCreateModal/Index.vue +++ b/resources/js/Pages/Home/ArchiveHistoryCreateModal/Index.vue @@ -4,7 +4,7 @@ import ArchiveHistoryMoveModal from '../ArchiveHistoryMoveModal/Index.vue' import {computed, h, ref, watch} from "vue"; import {useMedicalHistoryFilter} from "../../../Composables/useMedicalHistoryFilter.js"; import {useNotification} from "../../../Composables/useNotification.js"; -import {useDebounceFn} from "@vueuse/core"; +import {useDebounceFn, useTimestamp} from "@vueuse/core"; import {useArchiveCard} from "../../../Stores/ArchiveCard.js"; const open = defineModel('open') @@ -12,6 +12,7 @@ const open = defineModel('open') const {errorApi} = useNotification() const loading = ref(false) const loadingFilterPatients = ref(false) +const timestampNow = useTimestamp() const formRef = ref(null) const archiveCardStore = useArchiveCard() const isCardInArchive = computed(() => archiveCardStore.preOpenCard !== null) @@ -19,7 +20,7 @@ const emits = defineEmits(['historyUpdated', 'closeWithoutSave', 'openArchiveCar const archiveInfo = ref({ id: null, num: null, - post_in: null, + post_in: timestampNow, }) const archiveInfoRules = { id: [ @@ -94,7 +95,7 @@ const onResetArchiveInfo = (only) => { archiveInfo.value = { id: null, num: null, - post_in: null, + post_in: timestampNow, } } } @@ -218,6 +219,7 @@ watch(() => isCardInArchive.value, (val) => {