@ var list = entity.generalList; @ var size = list.~size; /*一行显示俩个，生成后在根据显示要求调整*/ @ for(var i=0;i<size;i++){ @ var item0=list[i]; @ var item1=(size-i==1)?null:list[i+1]; @ i=i+1; @ var array = [item0,item1]; <div class="layui-row">
@for(item in array){ @if(item==null){continue;} @if(item.name=="delFlag"){continue;} @if(item.name=="version"){continue;} @if(item.name=="attachmentId"){continue;}
${item.displayName}
@if(isEmpty(item.dictType)){ @}else{ @}
@}
@} @if(entity.attachment){
@}