<#setting number_format="0.#####################"> ${config_iframe} <#--update-start--Author:luobaoli Date:20150614 for:表单单表属性中增加了扩展参数 ${po.extend_json?if_exists}-->
<#list columnhidden as po> <#list columns as po> <#if (columns?size>10)> <#if po_index%2==0> <#else> <#if (columns?size>10)> <#if (po_index%2==0)&&(!po_has_next)> <#if (po_index%2!=0)||(!po_has_next)> <#else> <#list columnsarea as po> <#if (columns?size>10)> <#else>
<#--update-begin--Author:钟世云 Date:20150610 for:online支持树配置--> <#if head.isTree=='Y' && head.treeParentIdFieldName==po.field_name> readonly = "readonly" <#-- update--begin--author:zhangjiaqiang Date:20170417 for:增加校验必填项 --> <#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="*" data-options=" panelHeight:'220', url: '${basePath}/cgAutoListController.do?datagrid&configId=${tableName?if_exists?html}&field=id,${head.treeFieldname}', loadFilter: function(data) { var rows = data.rows || data; var win = frameElement.api.opener; var listRows = win.getDataGrid().treegrid('getData'); joinTreeChildren(rows, listRows); convertTreeData(rows, '${head.treeFieldname}'); return rows; }, <#-- update--begin--author:zhangjiaqiang Date:20170518 for:修订树形菜单选择必填项问题--> onSelect:function(node){ $('#${po.field_name}').val(node.id); }, <#-- update--end--author:zhangjiaqiang Date:20170518 for:修订树形菜单选择必填项问题 --> onLoadSuccess: function() { var win = frameElement.api.opener; var currRow = win.getDataGrid().treegrid('getSelected'); if(!'${id?if_exists?html}') { //增加时,选择当前父菜单 if(currRow) { $('#${po.field_name}').combotree('setValue', currRow.id); } }else { //编辑时,选择当前父菜单 if(currRow) { $('#${po.field_name}').combotree('setValue', currRow._parentId); } } } "> <#--update-end--Author:钟世云 Date:20150610 for:online支持树配置--> <#elseif po.show_type=='text'> readonly = "readonly" <#-- update--begin--author:zhangjiaqiang Date:20170417 for:增加校验必填项 --> <#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: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" <#if po.is_null == 'Y'>ignore="ignore" <#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/" <#if po.is_null == 'Y'>ignore="ignore" <#else> <#if po.is_null != 'Y'>datatype="*" > <#elseif po.show_type=='password'> <#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: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> onclick="return false;" <#-- update--begin--author:zhangjiaqiang Date:20170512 for:TASK #1910 【Online 校验】radio\checkbox\select 存在问题,没有根据选择校验规则校验 --> <#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 存在问题,没有根据选择校验规则校验 --> <#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'> " <#-- update--begin--author:zhangjiaqiang Date:20170417 for:增加校验必填项 --> <#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:增加校验必填项 --> class="Wdate" onClick="WdatePicker({<#if po.operationCodesReadOnly?if_exists> readonly = true})" <#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'> " <#-- update--begin--author:zhangjiaqiang Date:20170417 for:增加校验必填项 --> <#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:增加校验必填项 --> class="Wdate" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'<#if po.operationCodesReadOnly?if_exists> ,readonly = true})" <#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="*" > <#--update-start--Author:gengjiajia Date:20160802 for:TASK #1175 批量添加数据的时popup多值的传递--> <#elseif po.show_type=='popup'> onClick="popupClick(this,'${po.dict_text?if_exists?html}','${po.dict_field?if_exists?html}','${po.dict_table?if_exists?html}');" value="${data['${tableName}']['${po.field_name}']?if_exists?html}" <#-- update--begin--author:zhangjiaqiang Date:20170417 for:增加校验必填项 --> <#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="*" > <#--update-end--Author:gengjiajia Date:20160802 for:TASK #1175 批量添加数据的时popup多值的传递--> <#elseif po.show_type=='file'> <#-- update--begin--author:zhangjiaqiang date:20170519 for:修订资源预览关联错误 --> <#list filesList as fileB> <#if fileB['field'] == po.field_name> <#-- update--end--author:zhangjiaqiang date:20170519 for:修订资源预览关联错误 -->
${fileB['title']} 下载 预览 删除
<#if !(po.operationCodesReadOnly ??)>
<#--update-start--Author: jg_huangxg Date:20160113 for:TASK #824 【online开发】控件类型扩展增加一个图片类型 image --> <#elseif po.show_type=='image'> <#-- update--begin--author:zhangjiaqiang date:20170519 for:修订资源预览关联错误 --> <#list imageList as imageB> <#if imageB['field'] == po.field_name> <#-- update--end--author:zhangjiaqiang date:20170519 for:修订资源预览关联错误 -->
${imageB['title']} 下载 预览 删除
<#if !(po.operationCodesReadOnly ??)>
<#--update-end--Author: jg_huangxg Date:20160113 for:TASK #824 【online开发】控件类型扩展增加一个图片类型 image --> <#--update-start--Author: jg_huangxg Date:20160505 for:TASK #1027 【online】代码生成器模板不支持UE编辑器 --> <#elseif po.show_type=='umeditor'> <#--update-end--Author: jg_huangxg Date:20160505 for:TASK #1027 【online】代码生成器模板不支持UE编辑器 --> <#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'>
<#if po.show_type=='umeditor'>
<#--update--begin--author:scott Date:20170304 for:替换layer风格提示框--> <#--update--end--author:scott Date:20170304 for:替换layer风格提示框-->
<#--update-end--Author:luobaoli Date:20150614 for:表单单表属性中增加了扩展参数 ${po.extend_json?if_exists}-->