薪资项目管理按钮权限的修改

This commit is contained in:
黎永顺 2023-02-27 13:28:49 +08:00
parent de7180882d
commit 70d15cd06e
1 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ class FieldSlide extends Component {
title,
visible,
record: { id: editId },
taxAgentStore: { taxAgentOption, showSalaryItemBtn },
taxAgentStore: { taxAgentOption, showSalaryItemBtn, showOperateBtn },
onCancel
} = this.props;
const {
@ -208,7 +208,7 @@ class FieldSlide extends Component {
tabs={[]}
loading={loading}
showOperateBtn={true}
editable={showSalaryItemBtn}
editable={(showSalaryItemBtn || showOperateBtn)}
onSave={this.saveFieldInfo}
/>
}