浏览代码

Correctif order-order.js : codes points de vente

refactoring
Guillaume 3 年前
父节点
当前提交
661d58fb04
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. +5
    -2
      producer/web/js/vuejs/order-order.js

+ 5
- 2
producer/web/js/vuejs/order-order.js 查看文件

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


正在加载...
取消
保存