forked from verdnatura/salix-front
feat: handle dates
This commit is contained in:
parent
8018a3ac46
commit
4a12fd08e0
src/pages/Item
|
@ -69,7 +69,7 @@ const onFixedPricesFetched = (data) => {
|
|||
console.log(item.hasMinPrice);
|
||||
item.hasMinPrice = `${item.hasMinPrice !== 0}`;
|
||||
});
|
||||
fixedPrices.value = Array(200).fill(...data);
|
||||
fixedPrices.value = data;
|
||||
// el objetivo de guardar una copia de las rows es evitar guardar cambios si la data no cambió al disparar los eventos
|
||||
fixedPricesOriginalData.value = JSON.parse(JSON.stringify(data));
|
||||
};
|
||||
|
@ -530,7 +530,6 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
|||
style="max-width: 125px"
|
||||
:show-event="false"
|
||||
v-model="props.row.started"
|
||||
:options="(date) => date < props.row.ended"
|
||||
/>
|
||||
</QTd>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue