#7553 modified TicketExpedition & changes in ticket section #571
|
@ -31,6 +31,7 @@ const router = useRouter();
|
||||||
const { notify } = useNotify();
|
const { notify } = useNotify();
|
||||||
|
|
||||||
const newTicketFormData = reactive({});
|
const newTicketFormData = reactive({});
|
||||||
|
const date = new Date();
|
||||||
jon marked this conversation as resolved
|
|||||||
|
|
||||||
const createTicket = async () => {
|
const createTicket = async () => {
|
||||||
try {
|
try {
|
||||||
|
@ -64,7 +65,11 @@ const createTicket = async () => {
|
||||||
>
|
>
|
||||||
<template #form-inputs="{ data }">
|
<template #form-inputs="{ data }">
|
||||||
<VnRow>
|
<VnRow>
|
||||||
<VnInputDate :label="t('expedition.landed')" v-model="data.landed" />
|
<VnInputDate
|
||||||
|
:label="t('expedition.landed')"
|
||||||
|
v-model="data.landed"
|
||||||
|
:model-value="date"
|
||||||
|
/>
|
||||||
</VnRow>
|
</VnRow>
|
||||||
<VnRow>
|
<VnRow>
|
||||||
<VnInput
|
<VnInput
|
||||||
|
|
Loading…
Reference in New Issue
He puesto esta fecha por defecto, no sé como lo verás