0
0
Fork 0

refactor: refs #7553 added default date in new expedition modal

This commit is contained in:
Jon Elias 2024-09-04 09:11:05 +02:00
parent 5471607d32
commit 0d9773a30f
1 changed files with 6 additions and 1 deletions

View File

@ -31,6 +31,7 @@ const router = useRouter();
const { notify } = useNotify();
const newTicketFormData = reactive({});
const date = new Date();
const createTicket = async () => {
try {
@ -64,7 +65,11 @@ const createTicket = async () => {
>
<template #form-inputs="{ data }">
<VnRow>
<VnInputDate :label="t('expedition.landed')" v-model="data.landed" />
<VnInputDate
:label="t('expedition.landed')"
v-model="data.landed"
:model-value="date"
/>
</VnRow>
<VnRow>
<VnInput