custom/领悦

This commit is contained in:
黎永顺 2024-09-23 16:18:58 +08:00
parent 1ea3529b5a
commit 7821a990e9
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ class Layout extends Component {
{ key: "EXPORTALL", icon: <i className="iconfont icon-daochu"/>, content: getLabel(81272, "导出全部") }
];
!salaryManager && (buttons = buttons.slice(2));
lyAuth && buttons.unshift(<Button type="primary"
onClick={() => listRef.handleOperate("GENERATEVOUCHER")}>{getLabel(111, "生成并预览凭证")}</Button>);
(lyAuth || salaryManager) && buttons.unshift(<Button type="primary"
onClick={() => listRef.handleOperate("GENERATEVOUCHER")}>{getLabel(111, "生成并预览凭证")}</Button>);
return (
<WeaTop
title={title} icon={<i className="icon-coms-fa"/>} buttons={buttons} showDropIcon={true}