From 98f832bc4e96c443ad9c437ed0d728854cca0724 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 13 八月 2025 10:57:50 +0800
Subject: [PATCH] 1.原材料下单-样式修改

---
 src/components/Table/lims-table.vue |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/components/Table/lims-table.vue b/src/components/Table/lims-table.vue
index cb4eb0f..dc998e7 100644
--- a/src/components/Table/lims-table.vue
+++ b/src/components/Table/lims-table.vue
@@ -302,8 +302,8 @@
           count += a.name.length;
         }
       });
-      this.btnWidth = count * 18 + 60 + "px";
-      return count * 18 + 60 + "px";
+      this.btnWidth = count * 15 + 60 + "px";
+      return count * 15 + 60 + "px";
     },
     getTitleWidth(row) {
       if (row.label.includes('鏃堕棿') || row.label.includes('缂栧彿') || row.label.includes('鏍峰搧鍚嶇О') || row.label.includes('闆朵欢')) {
@@ -323,8 +323,6 @@
     iconFn(row) {
       if (row.name === "缂栬緫" || row.name === "淇敼") {
         return "el-icon-edit";
-      } else if (row.name === "鍒犻櫎") {
-        return "el-icon-delete";
       } else if (row.name === "鏌ョ湅") {
         return "el-icon-view";
       } else {
@@ -492,19 +490,22 @@
   padding-left: 10px !important;
 }
 
-.lims-table .highlight-warning-row-border td:first-child {
+.lims-table >>> .highlight-warning-row-border td:first-child {
   border-left: 4px solid #ffcd29;
 }
 
-.lims-table .highlight-warning-row-border td:last-child {
+.lims-table >>> .highlight-warning-row-border td:last-child {
   border-right: 4px solid #ffcd29;
 }
 
-.lims-table .highlight-danger-row-border td:first-child {
+.lims-table >>> .highlight-danger-row-border td:first-child {
   border-left: 4px solid #f56c6c;
 }
 
-.lims-table .highlight-danger-row-border td:last-child {
+.lims-table >>> .highlight-danger-row-border td:last-child {
   border-right: 4px solid #f56c6c;
 }
+>>>.red-row td {
+  background: #FFCCCC !important;
+}
 </style>

--
Gitblit v1.9.3