From f7c6dc512cb35d8a4e7069d03b9076baa67701ab Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 23 十一月 2022 09:10:12 +0800
Subject: [PATCH] 1.解决固定表格滚动条高低像素差

---
 src/views/scgl/gd.vue                   |    7 ++++++-
 src/views/scgl/gdplgb.vue               |    8 +++++++-
 src/styles/global.css                   |    7 +++++++
 src/layout/components/Sidebar/index.vue |    3 +++
 4 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue
index b66020e..727bd6d 100644
--- a/src/layout/components/Sidebar/index.vue
+++ b/src/layout/components/Sidebar/index.vue
@@ -152,4 +152,7 @@
   color: #ffffff;
   cursor: default;
 }
+.el-menu{
+  background-color: #213145 !important;
+}
 </style>
diff --git a/src/styles/global.css b/src/styles/global.css
index f407cab..af5ecb4 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -151,3 +151,10 @@
 
 /*scrollbar END*/
 
+/*瑙e喅鍥哄畾婊氬姩鏉¢珮浣庡儚绱犲樊*/
+.el-table__fixed::before{
+  height: 0 !important;
+}
+.el-table__fixed-right::before{
+  height: 0 !important;
+}
diff --git a/src/views/scgl/gd.vue b/src/views/scgl/gd.vue
index aa6466c..79296ee 100644
--- a/src/views/scgl/gd.vue
+++ b/src/views/scgl/gd.vue
@@ -182,7 +182,12 @@
             label="婧愬崟鍗曞彿"
             sortable="custom"
             min-width="160"
-          />
+          >
+            <template slot-scope="{row}">
+              <div v-if="row.m_po">{{ row.m_po }}</div>
+              <div v-else>/</div>
+            </template>
+          </el-table-column>
           <el-table-column
             prop="wotype"
             label="鍗曟嵁绫诲瀷"
diff --git a/src/views/scgl/gdplgb.vue b/src/views/scgl/gdplgb.vue
index dcc9176..613ea3a 100644
--- a/src/views/scgl/gdplgb.vue
+++ b/src/views/scgl/gdplgb.vue
@@ -139,7 +139,12 @@
             label="婧愬崟鍗曞彿"
             sortable="custom"
             min-width="160"
-          />
+          >
+            <template slot-scope="{row}">
+              <div v-if="row.m_po">{{ row.m_po }}</div>
+              <div v-else>/</div>
+            </template>
+          </el-table-column>
           <el-table-column
             prop="wotype"
             label="鍗曟嵁绫诲瀷"
@@ -205,6 +210,7 @@
             prop="wkshp_name"
             label="鐢熶骇杞﹂棿"
             sortable="custom"
+            show-tooltip-when-overflow
             width="120"
           >
             <template slot-scope="{row}">

--
Gitblit v1.9.3