Explorar el Código

Merge branch 'dev'

prodstable
Guillaume hace 4 años
padre
commit
681d811f85
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      producer/web/js/vuejs/order-order.js

+ 1
- 0
producer/web/js/vuejs/order-order.js Ver fichero

@@ -216,6 +216,7 @@ var app = new Vue({
var dateStr = event.currentTarget.getAttribute('data-distribution-date') ;
var arr = dateStr.split(/[- :]/),
dateObject = new Date(arr[0], arr[1]-1, arr[2], arr[3], arr[4], arr[5]);
console.log(dateObject) ;
//var dateObject = new Date(dateStr) ;
if(this.isAvailableDate(dateObject)) {
this.dayClickEvent(dateObject) ;

Cargando…
Cancelar
Guardar