From 6caecd26f75979777956dc96e14d6f3b39ce6688 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 15 七月 2022 17:23:42 +0800
Subject: [PATCH] 1.修改bug

---
 src/views/wlgl/kwdy.vue |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/views/wlgl/kwdy.vue b/src/views/wlgl/kwdy.vue
index a5b7c9b..5611c7b 100644
--- a/src/views/wlgl/kwdy.vue
+++ b/src/views/wlgl/kwdy.vue
@@ -28,8 +28,8 @@
                 :popper-append-to-body="false"
                 style="width: 200px"
                 placeholder="璇烽�夋嫨"
-                @focus="getWareHouseSelect"
               >
+                <!--                @focus="getWareHouseSelect"-->
                 <el-option
                   v-for="item in stockArr"
                   :key="item.code"
@@ -48,7 +48,7 @@
       <el-divider />
       <div style="margin-left: 10px;display: flex">
         <el-button type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">鏂板</el-button>
-        <el-button type="primary" icon="el-icon-upload2" @click="upload">瀵煎叆</el-button>
+        <!--        <el-button type="primary" icon="el-icon-upload2" @click="upload">瀵煎叆</el-button>-->
       </div>
       <el-divider />
       <div class="elTableDiv">
@@ -150,10 +150,10 @@
             :popper-append-to-body="false"
             style="width: 200px"
             placeholder="璇烽�夋嫨"
-            @focus="getWareHouseSelect2"
           >
+            <!--            @focus="getWareHouseSelect2"-->
             <el-option
-              v-for="item in stockArr2"
+              v-for="item in stockArr"
               :key="item.code"
               :label="item.name"
               :value="item.code"
@@ -212,7 +212,7 @@
       },
       total: 10,
       stockArr: [], // 鎵�灞炰粨搴撴暟缁�
-      stockArr2: [], // 鎵�灞炰粨搴撴暟缁勫璇濇
+      // stockArr2: [], // 鎵�灞炰粨搴撴暟缁勫璇濇
       tableData: [],
       dialogVisible: false,
       dialogForm: {
@@ -240,7 +240,7 @@
   },
   created() {
     this.getStorageDefSearch()
-    // this.getWareHouseSelect()
+    this.getWareHouseSelect()
   },
   mounted() {
     window.addEventListener('resize', this.getHeight)
@@ -257,10 +257,10 @@
       this.stockArr = res
     },
     // 瀵硅瘽妗嗕腑鐨�
-    async getWareHouseSelect2() {
-      const { data: res } = await WareHouseSelect()
-      this.stockArr2 = res
-    },
+    // async getWareHouseSelect2() {
+    //   const { data: res } = await WareHouseSelect()
+    //   this.stockArr2 = res
+    // },
     // 鎺掑簭鏀瑰彉鏃�
     sortChange({ column, prop, order }) {
       if (order === 'descending') {

--
Gitblit v1.9.3