Explorar el Código

Correctif order-order.js : codes points de vente

dev
Guillaume hace 3 años
padre
commit
661d58fb04
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. +5
    -2
      producer/web/js/vuejs/order-order.js

+ 5
- 2
producer/web/js/vuejs/order-order.js Ver fichero

@@ -213,8 +213,11 @@ var app = new Vue({
for (var key in response.data.points_sale) {
response.data.points_sale[key].order = orderPointSale++;
app.pointsSale[response.data.points_sale[key].id] = response.data.points_sale[key];
app.pointsSaleCodes[response.data.points_sale[key].id] = '';
Vue.set(app.pointsSaleCodes, response.data.points_sale[key].id, '');

if(!app.pointsSaleCodes[response.data.points_sale[key].id]) {
app.pointsSaleCodes[response.data.points_sale[key].id] = '';
Vue.set(app.pointsSaleCodes, response.data.points_sale[key].id, '');
}
}
}


Cargando…
Cancelar
Guardar