提交 4aca3d09 编写于 作者: tony001's avatar tony001

增加表单更新默认值当前时间类型支持

上级 9042d8cf
...@@ -1769,6 +1769,9 @@ import { Environment } from '@/environments/environment'; ...@@ -1769,6 +1769,9 @@ import { Environment } from '@/environments/environment';
<#-- 当前操作用户(编号) --> <#-- 当前操作用户(编号) -->
<#elseif formdetail.getUpdateDVT() == 'OPERATOR'> <#elseif formdetail.getUpdateDVT() == 'OPERATOR'>
this.data['${formdetail.getCodeName()?lower_case}'] = this.context['srfuserid']; this.data['${formdetail.getCodeName()?lower_case}'] = this.context['srfuserid'];
<#-- 当前时间 -->
<#elseif formdetail.getUpdateDVT() == 'CURTIME'>
this.data['${formdetail.getCodeName()?lower_case}'] = this.$util.dateFormat(new Date());
<#-- 数据对象属性 --> <#-- 数据对象属性 -->
<#elseif formdetail.getUpdateDVT() == 'PARAM'> <#elseif formdetail.getUpdateDVT() == 'PARAM'>
this.data['${formdetail.getCodeName()?lower_case}'] = this.service.getRemoteCopyData().${formdetail.getUpdateDV()}?this.service.getRemoteCopyData().${formdetail.getUpdateDV()}:null; this.data['${formdetail.getCodeName()?lower_case}'] = this.service.getRemoteCopyData().${formdetail.getUpdateDV()}?this.service.getRemoteCopyData().${formdetail.getUpdateDV()}:null;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册