Commit 775d6b6e authored by 黄奎's avatar 黄奎
parents 678e7701 0a48f516
......@@ -1234,7 +1234,7 @@
companyCommission: 0,
FXlevelList: [],
giveDate: false,
Stores: '',
Stores: [],
StoreList: [], //门店下拉数据
};
},
......@@ -1770,9 +1770,8 @@
this.addMsg.IsCustomSpecification = 2;
}
if (this.Stores.length > 0) {
this.addMsg.StoresIds = JSON.stringify(this.Stores);
this.addMsg.StoresIds = this.Stores.join(",");
}
if (this.addMsg.SeparateDistributionType == 1) {
this.disList1 = [{
SpecificationSort: "",
......@@ -2051,7 +2050,6 @@
},
res => {
if (res.data.resultCode == 1) {
console.log("res.data.data", JSON.parse(JSON.stringify(res.data.data)));
this.addMsg = res.data.data;
if (!this.$route.query.GoodsId) {
this.addMsg.Id = 0
......@@ -2081,8 +2079,8 @@
this.GradeCommissionList = this.addMsg.DistributionCommissionTreeList[0].GradeCommissionList;
}
}
if (this.addMsg.StoresIds) {
this.Stores = JSON.parse(this.addMsg.StoresIds);
if (this.addMsg.StoresList) {
this.Stores = this.addMsg.StoresList;
}
this.thisType = 1;
this.disList1 = [];
......@@ -2130,6 +2128,7 @@
ico: ""
}
}
console.log(this.Stores,'Stores');
this.getSuggestPrice();
this.getFXDGradeList2();
this.getTree();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment