|
@@ -13,7 +13,7 @@
|
|
|
@search="querySearch"
|
|
|
>
|
|
|
<template slot="dataSource">
|
|
|
- <a-select-option v-for="(item, index) in weituoClients" :key="index" :value="item.id">{{item.weituiClient}}</a-select-option>
|
|
|
+ <a-select-option v-for="(item, index) in weituoClients" :key="index" :value="item.weituiClient">{{item.weituiClient}}</a-select-option>
|
|
|
</template>
|
|
|
|
|
|
|
|
@@ -174,7 +174,7 @@ export default {
|
|
|
},
|
|
|
// 选择委托单位
|
|
|
handleSelect(item) {
|
|
|
- var v = this.restaurants.find(i => i.id === item)
|
|
|
+ var v = this.restaurants.find(i => i.weituiClient === item)
|
|
|
// var v = this.restaurants.find(i => i.weituiClient === item)
|
|
|
if(v){
|
|
|
this.$set(this.model, "weituoAddress", v.weituiAddress)
|