0
0
Fork 0

fix: minor error whit dates

This commit is contained in:
Javier Segarra 2024-09-10 00:17:59 +02:00
parent 41939315be
commit b4b65ad0fd
1 changed files with 14 additions and 18 deletions

View File

@ -570,26 +570,22 @@ function handleOnDataSave({ CrudModelRef }) {
</QTd> </QTd>
</template> </template>
<template #column-started="props"> <template #column-started="props">
<QTd class="col"> <VnInputDate
<VnInputDate class="vnInputDate"
class="vnInputDate" :show-event="true"
:show-event="true" v-model="props.row.started"
v-model="props.row.started" v-on="getRowUpdateInputEvents(props, false, 'date')"
v-on="getRowUpdateInputEvents(props, false, 'date')" v-bind="dateStyle(isBigger(props.row.started))"
v-bind="dateStyle(isBigger(props.row.started))" />
/>
</QTd>
</template> </template>
<template #column-ended="props"> <template #column-ended="props">
<QTd class="col"> <VnInputDate
<VnInputDate class="vnInputDate"
class="vnInputDate" :show-event="true"
:show-event="true" v-model="props.row.ended"
v-model="props.row.ended" v-on="getRowUpdateInputEvents(props, false, 'date')"
v-on="getRowUpdateInputEvents(props, false, 'date')" v-bind="dateStyle(isLower(props.row.ended))"
v-bind="dateStyle(isLower(props.row.started))" />
/>
</QTd>
</template> </template>
<template #column-warehouseFk="props"> <template #column-warehouseFk="props">
<QTd class="col"> <QTd class="col">