|
@@ -46,7 +46,7 @@
|
|
|
<el-form-item label="经销商" prop="customerId">
|
|
|
<!-- v-select-loadmore:[myData]="loadmore" -->
|
|
|
<el-select v-model="screenForm.customerId" placeholder="选择经销商" clearable filterable >
|
|
|
- <el-option v-for="item in dealerList"
|
|
|
+ <el-option v-for="item in dealerList2"
|
|
|
:key="item.id"
|
|
|
:label="item.name"
|
|
|
:value="item.id">
|
|
@@ -613,7 +613,8 @@ export default {
|
|
|
check:1,
|
|
|
logisticsArr:[],
|
|
|
pageNum:1,
|
|
|
- listTotal:0
|
|
|
+ listTotal:0,
|
|
|
+ dealerList2:[]
|
|
|
};
|
|
|
},
|
|
|
|
|
@@ -665,7 +666,7 @@ export default {
|
|
|
async getDealerList() {
|
|
|
const res = await getDealerList({ pageNum: 1, pageSize: -1 });
|
|
|
// this.dealerList = [...this.dealerList,...res.data.records];
|
|
|
-
|
|
|
+ this.dealerList2 = res.data.records
|
|
|
this.dealerList = res.data.records;
|
|
|
this.listTotal = res.data.total
|
|
|
},
|