From 869f6c069e86c2ff90393c1441854a6f05989481 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 15 七月 2022 10:42:46 +0800
Subject: [PATCH] 1.连接自动打印,2.修改bug

---
 src/views/zzmx/chda.vue |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/views/zzmx/chda.vue b/src/views/zzmx/chda.vue
index 3c36587..8cfed2f 100644
--- a/src/views/zzmx/chda.vue
+++ b/src/views/zzmx/chda.vue
@@ -60,8 +60,8 @@
                 :popper-append-to-body="false"
                 style="width: 200px"
                 placeholder="璇烽�夋嫨"
-                @focus="getWareHouseSelect"
               >
+                <!--                @focus="getWareHouseSelect"-->
                 <el-option
                   v-for="item in storehouseArr"
                   :key="item.code"
@@ -81,7 +81,7 @@
       <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-office-building" @click="office">鍗曚綅</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">
@@ -244,10 +244,10 @@
             :popper-append-to-body="false"
             style="width: 200px"
             placeholder="璇烽�夋嫨"
-            @focus="getWareHouseSelect2"
           >
+            <!--            @focus="getWareHouseSelect2"-->
             <el-option
-              v-for="item in storehouseArr2"
+              v-for="item in storehouseArr"
               :key="item.code"
               :label="item.name"
               :value="item.code"
@@ -644,7 +644,7 @@
   created() {
     this.getInventoryFileSelect()
     this.getStockTypeSelect()
-    // this.getWareHouseSelect()
+    this.getWareHouseSelect()
   },
   mounted() {
     window.addEventListener('resize', this.getHeight)
@@ -664,10 +664,10 @@
       const { data: res } = await WareHouseSelect()
       this.storehouseArr = res
     },
-    async getWareHouseSelect2() {
-      const { data: res } = await WareHouseSelect()
-      this.storehouseArr2 = res
-    },
+    // async getWareHouseSelect2() {
+    //   const { data: res } = await WareHouseSelect()
+    //   this.storehouseArr2 = res
+    // },
     async getuomSelect() {
       const { data: res } = await UomSelect()
       this.uomArr = res

--
Gitblit v1.9.3