|
@@ -33,6 +33,7 @@
|
|
|
:rowKey="(record) => record.id"
|
|
|
:columns="columns"
|
|
|
:data="loadData"
|
|
|
+ :customRow="handleClickRow"
|
|
|
bordered>
|
|
|
<!-- 状态 -->
|
|
|
<template slot="state" slot-scope="text, record">
|
|
@@ -102,6 +103,15 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ handleClickRow(record){
|
|
|
+ return {
|
|
|
+ on: {
|
|
|
+ dblclick: (event) => {
|
|
|
+ console.log(record)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
// 重置
|
|
|
resetSearchForm () {
|
|
|
this.queryParam.orderBundleNo = ''
|