Commit 8dfaf3d6 authored by 罗超's avatar 罗超

修改商品列表

parent f1878cb6
...@@ -550,7 +550,7 @@ ...@@ -550,7 +550,7 @@
startDate: '', startDate: '',
endDate: '', endDate: '',
startCityId: -1, startCityId: -1,
companyId: 0, companyId: -1,
searchKey: '', //搜索数据 searchKey: '', //搜索数据
priceOrderByField: 2, priceOrderByField: 2,
PlaceIds: '', PlaceIds: '',
...@@ -737,7 +737,10 @@ ...@@ -737,7 +737,10 @@
this.branchList = res.data.SiteList; this.branchList = res.data.SiteList;
this.startCitys = res.data.CityList; this.startCitys = res.data.CityList;
this.lineList = res.data.LineList; this.lineList = res.data.LineList;
// #ifdef MP-AG
this.msg.companyId = this.branchList[0].BId; this.msg.companyId = this.branchList[0].BId;
// #endif
this.currentBrachName = this.branchList[0].BName; this.currentBrachName = this.branchList[0].BName;
this.CityId = this.branchList[0].CityId; this.CityId = this.branchList[0].CityId;
this.currentLineId = this.lineList[0] this.currentLineId = this.lineList[0]
...@@ -755,7 +758,10 @@ ...@@ -755,7 +758,10 @@
if (customerInfo && customerInfo.salesBaseInfo) { if (customerInfo && customerInfo.salesBaseInfo) {
let tempCompany = this.branchList.find(x => x.BId == customerInfo.salesBaseInfo.rB_Branch_id) let tempCompany = this.branchList.find(x => x.BId == customerInfo.salesBaseInfo.rB_Branch_id)
if (tempCompany && tempCompany.BId) { if (tempCompany && tempCompany.BId) {
// #ifdef MP-AG
this.msg.companyId = tempCompany.BId this.msg.companyId = tempCompany.BId
// #endif
this.currentBrachName = tempCompany.BName this.currentBrachName = tempCompany.BName
} }
} }
......
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