diff --git a/components/registro/CapturaDatos.vue b/components/registro/CapturaDatos.vue index f4e2f8f..ce81eea 100644 --- a/components/registro/CapturaDatos.vue +++ b/components/registro/CapturaDatos.vue @@ -148,7 +148,7 @@ export default { fechaTicket: '', dia: 10, minDate: this.diaMin(today), - maxDate: this.diaMax(today), + maxDate: new Date(), dropFiles: [], } @@ -219,28 +219,28 @@ export default { today.getDate() - today.getDate() + 1 ) }, - diaMax(today) { - const mesesCortos = { - 0: 31, - 1: 28, - 2: 31, - 3: 30, - 4: 31, - 5: 30, - 6: 31, - 7: 31, - 8: 30, - 9: 31, - 10: 30, - 11: 31, - } + // diaMax(today) { + // const mesesCortos = { + // 0: 31, + // 1: 28, + // 2: 31, + // 3: 30, + // 4: 31, + // 5: 30, + // 6: 31, + // 7: 31, + // 8: 30, + // 9: 31, + // 10: 30, + // 11: 31, + // } - return new Date( - today.getFullYear(), - today.getMonth(), - today.getDate() + mesesCortos[today.getMonth()] - today.getDate() - ) - }, + // return new Date( + // today.getFullYear(), + // today.getMonth(), + // today.getDate() + mesesCortos[today.getMonth()] - today.getDate() + // ) + // }, clear() { this.idArea = '' this.folio = ''