fecha y cambios minimos
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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
@@ -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',
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user