feature_0521
zhenghuang 5 years ago
parent 4ab2dc27e7
commit bdeeec7f92

@ -20,6 +20,7 @@
prop=""> prop="">
<Select v-model="formValidate.organizationId" <Select v-model="formValidate.organizationId"
filterable filterable
@on-change="selectCompany"
placeholder="全部" placeholder="全部"
clearable> clearable>
<Option v-for="(item, index) in companyList" <Option v-for="(item, index) in companyList"
@ -105,6 +106,7 @@ export default {
saving: false, saving: false,
data: [], data: [],
companyList: [], companyList: [],
customerId: null,
shopList: [], shopList: [],
showUse: false, showUse: false,
activityInstance: {}, activityInstance: {},
@ -112,7 +114,7 @@ export default {
date: null, date: null,
organizationId: null, organizationId: null,
storeId: null, storeId: null,
status: 0, status: 2,
}, },
activityData: [ activityData: [
{ {
@ -271,10 +273,15 @@ export default {
}); });
}); });
}, },
selectCompany (value) {
this.customerId = value;
this.getShopInfo();
},
getShopInfo () { getShopInfo () {
let that = this; let that = this;
let data = { let data = {
userId: JSON.parse(sessionStorage.getItem("loginInfo")).userId, userId: JSON.parse(sessionStorage.getItem("loginInfo")).userId,
customerIds: this.customerId
}; };
ActivityManager.getShop(data, function (data) { ActivityManager.getShop(data, function (data) {
that.shopList = []; that.shopList = [];

Loading…
Cancel
Save