wyh před 1 rokem
rodič
revize
48727fd2c0

+ 8 - 2
src/views/module_kzks/projectCostList/ProjectCostList.vue

@@ -211,7 +211,7 @@
 
         <span slot="action" slot-scope="text, record">
           <!-- <a @click="handleEdit(record)">编辑</a> -->
-          <a @click="handleXushi(record)">虚实成本</a>
+          <a @click="handleXushi(record)">预算执行</a>
 
           <!-- <a-divider type="vertical" />
           <a-dropdown>
@@ -819,7 +819,13 @@ import ProjectImportListModal from '../projectImportList/modules/ProjectImportLi
       handleXushi(record){
         console.log(record)
         this.$refs.xushi.open(record)
-      }
+      },
+      // 监听对比选择项
+      onSelectChange(selectedRowKeys, selectionRows) {
+        console.log(1111111,selectedRowKeys, selectionRows)
+        this.selectedRowKeys = selectedRowKeys;
+        this.selectionRows = selectionRows;
+      },
 
     }
   }