Browse Source

feat(forecast-audit): 添加菜单固定配置选项

yz 1 month ago
parent
commit
53150dad77
2 changed files with 3 additions and 12 deletions
  1. 1 0
      src/views/forecast-audit/auditIndex.js
  2. 2 12
      src/views/forecast/forecastIndex.js

+ 1 - 0
src/views/forecast-audit/auditIndex.js

@@ -76,6 +76,7 @@ export default {
         dialogClickModal: false,
         menu: true,
         menuWidth: 280,
+        menuFixed: false,
         // 行展开配置,展示子表明细
         expand: true,
         expandRowKeys: [],

+ 2 - 12
src/views/forecast/forecastIndex.js

@@ -102,11 +102,9 @@ export default {
         dialogClickModal: false,
         addBtnText: '新增预测申报',
         editBtnText: '编辑',
-        // 添加这个配置来完全隐藏操作列
-        // 并启用行展开功能以展示子表
         menu: true,
-        menuWidth: 160,
-        menuFixed: false,
+        menuWidth: 200,
+        menuFixed: true,
         expand: true,
         expandRowKeys: [],
         defaultExpandAll: false,
@@ -199,14 +197,6 @@ export default {
             search: false,
             width: 160
           },
-          // 自定义操作列(保持占位,不可编辑)
-          {
-            label: '操作',
-            prop: 'editBtn',
-            slot: true,
-            width: 160,
-            fixed: 'right'
-          }
         ]
       },
       // 子表(展开区)表格配置:展示 pcBladeSalesForecastSummaryList