From a65112ecf7580c7d5a2ae60d05150cac34e59f5d Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期一, 26 九月 2022 16:30:33 +0800
Subject: [PATCH] 1.工艺路线工艺设置下拉选中之后自动回车2.工序定义检验人员选中默认当前登录人员

---
 src/views/zzmx/jpgj.vue |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/src/views/zzmx/jpgj.vue b/src/views/zzmx/jpgj.vue
index a131d6c..1c987b3 100644
--- a/src/views/zzmx/jpgj.vue
+++ b/src/views/zzmx/jpgj.vue
@@ -97,6 +97,8 @@
 
       <div class="elTableDiv">
         <el-table
+          ref="tableDataRef"
+          class="tableFixed"
           :data="tableData"
           :height="tableHeight"
           border
@@ -134,6 +136,7 @@
             label="浜у搧瑙勬牸"
             min-width="110"
             sortable="custom"
+            show-tooltip-when-overflow
           >
             <template slot-scope="{row}">
               <div v-if="row.partspec">{{ row.partspec }}</div>
@@ -151,6 +154,7 @@
             label="宸ヨ壓璺嚎"
             sortable="custom"
             min-width="120"
+            show-tooltip-when-overflow
           />
           <el-table-column
             prop="stepname"
@@ -317,6 +321,8 @@
         </div>
 
         <el-table
+          ref="eqpDialogArrRef"
+          class="tableFixed"
           :data="eqpDialogArr"
           :height="tableHeight"
           :style="{width: 100+'%',height:tableHeight-50+'px',}"
@@ -672,6 +678,7 @@
       this.eqpDialogArr.forEach(item => {
         item.isVisible = 0
       })
+      this.$refs.tableDataRef.doLayout()
     },
     // 淇濆瓨琛�
     async saveRow(row) {
@@ -869,6 +876,7 @@
           this.tableHeight = this.tableHeight - 40
         }
         this.isIpad = window.innerHeight < 769 && window.innerWidth < 1367
+        this.$refs.tableDataRef.doLayout()
       })
     }
   }
@@ -967,7 +975,14 @@
 .userDialogVisible ::v-deep .el-form-item {
   margin-bottom: 0;
 }
-
+.tableFixed{
+  ::v-deep .el-table__fixed-right{
+    height: 100% !important;
+  }
+  ::v-deep .el-table__fixed{
+    height: 100% !important;
+  }
+}
 </style>
 <style>
 

--
Gitblit v1.9.3