fix 80148
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user