费用报销二开扩展--web端报销单编辑页面费用类型只想显示名称
1 问题描述
web端费用报销单分录费用类型只想显示名称
2 解决方法
需要扩展标准的expenseF7格式化方法,
代码如下
waf.defineCustomeClass("cellformatter.expenseF7", cellformatter.f7,
{ format: function(cellval, rwd) {
if (!rwd || typeof(cellval) == "string") return cellval;
if (bizCollBillBase.isShowExpenseLongName()) {
this.opts.colModel.formatoptions = {displayFormat: "{displayName}"}; }
else {
this.opts.colModel.formatoptions = {displayFormat: "{name}"}; }
return cellformatter.f7.prototype.format.call(this, cellval, rwd); }
});
实现效果
5 参考资料(可选)
以下为二开相关参考知识:
1、 WAF2参考:http://waf2.kingdee.com:6888/waf2help/
2、 费用报销二开参考:
https://vip.kingdee.com/school/detail/164751528979361024?productLineId=8&lang=zh-CN
费用报销二开扩展--web端报销单编辑页面费用类型只想显示名称
1 问题描述web端费用报销单分录费用类型只想显示名称2 解决方法需要扩展标准的expenseF7格式化方法,代码如下waf.defineCustomeClass("ce...
点击下载文档
上一篇:【差旅费报销单(报销)】-调整收款信息下一篇:【发票系统配置】-操作手册
本文2024-09-22 18:38:10发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-102045.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章