提交 2ffc5d5a 编写于 作者: Mosher's avatar Mosher

update: 更新表单多数据部件(重复器)--- u1

上级 5e0133dd
...@@ -20,11 +20,13 @@ ${item.render.code} ...@@ -20,11 +20,13 @@ ${item.render.code}
style="<#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px</#if>" style="<#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px</#if>"
</#if> </#if>
:formState="formState" :formState="formState"
:caption="<#if langbase??>$t('${langbase}.details.${item.name}')<#else>'${item.getCaption()}'</#if>"
<#if item.getContentType() != 'REPEATER'> <#if item.getContentType() != 'REPEATER'>
ctrlName="<#if item.getContentPSControl?? && item.getContentPSControl()??>${item.getContentPSControl().name}</#if>" ctrlName="<#if item.getContentPSControl?? && item.getContentPSControl()??>${item.getContentPSControl().name}</#if>"
contentType="${item.getContentType()}" contentType="${item.getContentType()}"
@drdatasaved="drdatasaved($event)"> @drdatasaved="drdatasaved($event)">
<#else> <#else>
:data='data'
> >
</#if> </#if>
<#if item.getContentType() == 'REPEATER'> <#if item.getContentType() == 'REPEATER'>
......
...@@ -27,4 +27,9 @@ new FormTabPanelModel({ ${detail}, tabPages: [<#list item.getPSDEFormTabPages() ...@@ -27,4 +27,9 @@ new FormTabPanelModel({ ${detail}, tabPages: [<#list item.getPSDEFormTabPages()
new FormUserControlModel({ ${detail} }) new FormUserControlModel({ ${detail} })
<#elseif item.getDetailType() == 'MDCTRL'> <#elseif item.getDetailType() == 'MDCTRL'>
new FormMdCtrlModel({ ${detail} }) new FormMdCtrlModel({ ${detail} })
<#if item.getContentType() == 'REPEATER' && item.getPSDEFormDetails?? && item.getPSDEFormDetails()??>
<#list item.getPSDEFormDetails() as formmenber>
${formmenber.name}: ${P.getPartCode(formmenber, 'DETAIL_MODEL').code},
</#list>
</#if>
</#if> </#if>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册