custom/上海港湾多语言

This commit is contained in:
黎永顺 2024-06-13 16:04:07 +08:00
parent 36f277c490
commit 72fd9a50e0
2 changed files with 5 additions and 2 deletions

View File

@ -331,7 +331,7 @@ class Index extends Component {
const tabs = [
{ key: "statistics", title: getLabel(543316, "统计表") },
{ key: "detail", title: getLabel(543317, "员工明细") },
{ key: "salaryDetail", title: getLabel(547605, "薪资明细") }
{ key: "salaryDetail", title: getLabel(547641, "薪资明细") }
];
return (
<WeaReqTop

View File

@ -39,7 +39,10 @@ class WelfareRecordQuery extends Component {
...item,
items: _.map(item.items, o => {
if (getKey(o) === "taxAgents") {
return { ...o, options: _.map(data, g => ({ key: g.id.toString(), showname: g.name })) };
return {
...o, label: getLabel(o.lanId, o.label),
options: _.map(data, g => ({ key: g.id.toString(), showname: g.name }))
};
}
return o;
})