forked from verdnatura/salix-front
refactor: refs #7553 added default date in new expedition modal
This commit is contained in:
parent
5471607d32
commit
0d9773a30f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue