Pārlūkot izejas kodu

Merge branch 'dev'

prodstable
Guillaume pirms 3 gadiem
vecāks
revīzija
2c5ffc521d
1 mainītis faili ar 5 papildinājumiem un 2 dzēšanām
  1. +5
    -2
      producer/web/js/vuejs/order-order.js

+ 5
- 2
producer/web/js/vuejs/order-order.js Parādīt failu

@@ -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, '');
}
}
}


Notiek ielāde…
Atcelt
Saglabāt