瀏覽代碼

生产厂家bug

yuhan 2 年之前
父節點
當前提交
be9f58327c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      itdmWeb/src/views/module-iTDM/weituo/modules/step/Step1.vue

+ 2 - 2
itdmWeb/src/views/module-iTDM/weituo/modules/step/Step1.vue

@@ -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)