feature/2.19.1.2501.01-薪酬批量操作

This commit is contained in:
lys 2025-06-10 16:11:03 +08:00
parent 2f649ecae6
commit e9597b5332
1 changed files with 7 additions and 7 deletions

View File

@ -78,12 +78,12 @@ class Calculate extends Component {
</Menu>
);
let calculateOpts = [
<Button type="primary" onClick={() => this.setState({
calcDaialog: {
visible: true, type: "acct",
title: getLabel(538780, "核算")
}
})}>{getLabel(538780, "核算")}</Button>,
// <Button type="primary" onClick={() => this.setState({
// calcDaialog: {
// visible: true, type: "acct",
// title: getLabel(538780, "核算")
// }
// })}>{getLabel(538780, "核算")}</Button>,
<Button type="primary" onClick={() => this.setState({
calcDaialog: {
visible: true, title: getLabel(538780, "批量新建并核算"), type: "batSaveAndAcct"
@ -103,7 +103,7 @@ class Calculate extends Component {
queryParams: { ...queryParams, ...v }
})} onSearch={() => this.setState({ isRefresh: !isRefresh })}/>
];
return !showOperateBtn ? calculateOpts.slice(3) : calculateOpts;
return !showOperateBtn ? calculateOpts.slice(2) : calculateOpts;
};
handleCalcOpts = ({ key }, record) => {
const { isRefresh, progressModule } = this.state, { id } = record;