Browse Source

采购需求处理表格行选中

黄梓星 1 year ago
parent
commit
d7c014bc5e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/purchase/DemandSummary/index.vue

+ 1 - 1
src/views/purchase/DemandSummary/index.vue

@@ -255,9 +255,9 @@
           :cell-class-name="cellClassName"
           :cell-class-name="cellClassName"
           @checkbox-all="selectAllEvent"
           @checkbox-all="selectAllEvent"
           @checkbox-change="handleSelectionChange"
           @checkbox-change="handleSelectionChange"
-          @cell-click="rowSelect"
           @cell-dblclick="doubleClick"
           @cell-dblclick="doubleClick"
           ref="table"
           ref="table"
+          :checkbox-config="{trigger:'row', highlight: true, range: true}"
           :column-config="{resizable: true}"
           :column-config="{resizable: true}"
         >
         >
           <vxe-column type="checkbox" width="40" fixed="left"/>
           <vxe-column type="checkbox" width="40" fixed="left"/>