From 1f236bfe78813d4a97ad2bc0aa5af0575679c379 Mon Sep 17 00:00:00 2001
From: Zhu Zhonghua <zhonghua@qq.com>
Date: 星期三, 16 四月 2025 15:20:53 +0800
Subject: [PATCH] 增加锁定列和滚动高度问题

---
 src/views/mainPlan/platePlan/index.vue |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/views/mainPlan/platePlan/index.vue b/src/views/mainPlan/platePlan/index.vue
index fa6e073..08a4fb4 100644
--- a/src/views/mainPlan/platePlan/index.vue
+++ b/src/views/mainPlan/platePlan/index.vue
@@ -105,7 +105,6 @@
         :loading="loading"
         :height="height"
         @on-checkbox="handleCheckboxChange"
-
         :expand-config="expandConfig"
         :subGridOptions="subGridOptions"
     >
@@ -219,7 +218,7 @@
 const daterangePlanStartDay = ref([]);
 const daterangePlanEndDay = ref([]);
 
-const height = ref(document.documentElement.clientHeight - 210 + "px;")
+const height = ref(document.documentElement.clientHeight - 270 + "px;")
 const isVisible = ref(false);
 const isError = ref(false);
 const planned = ref(true);
@@ -431,9 +430,9 @@
 
 // 琛ㄦ牸閰嶇疆
 const columns = ref([
+  { field: 'expand', type: 'expand', width: 60, align: 'center', slots: { content: 'expandContent' } },
   { type: 'checkbox', width: 60, align:"center"},
   { type: 'seq', title: '搴忓彿', width: 60 },
-  { field: 'expand', type: 'expand', width: 60, align: 'center', slots: { content: 'expandContent' } },
   {
     title: '涓昏鍒掑憳',
     field: 'masterPlanner',
@@ -482,7 +481,7 @@
   {
     title: '鍗曟嵁鍙�',
     field: 'documentNumber',
-    width: 100,
+    width: 140,
   },
   {
     title: '闇�姹傚垎绫�',
@@ -850,11 +849,9 @@
 const expandConfig = ref({
   lazy: true,
   loadMethod ({ row }) {
-    debugger;
     // 璋冪敤鎺ュ彛
     return listProcessRoute({'workOrderNo':row.documentNumber}).then(data => {
       row.subList = data.rows;
-      debugger;
     })
   }
 })

--
Gitblit v1.9.3