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

调整表格单位

上级 51ea1f66
...@@ -518,7 +518,7 @@ import { FormItemModel } from '@/model/form-detail'; ...@@ -518,7 +518,7 @@ import { FormItemModel } from '@/model/form-detail';
label: '${column.getCaption()}', label: '${column.getCaption()}',
langtag: '<#if langbase??>${langbase}.columns.${column.getName()?lower_case}</#if>', langtag: '<#if langbase??>${langbase}.columns.${column.getName()?lower_case}</#if>',
show: <#if column.isHideDefault()>false<#else>true</#if>, show: <#if column.isHideDefault()>false<#else>true</#if>,
util: '${column.getWidthUnit()}', unit: '${column.getWidthUnit()}',
<#-- BEGIN:是否支持行编辑 --> <#-- BEGIN:是否支持行编辑 -->
<#if ctrl.isEnableRowEdit() && column.isEnableRowEdit()> <#if ctrl.isEnableRowEdit() && column.isEnableRowEdit()>
isEnableRowEdit: true, isEnableRowEdit: true,
...@@ -1652,7 +1652,7 @@ import { FormItemModel } from '@/model/form-detail'; ...@@ -1652,7 +1652,7 @@ import { FormItemModel } from '@/model/form-detail';
* @memberof ${srfclassname('${ctrl.codeName}')}Base * @memberof ${srfclassname('${ctrl.codeName}')}Base
*/ */
get adaptiveState(): boolean { get adaptiveState(): boolean {
return !this.allColumns.find((column: any) => column.show && Object.is(column.util, 'STAR')); return !this.allColumns.find((column: any) => column.show && Object.is(column.unit, 'STAR'));
} }
/** /**
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册