组织管理-客户、店铺功能开发。

feature_0521
kevin jiang 5 years ago
parent 41746d2f56
commit 3c3383fcd9

@ -61,7 +61,7 @@
></i-input>
</FormItem>
<FormItem label="所属大区" prop="parentId">
<Select v-model="formValidate.parentId"
<Select filterable clearable v-model="formValidate.parentId"
placeholder="选择大区">
<Option v-for="item in regionList" :value="item.id" :key="item.id">{{ item.name }}</Option>
</Select>
@ -267,9 +267,10 @@
let data = res.data;
that.data1 = [];
for (let i=0;i<data.results.records.length;i++) {
let item = data.results.records[i];
item.index = i+ that.pageNum * that.pageSize;
item.index = that.pageSize * (that.pageNum-1) + i+1 ;
that.data1.push(item);
}

@ -59,7 +59,7 @@
</i-input>
</FormItem>
<FormItem label="零售公司" prop="parentId">
<Select v-model="formValidate.parentId"
<Select filterable clearable v-model="formValidate.parentId"
placeholder="选择零售公司">
<Option v-for="item in companyList" :value="item.id" :key="item.id">{{ item.name }}</Option>
</Select>
@ -188,7 +188,7 @@
}
}
},
show: function (index) {
show: function () {
this.isShow = true;
},
hide: function () {
@ -269,7 +269,7 @@
that.data1 = [];
for (let i=0;i<data.results.records.length;i++) {
let item = data.results.records[i];
item.index = i+ that.pageNum * that.pageSize;
item.index = that.pageSize * (that.pageNum-1) + i+1 ;
that.data1.push(item);
}

@ -207,7 +207,7 @@
for (let i=0;i<data.results.records.length;i++) {
let item = data.results.records[i];
item.index = i + that.pageNum * that.pageSize;
item.index = that.pageSize * (that.pageNum-1) + i+1 ;
that.data1.push(item);
}

@ -112,6 +112,10 @@
title: '店铺名称',
key: 'name'
},
{
title: '店铺简称',
key: 'abbreviation'
},
{
title: '店铺编码',
key: 'code'
@ -294,7 +298,7 @@
that.data1 = [];
for (let i=0;i<data.results.records.length;i++) {
let item = data.results.records[i];
item.index = i+ that.pageNum * that.pageSize;
item.index = that.pageSize * (that.pageNum-1) + i+1 ;
that.data1.push(item);
}

Loading…
Cancel
Save