Auditoría JS para slider y fecha de hoy.
This commit is contained in:
@@ -51,11 +51,11 @@ const store = reactive({
|
|||||||
// minDate: new Date(`${periodo_data.periodo_fecha_inicio}:00:00:00`),
|
// minDate: new Date(`${periodo_data.periodo_fecha_inicio}:00:00:00`),
|
||||||
maxDate: new Date(),
|
maxDate: new Date(),
|
||||||
dateFormat: "yy-mm-dd",
|
dateFormat: "yy-mm-dd",
|
||||||
showAnim: "slide",
|
showAnim: "slideDown",
|
||||||
beforeShowDay: (date) => [(date.getDay() != 0), ""]
|
beforeShowDay: (date) => [(date.getDay() != 0), ""]
|
||||||
});
|
});
|
||||||
const fecha = $("#fecha"), inicio = $("#fecha_inicio"), fin = $("#fecha_fin");
|
const fecha = $("#fecha"), inicio = $("#fecha_inicio"), fin = $("#fecha_fin");
|
||||||
fecha.datepicker("setDate", new Date(`${periodo_data.fecha_final}:00:00:00`));
|
fecha.datepicker("setDate", new Date());
|
||||||
inicio.on("change", function () {
|
inicio.on("change", function () {
|
||||||
store.current.fechas_clicked = false;
|
store.current.fechas_clicked = false;
|
||||||
store.filters.fecha_inicio = inicio.val();
|
store.filters.fecha_inicio = inicio.val();
|
||||||
|
|||||||
Reference in New Issue
Block a user