提交 1aaecde4 编写于 作者: tony001's avatar tony001

适配表单数据对象方式新建、更新默认值 --- fix4

上级 65dde3f8
......@@ -1733,7 +1733,7 @@ import { Environment } from '@/environments/environment';
this.data['${formdetail.getCodeName()?lower_case}'] = this.$util.dateFormat(new Date());
<#-- 数据对象属性 -->
<#elseif formdetail.getCreateDVT() == 'PARAM'>
this.data['${formdetail.getCodeName()?lower_case}'] = this.service?.getRemoteCopyData()?.${formdetail.getCreateDV()};
this.data['${formdetail.getCodeName()?lower_case}'] = this.service.getRemoteCopyData().${formdetail.getCreateDV()}?this.service.getRemoteCopyData().${formdetail.getCreateDV()}:null;
</#if>
<#else>
<#-- 默认值 -->
......@@ -1771,7 +1771,7 @@ import { Environment } from '@/environments/environment';
this.data['${formdetail.getCodeName()?lower_case}'] = this.context['srfuserid'];
<#-- 数据对象属性 -->
<#elseif formdetail.getUpdateDVT() == 'PARAM'>
this.data['${formdetail.getCodeName()?lower_case}'] = this.service?.getRemoteCopyData()?.${formdetail.getUpdateDV()};
this.data['${formdetail.getCodeName()?lower_case}'] = this.service.getRemoteCopyData().${formdetail.getUpdateDV()}?this.service.getRemoteCopyData().${formdetail.getUpdateDV()}:null;
</#if>
<#else>
<#-- 默认值 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册