浏览代码

[Administration] Distributions : correctif init pointSaleDistribution

feature/souke
Guillaume Bourgeois 1年前
父节点
当前提交
63c39ff1ea
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      backend/web/js/vuejs/distribution-index.js

+ 2
- 1
backend/web/js/vuejs/distribution-index.js 查看文件

@@ -266,7 +266,8 @@ var app = new Vue({
this.countActivePointsSale = 0;
this.setIdActivePointSale(0);
for (var i = 0; i < this.pointsSale.length; i++) {
if (this.pointsSale[i].pointSaleDistribution[0].delivery == 1) {
if (this.pointsSale[i].pointSaleDistribution
&& this.pointsSale[i].pointSaleDistribution[0].delivery == 1) {
this.countActivePointsSale++;
this.setIdActivePointSale(this.pointsSale[i].id);
}

正在加载...
取消
保存