custom/上海港湾多语言

This commit is contained in:
lys 2025-10-11 16:36:08 +08:00
parent b2ce11f50b
commit 325a6725f1
1 changed files with 8 additions and 2 deletions

View File

@ -208,8 +208,14 @@ class EditCalcTable extends Component {
acctResultList(payload).then(({ status, data }) => {
this.setState({ loading: false });
if (status) {
const { columns, pageInfo: list } = data;
let { columns, pageInfo: list } = data;
const { list: dataSource, pageNum: current, pageSize, total } = list;
columns = _.map(columns, o => {
if (o.column === "username" || o.column === "departmentName") {
return { ...o, width: "210" };
}
return o;
});
this.setState({ pageInfo: { ...pageInfo, current, pageSize, total } }, () => {
const { pageInfo, selectedRowKeys } = this.state;
const sumRowlistUrl = this.props.showTotalCell ? "/api/bs/hrmsalary/salaryacct/acctresult/sum" : "";
@ -287,4 +293,4 @@ const traverse = (arr, calcDetail) => {
};
}
});
};
};