fecha y cambios minimos

This commit is contained in:
Andres2908
2022-03-18 11:24:38 -06:00
parent 4123f51841
commit 942f29859d
3 changed files with 12 additions and 3 deletions
+9
View File
@@ -30,6 +30,7 @@
<b-datepicker
v-model="fechaTicketA"
:disabled="switchFecha"
:max-date="maxDate"
icon="calendar-today"
>
</b-datepicker>
@@ -84,6 +85,7 @@ export default {
folioA: '',
montoA: '',
fechaTicketA: null,
maxDate: new Date(),
habilitarBoton: false,
}
@@ -133,6 +135,13 @@ export default {
this.switchMonto = true
this.switchFecha = true
},
diaMin(today) {
return new Date(
today.getFullYear(),
today.getMonth(),
today.getDate() - today.getDate() + 1
)
},
},
watch: {
folioA() {
+1 -1
View File
@@ -42,7 +42,7 @@
"
>Validar</b-button
>
<b-button label="Denegar" type="is-danger" @click="declinarTicket()" />
<b-button label="Declinar" type="is-danger" @click="declinarTicket()" />
<b-button type="is-info" @click="regresar()">Regresar</b-button>
</div>
+2 -2
View File
@@ -22,9 +22,9 @@ export default {
axios: {},
build: {},
env: {
api: 'http://localhost:3000',
// api: 'http://localhost:3000',
// api: "https://890af9d598a4.ngrok.io"
// api: 'https://venus.acatlan.unam.mx/inscripciones_test',
api: 'https://venus.acatlan.unam.mx/inscripciones_test',
// api: 'https://venus.acatlan.unam.mx/inscripciones',
},
}