feature/2.19.1.2501.01-薪酬批量操作
This commit is contained in:
parent
2f649ecae6
commit
e9597b5332
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue