提交 852655ac 编写于 作者: Mosher's avatar Mosher

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

上级 ca919494
......@@ -6,12 +6,19 @@
${item.render.code}
<#else>
<#if item.getParentPSDEFormDetail?? && item.getParentPSDEFormDetail()?? && item.getParentPSDEFormDetail().getDetailType?? && item.getParentPSDEFormDetail().getDetailType()?? && item.getParentPSDEFormDetail().getDetailType() == 'MDCTRL' && item.getParentPSDEFormDetail().getContentType() == 'REPEATER' && item.getParentPSDEFormDetail().getDetailStyle() == 'STYLE2'>
<el-table-column prop='${item.name}' align='<#if item.getParentPSDEFormDetail().getColumnAlign?? && item.getParentPSDEFormDetail().getColumnAlign()??>${item.getParentPSDEFormDetail().getColumnAlign()?lower_case}<#else>center</#if>'>
<template #header>
<span>{{ ${item.getCaption()} }}</span>
</template>
<template #default="{ row: data, column, $index }">
<#if item.isCompositeItem()>
<#assign formitems=item.getPSDEFormItems()>
<app-range-editor v-model="data.${item.name}" :activeData="data" :disabled="detailsModel.${item.name}.disabled" name="${item.name}" editorType="${item.getEditorType()}" format="${item.getEditorParam("TIMEFMT","")}" :refFormItem="[<#list formitems as formitem><#if formitem_index gt 0>,</#if>'${formitem.name}'</#list>]" @formitemvaluechange="onFormItemValueChange" style="<#if item.getContentWidth()?? && item.getContentWidth() != 0>width:${item.getContentWidth()}px;</#if><#if item.getContentHeight()?? && item.getContentHeight() != 0>height:${item.getContentHeight()}px;</#if>"></app-range-editor>
<#else>
${P.getEditorCode(item, "EDITOR.vue").code}
</#if>
</template>
</el-table-column>
<#else>
<app-form-item name='${item.name}' :itemRules="rules().${item.name}"<#if item.getPSSysCss?? && item.getPSSysCss()??> class='${item.getPSSysCss().getCssName()}'</#if><#if item.getLabelPSSysCss?? && item.getLabelPSSysCss()??> labelStyle="${item.getLabelPSSysCss().getCssName()}"</#if> :caption="<#if langbase??>$t('${langbase}.details.${item.name}')<#else>'${item.getCaption()}'</#if>" uiStyle="${item.getDetailStyle()}" :labelWidth="${item.getLabelWidth()?c}" :isShowCaption="${item.isShowCaption()?c}" :error="detailsModel.${item.name}.error" :isEmptyCaption="${item.isEmptyCaption()?c}" labelPos="${item.getLabelPos()}">
<#if item.isCompositeItem()>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册