custom/领悦
This commit is contained in:
parent
1ea3529b5a
commit
7821a990e9
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue