liuxf 4 months ago
parent
commit
e85c232d83
1 changed files with 12 additions and 1 deletions
  1. 12 1
      src/views/fcbi/sales/sumSettings.vue

+ 12 - 1
src/views/fcbi/sales/sumSettings.vue

@@ -694,7 +694,7 @@ const resetRegionTreeCheck = (nodes) => {
 
   .date-group {
     align-items: center;
-    gap: 4px; /* 缩小间距 */
+    gap: 0; /* 缩小间距 */
   }
 
   /* 年度下拉框区域固定宽度,防止被挤压 */
@@ -764,7 +764,18 @@ const resetRegionTreeCheck = (nodes) => {
     padding-right: 0 !important; /* 移除右侧内边距 */
   }
 
+  /* 关键修正:让月指定的年下拉框容器与年度下拉框对齐 */
+  .monthly-section .date-groups-wrapper {
+    margin-left: 0 !important; /* 清除可能的默认左偏移 */
+    padding-left: 0 !important;
+  }
 
+  /* 强制月指定的年下拉框与年度下拉框左对齐基准一致 */
+  .monthly-section .date-group:first-child {
+    margin-left: 0 !important; /* 与年度下拉框的date-group保持相同左偏移 */
+    position: relative;
+    left: 0 !important; /* 消除任何隐性定位偏移 */
+  }
 }
 
 </style>