Browse Source

Correctif order-order.js : codes points de vente

dev
Guillaume 3 years ago
parent
commit
661d58fb04
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      producer/web/js/vuejs/order-order.js

+ 5
- 2
producer/web/js/vuejs/order-order.js View File

for (var key in response.data.points_sale) { for (var key in response.data.points_sale) {
response.data.points_sale[key].order = orderPointSale++; response.data.points_sale[key].order = orderPointSale++;
app.pointsSale[response.data.points_sale[key].id] = response.data.points_sale[key]; 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, '');
}
} }
} }



Loading…
Cancel
Save