<#setting number_format="0.#####################">  Jeecg 移动表单

<#list columnhidden as po>
    <#list columns as po> <#if po.show_type=='text'>
  • 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="*" />
  • <#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?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>
  • <#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>
  • <#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=="textarea">
  • <#elseif po.show_type=='date'>
  • " onClick="WdatePicker({<#if po.operationCodesReadOnly?if_exists> readonly = true})" <#-- 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?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'>
  • " onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'<#if po.operationCodesReadOnly?if_exists> readonly = true})" <#-- 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?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="*" />
  • <#-- 提交按钮 -->
JEECG提供技术支持