Commit 775d6b6e authored by 黄奎's avatar 黄奎
parents 678e7701 0a48f516
...@@ -1234,7 +1234,7 @@ ...@@ -1234,7 +1234,7 @@
companyCommission: 0, companyCommission: 0,
FXlevelList: [], FXlevelList: [],
giveDate: false, giveDate: false,
Stores: '', Stores: [],
StoreList: [], //门店下拉数据 StoreList: [], //门店下拉数据
}; };
}, },
...@@ -1770,9 +1770,8 @@ ...@@ -1770,9 +1770,8 @@
this.addMsg.IsCustomSpecification = 2; this.addMsg.IsCustomSpecification = 2;
} }
if (this.Stores.length > 0) { if (this.Stores.length > 0) {
this.addMsg.StoresIds = JSON.stringify(this.Stores); this.addMsg.StoresIds = this.Stores.join(",");
} }
if (this.addMsg.SeparateDistributionType == 1) { if (this.addMsg.SeparateDistributionType == 1) {
this.disList1 = [{ this.disList1 = [{
SpecificationSort: "", SpecificationSort: "",
...@@ -2051,7 +2050,6 @@ ...@@ -2051,7 +2050,6 @@
}, },
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log("res.data.data", JSON.parse(JSON.stringify(res.data.data)));
this.addMsg = res.data.data; this.addMsg = res.data.data;
if (!this.$route.query.GoodsId) { if (!this.$route.query.GoodsId) {
this.addMsg.Id = 0 this.addMsg.Id = 0
...@@ -2081,8 +2079,8 @@ ...@@ -2081,8 +2079,8 @@
this.GradeCommissionList = this.addMsg.DistributionCommissionTreeList[0].GradeCommissionList; this.GradeCommissionList = this.addMsg.DistributionCommissionTreeList[0].GradeCommissionList;
} }
} }
if (this.addMsg.StoresIds) { if (this.addMsg.StoresList) {
this.Stores = JSON.parse(this.addMsg.StoresIds); this.Stores = this.addMsg.StoresList;
} }
this.thisType = 1; this.thisType = 1;
this.disList1 = []; this.disList1 = [];
...@@ -2130,6 +2128,7 @@ ...@@ -2130,6 +2128,7 @@
ico: "" ico: ""
} }
} }
console.log(this.Stores,'Stores');
this.getSuggestPrice(); this.getSuggestPrice();
this.getFXDGradeList2(); this.getFXDGradeList2();
this.getTree(); 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