fix 80148

This commit is contained in:
赵霄
2023-12-29 14:07:44 +08:00
parent 81c6cafd12
commit e299cf444b
2 changed files with 11 additions and 7 deletions
@@ -73,7 +73,7 @@
:columns="columns"
:dataSource="dataSource"
:pagination="false"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:row-selection="rowSelection"
:loading="loading">
<template v-slot:action="{text, record, index}">
@@ -257,6 +257,14 @@ export default {
// 流程key
processKey () {
return ProcessKey.LEGAL_PROCUREMENT.value
},
// 表格可选
rowSelection () {
// 只有发起节点表格可以选择
if (this.currentNode === ProcurementProcessNodes.initiate.value) {
return { selectedRowKeys: this.selectedRowKeys, onChange: this.onSelectChange }
}
return null
}
},
created () {