联动修改

master
wangweijia 6 years ago
parent 4662425db2
commit 0d64c89f98

@ -423,18 +423,21 @@
if (!selected){
companyId = that.companyId;
}
let customerIds = [];
let customerIds = null;
this.customerList = [];
if(companyId === 0){
//
}else{
this.customerList = this.organizationalList.filter(item => item.parentId === companyId && item.level === 3);
this.insertAllOption();
customerIds = "-1";
this.customerList.forEach(function (data) {
customerIds = customerIds + ","+data.id;
})
}
customerIds = this.customerList.map(item => item.id);
let request =
{userId: that.userId,customerIds: customerIds};
{userId: that.userId,customerId: customerIds};
staff.downShopData(request, function (data) {
data = data.data.results;
if(data){
@ -450,12 +453,18 @@
},
//
companySelect: function(){
//
this.downShopData(this.companyId);
this.selectedStore = 0;
let that = this;
that.downSellerData();
},
downShopChange: function () {
let that = this;
that.downSellerData();
},

Loading…
Cancel
Save