cambios vistos en la reunion anterior
This commit is contained in:
parent
ee46be68fb
commit
f2e3d3a559
|
@ -59,10 +59,12 @@ export default defineComponent({
|
||||||
message: `No tenemos fechas de entrega posibles para este código postal`,
|
message: `No tenemos fechas de entrega posibles para este código postal`,
|
||||||
});
|
});
|
||||||
setFieldError("postalCode", M.fiveLength);
|
setFieldError("postalCode", M.fiveLength);
|
||||||
}
|
postalCodeValid.value.dataOptions = [];
|
||||||
|
postalCodeValid.value.isValid = false;
|
||||||
|
} else {
|
||||||
postalCodeValid.value.dataOptions = dates;
|
postalCodeValid.value.dataOptions = dates;
|
||||||
postalCodeValid.value.isValid = true;
|
postalCodeValid.value.isValid = true;
|
||||||
|
}
|
||||||
isPostalCodeLoading.value = false;
|
isPostalCodeLoading.value = false;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
quasarNotify({
|
quasarNotify({
|
||||||
|
|
|
@ -95,7 +95,7 @@ export default defineComponent({
|
||||||
<template>
|
<template>
|
||||||
<div ref="target" class="vertical-carousel-container" style="min-height: 100dvh">
|
<div ref="target" class="vertical-carousel-container" style="min-height: 100dvh">
|
||||||
<q-carousel navigation-position="right" style="min-height: 100dvh" v-model="slide" navigation autoplay infinite
|
<q-carousel navigation-position="right" style="min-height: 100dvh" v-model="slide" navigation autoplay infinite
|
||||||
animated v-if="!!banners.length" class="custom-carousel">
|
animated v-if="!!banners.length" class="custom-carousel" :autoplay="30000">
|
||||||
<q-carousel-slide v-for="(item, i) in banners" :key="`banner-${i}`" :name="`banner-${i}`" :img-src="item.url">
|
<q-carousel-slide v-for="(item, i) in banners" :key="`banner-${i}`" :name="`banner-${i}`" :img-src="item.url">
|
||||||
<div class="vertical-carousel-content">
|
<div class="vertical-carousel-content">
|
||||||
<header class="carousel-content-header">
|
<header class="carousel-content-header">
|
||||||
|
|
|
@ -7,10 +7,10 @@ import * as R from "../regex";
|
||||||
const checkoutObjVal = {
|
const checkoutObjVal = {
|
||||||
name: z
|
name: z
|
||||||
.string({ required_error: M.requiredMessage })
|
.string({ required_error: M.requiredMessage })
|
||||||
.regex(R.justOneWord, M.nameMessage),
|
.regex(R.justLetters, M.nameMessage),
|
||||||
surname: z
|
surname: z
|
||||||
.string({ required_error: M.requiredMessage })
|
.string({ required_error: M.requiredMessage })
|
||||||
.regex(R.justOneWord, M.nameMessage),
|
.regex(R.justLetters, M.nameMessage),
|
||||||
address: z.string({ required_error: M.requiredMessage }),
|
address: z.string({ required_error: M.requiredMessage }),
|
||||||
postalCode: GP.postalCode,
|
postalCode: GP.postalCode,
|
||||||
city: z
|
city: z
|
||||||
|
|
Loading…
Reference in New Issue