<#--update-start--Author:luobaoli Date:20150614 for:表单(主表/单表)属性中增加了扩展参数 ${po.extend_json?if_exists}--> <#list columnhidden as po> <#list columns as po> <#if po_index%2==0> <#if (po_index%2==0)&&(!po_has_next)> <#if (po_index%2!=0)||(!po_has_next)> <#list columnsarea as po>
<#if po.show_type=='text'> <#if po.field_must_input??><#if po.field_must_input == 'Y' || po.is_null != 'Y'>ignore="checked"<#else>ignore="ignore"<#elseif po.is_null != 'Y'> ignore="checked"<#else>ignore="ignore" <#-- update--end--author:zhangjiaqiang Date:20170417 for:增加校验必填项 --> <#if po.operationCodesReadOnly?exists> readonly = "readonly" <#if po.field_valid_type?if_exists?html != ''> datatype="${po.field_valid_type?if_exists?html}" <#else> <#if po.type == 'int'> datatype="n" <#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/" <#else> <#if po.is_null != 'Y'>datatype="*" > <#elseif po.show_type=='password'> <#if po.field_must_input??><#if po.field_must_input == 'Y' || po.is_null != 'Y'>ignore="checked"<#else>ignore="ignore"<#elseif po.is_null != 'Y'> ignore="checked"<#else>ignore="ignore" <#-- update--end--author:zhangjiaqiang Date:20170417 for:增加校验必填项 --> <#if po.operationCodesReadOnly?if_exists> readonly = "readonly" <#if po.field_valid_type?if_exists?html != ''> datatype="${po.field_valid_type?if_exists?html}" <#else> <#if po.is_null != 'Y'>datatype="*" > <#elseif po.show_type=='radio'> <@DictData name="${po.dict_field?if_exists?html}" text="${po.dict_text?if_exists?html}" tablename="${po.dict_table?if_exists?html}" var="dataList"> <#list dataList as dictdata> <#if dictdata_index == 0> <#if po.field_valid_type?if_exists?html != ''> datatype="${po.field_valid_type?if_exists?html}" <#elseif po.is_null != 'Y'> datatype="*" <#if po.field_must_input?if_exists?html != ''><#if po.field_must_input == 'Y' || po.is_null != 'Y'>ignore="checked"<#else>ignore="ignore"<#elseif po.is_null != 'Y'> ignore="checked"<#else>ignore="ignore" <#-- update--end--author:zhangjiaqiang Date:20170512 for:TASK #1910 【Online 校验】radio\checkbox\select 存在问题,没有根据选择校验规则校验 --> <#if po.operationCodesReadOnly?if_exists>onclick="return false;" <#if dictdata.typecode?if_exists?html=="${data['${tableName}']['${po.field_name}']?if_exists?html}"> checked="true" > ${dictdata.typename?if_exists?html} <#elseif po.show_type=='checkbox'> <#assign checkboxstr>${data['${tableName}']['${po.field_name}']?if_exists?html} <#assign checkboxlist=checkboxstr?split(",")> <@DictData name="${po.dict_field?if_exists?html}" text="${po.dict_text?if_exists?html}" tablename="${po.dict_table?if_exists?html}" var="dataList"> <#list dataList as dictdata> <#if dictdata_index == 0> <#if po.field_valid_type?if_exists?html != ''> datatype="${po.field_valid_type?if_exists?html}" <#elseif po.is_null != 'Y'> datatype="*" <#if po.field_must_input?if_exists?html != ''><#if po.field_must_input == 'Y' || po.is_null != 'Y'>ignore="checked"<#else>ignore="ignore"<#elseif po.is_null != 'Y'> ignore="checked"<#else>ignore="ignore" <#-- update--end--author:zhangjiaqiang Date:20170512 for:TASK #1910 【Online 校验】radio\checkbox\select 存在问题,没有根据选择校验规则校验 --> <#if po.operationCodesReadOnly?if_exists>onclick="return false;" <#list checkboxlist as x > <#if dictdata.typecode?if_exists?html=="${x?if_exists?html}"> checked="true" > ${dictdata.typename?if_exists?html} <#elseif po.show_type=='list'> <@DictData name="${po.dict_field?if_exists?html}" text="${po.dict_text?if_exists?html}" tablename="${po.dict_table?if_exists?html}" var="dataList"> <#elseif po.show_type=='date'> <#if po.field_must_input??><#if po.field_must_input == 'Y' || po.is_null != 'Y'>ignore="checked"<#else>ignore="ignore"<#elseif po.is_null != 'Y'> ignore="checked"<#else>ignore="ignore" <#-- update--end--author:zhangjiaqiang Date:20170417 for:增加校验必填项 --> <#if po.operationCodesReadOnly?exists> readonly = "readonly" <#if po.field_valid_type?if_exists?html != ''> datatype="${po.field_valid_type?if_exists?html}" <#else> <#if po.is_null != 'Y'>datatype="*" > <#elseif po.show_type=='datetime'> <#if po.field_must_input??><#if po.field_must_input == 'Y' || po.is_null != 'Y'>ignore="checked"<#else>ignore="ignore"<#elseif po.is_null != 'Y'> ignore="checked"<#else>ignore="ignore" <#-- update--end--author:zhangjiaqiang Date:20170417 for:增加校验必填项 --> <#if po.operationCodesReadOnly?exists> readonly = "readonly" <#if po.field_valid_type?if_exists?html != ''> datatype="${po.field_valid_type?if_exists?html}" <#else> <#if po.is_null != 'Y'>datatype="*" > <#elseif po.show_type=='popup'> <#if po.field_must_input??><#if po.field_must_input == 'Y' || po.is_null != 'Y'>ignore="checked"<#else>ignore="ignore"<#elseif po.is_null != 'Y'> ignore="checked"<#else>ignore="ignore" <#-- update--end--author:zhangjiaqiang Date:20170417 for:增加校验必填项 --> <#if po.operationCodesReadOnly?if_exists> readonly = "readonly" <#else> onClick="inputClick(this,'${po.dict_text?if_exists?html}','${po.dict_table?if_exists?html}');" <#if po.field_valid_type?if_exists?html != ''> datatype="${po.field_valid_type?if_exists?html}" <#else> <#if po.is_null != 'Y'>datatype="*" > <#elseif po.show_type=='file'> <#list filesList as fileB> <#-- update--begin--author:zhangjiaqiang date:20170608 for:修订字段为小写 --> <#if fileB['field']?lower_case == po.field_name> <#-- update--end--author:zhangjiaqiang date:20170608 for:修订字段为小写 -->
${fileB['title']} 下载 预览 删除
<#if !(po.operationCodesReadOnly ??)>
<#-- update--begin--author:zhangjiaqiang date:20170607 for:增加图片格式的上传 --> <#elseif po.show_type=='image'> <#-- update--begin--author:zhangjiaqiang date:20170519 for:修订资源预览关联错误 --> <#list imageList as imageB> <#-- update--begin--author:zhangjiaqiang date:20170608 for:修订字段为小写 --> <#if imageB['field']?lower_case == po.field_name> <#-- update--end--author:zhangjiaqiang date:20170608 for:修订字段为小写 --> <#-- update--end--author:zhangjiaqiang date:20170519 for:修订资源预览关联错误 -->
${imageB['title']} 下载 预览 删除
<#if !(po.operationCodesReadOnly ??)>
<#-- update--end--author:zhangjiaqiang date:20170607 for:增加图片格式的上传 --> <#else> <#if po.field_must_input??><#if po.field_must_input == 'Y' || po.is_null != 'Y'>ignore="checked"<#else>ignore="ignore"<#elseif po.is_null != 'Y'> ignore="checked"<#else>ignore="ignore" <#-- update--end--author:zhangjiaqiang Date:20170417 for:增加校验必填项 --> <#if po.field_valid_type?if_exists?html != ''> datatype="${po.field_valid_type?if_exists?html}" <#else> <#if po.type == 'int'> datatype="n" <#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/" <#else> <#if po.is_null != 'Y'>datatype="*" >
<#if po.show_type=='umeditor'>
<#--update-end--Author:luobaoli Date:20150614 for:表单(主表/单表)属性中增加了扩展参数 ${po.extend_json?if_exists}-->