请输入
菜单

如何修改单据新建、编辑、复制界面的显示标签?

下载

应用场景:新建大项目时,不需要显示“新建”字样

demo案例

--查询单据“新建”界面显示标签
select * from ld_desk where labelbol = 'TitleCreate' and Labeltype = 'jspop';

--执行以下sql将“新建”标签置为空
set @tofieldlabel = ''; -- 目标内容
UPDATE ld_desk SET fieldlabel=@tofieldlabel where labelbol = 'TitleCreate' and Labeltype = 'jspop';


--查询单据“复制”界面显示标签
select * from ld_desk where labelbol = 'TitleCopy' and Labeltype = 'jspop';

--执行以下sql将“复制”标签置为空
set @tofieldlabel = ''; -- 目标内容
UPDATE ld_desk SET fieldlabel=@tofieldlabel where labelbol = 'TitleCopy' and Labeltype = 'jspop';


--查询单据“编辑”界面显示标签
select * from ld_desk where labelbol = 'TitleEdit' and Labeltype = 'jspop';

--执行以下sql将“编辑”标签置为空
set @tofieldlabel = ''; -- 目标内容
UPDATE ld_desk SET fieldlabel=@tofieldlabel where labelbol = 'TitleEdit' and Labeltype = 'jspop';

注:执行后,针对所有模块生效,所有模块的“新建、编辑、复制”标签都将被更换为目标内容

上一个
8.6.4.8 及以上单点登录的代码
下一个
php72 增加pdo_sqlsrv扩展连sqlserver数据库
最近修改: 2025-03-25