问题修改。

feature_0521
kevin jiang 6 years ago
parent 0a749370d6
commit b8653ff8f4

@ -11,17 +11,17 @@
<span class="left-15 txt-font-a">零售公司</span>
<Select v-model="companyId" filterable class="left-15 txt-font-a search-select"
@on-change="companySelect">
<Option v-for="item in companyList" :value="item.id" :key="item.id">{{ item.name }}</Option>
<Option v-for="(item,index) in companyList" :value="item.id" :key="1+index+item.id">{{ item.name }}</Option>
</Select>
<span class="left-15 txt-font-a">店铺</span>
<Select filterable placeholder="全部" v-model="shopId" class="left-15 txt-font-a search-select"
@on-change="downShopChange">
<Option v-for="item in shopList" :value="item.id" :key="item.id">{{ item.name }}</Option>
<Option v-for="(item,index) in shopList" :value="item.id" :key="2+index+item.id">{{ item.name }}</Option>
</Select>
<span class="left-15 txt-font-a">导购</span>
<Select filterable placeholder="全部" v-model="sellerId" class="left-15 txt-font-a search-select"
>
<Option v-for="item in sellerList" :value="item.staffId" :key="item.id">{{ item.name }}
<Option v-for="(item,index) in sellerList" :value="item.staffId" :key="3+index+item.id">{{ item.name }}
</Option>
</Select>

@ -111,6 +111,9 @@
this.selectDate.push(endDate);
this.allCompany();
this.storeInit();
this.pageNum = 1;
this.generalizeOfStore();
},
methods: {
@ -190,7 +193,6 @@
},
generalizeOfStore() {
this.pageNum = 1;
this.tableLoading = true;
if (this.selectDate[0] === "") {
this.$Message.info("请选择日期");

@ -444,8 +444,7 @@
}
customerIds = this.customerList.map(item => item.id);
let request =
{userId: that.userId, customerIds: JSON.stringify(customerIds)};
let request = {userId: that.userId, customerIds: customerIds, companyId: companyId};
staff.downShopData(request, function (data) {
data = data.data.results;
if (data) {

Loading…
Cancel
Save