diff --git a/pc4mobx/hrmSalary/pages/declare/generateDeclarationDetail.js b/pc4mobx/hrmSalary/pages/declare/generateDeclarationDetail.js index a7cd8b50..3725dae0 100644 --- a/pc4mobx/hrmSalary/pages/declare/generateDeclarationDetail.js +++ b/pc4mobx/hrmSalary/pages/declare/generateDeclarationDetail.js @@ -42,7 +42,7 @@ export default class GenerateDeclarationDetail extends React.Component { const { columns, list: dataSource, pageNum: current, pageSize, total } = data; this.setState({ dataSource, pageInfo: { ...pageInfo, current, pageSize, total }, - columns: _.map(_.filter(columns, it => it.dataIndex !== "jobNum"), item => { + columns: _.map(columns, item => { if (item.dataIndex === "username") { return { ...item, width: 180, @@ -109,4 +109,4 @@ export default class GenerateDeclarationDetail extends React.Component { ); } -} +} \ No newline at end of file