release/3.0.1.2504.01-合并业务线

This commit is contained in:
lys 2025-06-12 10:37:23 +08:00
parent dc80b9c0b7
commit b0e7cbfc41
1 changed files with 3 additions and 3 deletions

View File

@ -73,9 +73,9 @@ export default class GenerateDeclarationDetail extends React.Component {
render() {
const { loading, pageInfo, columns, dataSource } = this.state;
const { taxAgentStore: { showOperateBtn } } = this.props;
const buttons = showOperateBtn ? [<Button type="primary"
onClick={this.handleExport}>{getLabel(111, "导出全部")}</Button>] : [];
const { taxAgentStore: { PageAndOptAuth } } = this.props;
const buttons = !!PageAndOptAuth.opts.length ? [<Button type="primary"
onClick={this.handleExport}>{getLabel(111, "导出全部")}</Button>] : [];
const pagination = {
...pageInfo,
showTotal: (total) => `${total}`,