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/weldSeam/index.vue | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/views/mainPlan/weldSeam/index.vue b/src/views/mainPlan/weldSeam/index.vue index e852eff..2c9f3bc 100644 --- a/src/views/mainPlan/weldSeam/index.vue +++ b/src/views/mainPlan/weldSeam/index.vue @@ -20,7 +20,7 @@ v-hasPermi="['weldSeam:weldSeam:export']" >瀵煎嚭</el-button> </el-col> - <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> + <right-toolbar :search="false" @queryTable="getList"></right-toolbar> </el-row> <HxlhTable @@ -171,7 +171,6 @@ const open = ref(false); const loading = ref(true); -const showSearch = ref(true); const ids = ref([]); const single = ref(true); const multiple = ref(true); @@ -210,21 +209,24 @@ // 琛ㄦ牸閰嶇疆 const columns = ref([ - { type: 'seq', title: '搴忓彿', width: 60 }, + { type: 'seq', title: '搴忓彿', width: 60, fixed: 'left' }, { title: '骞翠唤', field: 'year', - width: 100, + width: 100, + fixed: 'left' }, { title: '鏈堜唤', field: 'month', - width: 80, + width: 80, + fixed: 'left' }, { title: '鐢熶骇鍩哄湴', field: 'productionBase', - width: 150, + width: 150, + fixed: 'left' }, { title: '璁㈠崟闇�姹�', @@ -709,7 +711,7 @@ console.log(row); open.value = true; title.value = "淇敼鐒婄紳"; - form.value = row; + form.value = {...row}; // const _id = row.id // getWeldSeam(_id).then(response => { // form.value = response.data; -- Gitblit v1.9.3