notificación de que no tenemos fechas disponibles
This commit is contained in:
parent
c1dcf495eb
commit
ced6e7f438
|
@ -53,6 +53,14 @@ export default defineComponent({
|
|||
return formattedDate;
|
||||
});
|
||||
|
||||
if(!dates) {
|
||||
quasarNotify({
|
||||
type: "erro",
|
||||
message: `No tenemos fechas de entrega posibles para este código postal`,
|
||||
});
|
||||
setFieldError("postalCode", M.fiveLength);
|
||||
}
|
||||
|
||||
postalCodeValid.value.dataOptions = dates;
|
||||
postalCodeValid.value.isValid = true;
|
||||
isPostalCodeLoading.value = false;
|
||||
|
|
|
@ -120,7 +120,7 @@ export default defineComponent({
|
|||
<IconSearch /> ver disponibilidad
|
||||
</q-btn>
|
||||
</form>
|
||||
<span v-if="postalCodeValid.value.isValid && postalCodeValid.value.dataOptions.length == 0">Para este código postal no existen fechas de entrega posibles</span>
|
||||
<!--<span v-if="postalCodeValid.value.isValid && postalCodeValid.value.dataOptions.length == 0">Para este código postal no existen fechas de entrega posibles</span>-->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -221,6 +221,11 @@ export default defineComponent({
|
|||
font-weight: 500;
|
||||
line-height: 30px;
|
||||
color: currentColor;
|
||||
|
||||
@media only screen and (max-width: $med-xmd) {
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
& .carousel-header-paragraph {
|
||||
|
|
Loading…
Reference in New Issue