From 4e44261ac4f6dcac2f15b3d30636d4b4823f6918 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 27 五月 2026 13:24:38 +0800
Subject: [PATCH] 君哥 1.恢复之前工艺路线模块,删除字段计件/计时字段,工资定额修改成计划工时,新增计划执行人员。工艺绑定,工艺路线恢复。仅需删除bom。 2.对于新增订单需流转协同办公进行审批,审批完成流转生产管控-生产订单 3.新增审批管理,规范管理所有节点审批人。 4.修改菜单栏样式bug

---
 src/components/PIMTable/PIMTable.vue |   24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/src/components/PIMTable/PIMTable.vue b/src/components/PIMTable/PIMTable.vue
index 8e22459..2b65817 100644
--- a/src/components/PIMTable/PIMTable.vue
+++ b/src/components/PIMTable/PIMTable.vue
@@ -4,7 +4,7 @@
     v-loading="tableLoading"
     :border="border"
     :data="tableData"
-    :header-cell-style="{ background: '#F0F1F5', color: '#333333' }"
+    :header-cell-style="mergedHeaderCellStyle"
     :height="height"
     :highlight-current-row="highlightCurrentRow"
     :row-class-name="rowClassName"
@@ -45,9 +45,10 @@
       :sortable="!!item.sortable"
       :type="item.type"
       :width="item.width"
+      :minWidth="item.minWidth"
     >
       <template #header="scope">
-        <div class="pim-table-header-cell">
+        <div class="pim-table-header-cell" :class="{ 'has-extra': item.headerSlot }">
           <div class="pim-table-header-title">
             {{ item.label }}
           </div>
@@ -226,7 +227,7 @@
 
 <script setup>
 import pagination from "./Pagination.vue";
-import { ref, inject, getCurrentInstance } from "vue";
+import { computed, ref, inject, getCurrentInstance } from "vue";
 import { ElMessage } from "element-plus";
 
 // 鑾峰彇鍏ㄥ眬鐨� uploadHeader
@@ -333,6 +334,13 @@
     default: () => ({ width: "100%" }),
   },
 });
+
+const mergedHeaderCellStyle = computed(() => ({
+  background: "var(--surface-soft)",
+  color: "var(--text-secondary)",
+  fontWeight: 600,
+  ...props.headerCellStyle,
+}));
 
 // Data
 const uploadRefs = ref([]);
@@ -507,6 +515,12 @@
 </script>
 
 <style scoped lang="scss">
+.lims-table {
+  border: 1px solid var(--surface-border);
+  border-radius: 18px;
+  background: rgba(255, 255, 255, 0.9);
+}
+
 .cell {
   white-space: nowrap;
   overflow: hidden;
@@ -519,4 +533,8 @@
 .pim-table-header-extra :deep(.el-select) {
   width: 100%;
 }
+
+.pim-table-header-title {
+  font-weight: 600;
+}
 </style>

--
Gitblit v1.9.3