From 201a4464bb544b8ed09644819ead9d8537c6be6a Mon Sep 17 00:00:00 2001 From: mll Date: Wed, 18 Mar 2026 11:14:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E5=BA=A6=E5=BC=80=E5=90=AF=E6=97=B6da?= =?UTF-8?q?ta=E6=B2=A1=E6=9C=89=E8=BF=94=E5=9B=9E=E7=9A=84=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/LowDesign/src/LowReport/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LowDesign/src/LowReport/index.vue b/src/components/LowDesign/src/LowReport/index.vue index df8e463..ad6d961 100644 --- a/src/components/LowDesign/src/LowReport/index.vue +++ b/src/components/LowDesign/src/LowReport/index.vue @@ -687,7 +687,7 @@ const getTableData = async (isLoading = true) => { Object.values(tableOption.value.column).forEach( item=>{ let oldHide=hideCols.value.indexOf(item.prop)!==-1 - item.hide=(item.children?.every(child=>tableData.value[0]&&(!['yearplan','yearrate'].includes(child.prop))&&(tableData.value[0][child.prop]===undefined)))||oldHide + item.hide=tableData.value[0]&&((tableSearch.value['Group by']&&tableData.value[0][item.prop]===undefined)||(item.children?.every(child=>(!['yearplan','yearrate'].includes(child.prop))&&(tableData.value[0][child.prop]===undefined))))||oldHide const prH=hideColumns.value.indexOf(item.prop) item.hide?(prH===-1?hideColumns.value.push(item.prop):''):(prH!==-1&&hideCols.value.indexOf(item.prop)===-1?hideColumns.value.splice(prH,1):'') })