瀏覽代碼

[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);
}

Loading…
取消
儲存