|
@@ -94,9 +94,10 @@
|
|
|
ref="table"
|
|
|
:style="{ height: tableHeight+84.5+'px' }"
|
|
|
size="small"
|
|
|
- :rowKey="(record) => record.id"
|
|
|
+ :rowKey="(record) => record.storeCallOutSn"
|
|
|
:columns="columns"
|
|
|
:data="loadData"
|
|
|
+ rowKeyName="storeCallOutSn"
|
|
|
:rowSelection="{ columnWidth: 40 }"
|
|
|
@rowSelection="rowSelectionFun"
|
|
|
:scroll="{ y: tableHeight }"
|
|
@@ -172,11 +173,6 @@ export default {
|
|
|
isSearch: false
|
|
|
}
|
|
|
},
|
|
|
- computed: {
|
|
|
- // hasSelected () {
|
|
|
- // return this.selectedRowKeys.length > 0
|
|
|
- // },
|
|
|
- },
|
|
|
methods: {
|
|
|
rowSelectionFun (obj) {
|
|
|
console.log('rowSelection', obj)
|