소스 검색

fix(forecast-summary): 修复选择状态和添加菜单控制

yz 1 주 전
부모
커밋
e9fb9ae768
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      src/views/forecast-summary/summaryIndex.js

+ 4 - 3
src/views/forecast-summary/summaryIndex.js

@@ -85,8 +85,9 @@ export default {
         editBtn: false,
         delBtn: false,
         addBtn: false,
-        selection: true,
+        selection: false,
         dialogClickModal: false,
+        menu: false,
         column: [
           {
             label: '年月',
@@ -310,7 +311,7 @@ export default {
     searchChange(params, done) {
       // 处理年月字段拆分
       const processedParams = { ...params }
-      
+
       // 如果有yearMonth字段,拆分为year和month
       if (processedParams.yearMonth) {
         const yearMonthValue = processedParams.yearMonth
@@ -327,7 +328,7 @@ export default {
         // 删除原始的yearMonth字段,避免传递到后端
         delete processedParams.yearMonth
       }
-      
+
       this.query = {
         ...this.query,
         ...processedParams