diff --git a/src/views/emis/emisQuotePrice/index.vue b/src/views/emis/emisQuotePrice/index.vue index 4c579245..980b6a5c 100644 --- a/src/views/emis/emisQuotePrice/index.vue +++ b/src/views/emis/emisQuotePrice/index.vue @@ -991,12 +991,14 @@ export default { this.queryParams.params["endUpdateTime"] = this.daterangeUpdateTime[1]; } listEmisQuoteDispArea(this.addDateRange(this.queryParams, this.dateTimeRange)).then(response => { - var optItem={value:item.areaId,label:item.areaName}; - this.dispAreaIdsOptions.push(optItem) - this.loading = false; + response.rows.forEach(item =>{ + var optItem={value:item.areaId,label:item.areaName}; + this.dispAreaIdsOptions.push(optItem) + this.loading = false; + }); }); }, - geSendtList() { + getSendList() { this.loading = true; this.queryParams.params = {}; this.sendAreaIdsOptions = []; @@ -1009,9 +1011,11 @@ export default { this.queryParams.params["endUpdateTime"] = this.daterangeUpdateTime[1]; } listEmisQuoteSendArea(this.addDateRange(this.queryParams, this.dateTimeRange)).then(response => { - var optItem={value:item.areaId,label:item.areaName}; - this.sendAreaIdsOptions.push(optItem) - this.loading = false; + response.rows.forEach(item =>{ + var optItem={value:item.areaId,label:item.areaName}; + this.sendAreaIdsOptions.push(optItem) + this.loading = false; + }); }); }, // 取消按钮