mirror of https://github.com/jeecgboot/jeecg
3.7 代码生成器模板,字典标签问题
parent
1d1d991b70
commit
94040e50a9
|
@ -149,9 +149,6 @@
|
|||
<#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if></#if> />
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${po.fieldName}" type="${po.showType?if_exists?html}" extendJson="{class:'form-control',style:'width:150px'}" <#if po.isNull != 'Y'>datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text"
|
||||
|
@ -413,9 +410,6 @@
|
|||
<#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#else> <#if po.isNull != 'Y'>datatype="*"</#if></#if></#if>>
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${sub.entityName?uncap_first}List[#index#].${po.fieldName}" type="${po.showType?if_exists?html}" extendJson="{class:'form-control',style:'width:150px'}" <#if po.isNull != 'Y'>datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="" hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input name="${sub.entityName?uncap_first}List[#index#].${po.fieldName}" maxlength="${po.length?c}"
|
||||
|
|
|
@ -150,9 +150,6 @@
|
|||
<#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if></#if> value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}' />
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${po.fieldName}" type="${po.showType?if_exists?html}" extendJson="{class:'form-control',style:'width:150px'}" <#if po.isNull != 'Y'>datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="${'$'}{${entityName?uncap_first}Page.${po.fieldName}}" hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text"
|
||||
|
@ -415,9 +412,6 @@
|
|||
<#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#else> <#if po.isNull != 'Y'>datatype="*"</#if></#if></#if>>
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${sub.entityName?uncap_first}List[#index#].${po.fieldName}" type="${po.showType?if_exists?html}" extendJson="{class:'form-control',style:'width:150px'}" <#if po.isNull != 'Y'>datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="" hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input name="${sub.entityName?uncap_first}List[#index#].${po.fieldName}" maxlength="${po.length?c}"
|
||||
|
|
|
@ -99,9 +99,6 @@
|
|||
<#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if></#if> />
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${po.fieldName}" type="${po.showType?if_exists?html}" extendJson="{class:'form-control'}"
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text"
|
||||
|
|
|
@ -99,9 +99,6 @@
|
|||
<#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if></#if> value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}' />
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${po.fieldName}" type="${po.showType?if_exists?html}" extendJson="{class:'form-control'}"
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="${'$'}{${entityName?uncap_first}Page.${po.fieldName}}" hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text"
|
||||
|
|
|
@ -129,10 +129,7 @@
|
|||
<input id="${po.fieldName}" name="${po.fieldName}" type="password" style="width: 150px" class="inputxt" <#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if></#if>/>
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${po.fieldName}" type="${po.showType?if_exists?html}" <#if po.isNull != 'Y'>datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="${'$'}{${entityName?uncap_first}Page.${po.fieldName}}" hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="${'$'}{${entityName?uncap_first}Page.${po.fieldName}}" hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker()"
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
|
|
|
@ -135,10 +135,7 @@
|
|||
<#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if></#if> value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}'/>
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${po.fieldName}" type="${po.showType?if_exists?html}" <#if po.isNull != 'Y'>datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="${'$'}{${entityName?uncap_first}Page.${po.fieldName}}" hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="${'$'}{${entityName?uncap_first}Page.${po.fieldName}}" hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker()" <#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
|
|
|
@ -105,9 +105,6 @@
|
|||
>
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${po.fieldName}" type="${po.showType?if_exists?html}"
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="${'$'}{${entityName?uncap_first}Page.${po.fieldName}}" hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text" style="width: 150px"
|
||||
|
|
|
@ -90,9 +90,6 @@
|
|||
style="width: 150px" class="inputxt" <#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if></#if> value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}'>
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${po.fieldName}" type="${po.showType?if_exists?html}"
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="${'$'}{${entityName?uncap_first}Page.${po.fieldName}}" hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text" style="width: 150px"
|
||||
|
|
|
@ -66,9 +66,6 @@
|
|||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${po.fieldName}" type="${po.showType?if_exists?html}"
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> hasLabel="false" title="${po.content}" <#if po.isNull != 'Y'>datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text" style="width: 150px"
|
||||
|
@ -215,9 +212,6 @@
|
|||
>
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${sub.entityName?uncap_first}List[#index#].${po.fieldName}" type="${po.showType?if_exists?html}" <#if po.isNull != 'Y'>datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="" hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input name="${sub.entityName?uncap_first}List[#index#].${po.fieldName}" maxlength="${po.length?c}"
|
||||
|
|
|
@ -69,9 +69,6 @@
|
|||
<#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if></#if> value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}'>
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${po.fieldName}" type="${po.showType?if_exists?html}"
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.isNull != 'Y'>datatype="*"</#if>
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="${'$'}{${entityName?uncap_first}Page.${po.fieldName}}" hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
|
@ -218,9 +215,6 @@
|
|||
<#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#else> <#if po.isNull != 'Y'>datatype="*"</#if></#if></#if>>
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${sub.entityName?uncap_first}List[#index#].${po.fieldName}" type="${po.showType?if_exists?html}" <#if po.isNull != 'Y'>datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="" hasLabel="false" title="${po.content}"></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input name="${sub.entityName?uncap_first}List[#index#].${po.fieldName}" maxlength="${po.length?c}"
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
<input id="${po.fieldName}" name="${po.fieldName}" type="text" style="width: 150px" class="inputxt easyui-combotree"
|
||||
<#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#elseif po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#elseif po.isNull != 'Y'> datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
data-options="panelHeight:'220',
|
||||
url: '${entityName?uncap_first}Controller.do?datagrid&field=id,${cgformConfig.cgFormHead.treeFieldnamePage}',
|
||||
|
@ -127,7 +127,7 @@
|
|||
<input id="${po.fieldName}" name="${po.fieldName}" type="text" style="width: 150px" class="inputxt"
|
||||
<#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#elseif po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#elseif po.isNull != 'Y'> datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
/>
|
||||
<#elseif po.showType=='popup'>
|
||||
|
@ -140,40 +140,37 @@
|
|||
<#elseif po.isNull != 'Y'>datatype="*"
|
||||
</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.dictTable?if_exists?html!=""> onclick="inputClick(this,'${po.dictField}','${po.dictTable}')"</#if> />
|
||||
<#elseif po.showType=='textarea'>
|
||||
<textarea style="width:600px;" class="inputxt" rows="6" id="${po.fieldName}" name="${po.fieldName}"
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
></textarea>
|
||||
<#elseif po.showType=='password'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="password" style="width: 150px" class="inputxt"
|
||||
<#if po.fieldValidType?if_exists?html != ''>datatype="${po.fieldValidType?if_exists?html}" <#elseif po.type == 'int'> datatype="n" <#elseif po.type=='double'>datatype="/^(-?\d+)(\.\d+)?$/" <#elseif po.isNull != 'Y'>datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->/>
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${po.fieldName}" type="${po.showType?if_exists?html}"
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="${'$'}{${entityName?uncap_first}Page.${po.fieldName}}" hasLabel="false" title="${po.content}" <#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}" <#elseif po.isNull != 'Y'> datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker()"
|
||||
<#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}" <#elseif po.isNull != 'Y'> datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
/>
|
||||
<#elseif po.showType=='datetime'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
|
||||
<#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#elseif po.isNull != 'Y'> datatype="*"</#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
/>
|
||||
<#elseif po.showType=='file'>
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
<input id="${po.fieldName}" name="${po.fieldName}" type="text" style="width: 150px" class="inputxt easyui-combotree" <#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#elseif po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#elseif po.isNull != 'Y'> datatype="*"</#if>
|
||||
value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}'
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
data-options="
|
||||
panelHeight:'220',
|
||||
|
@ -129,44 +129,41 @@
|
|||
<#elseif po.showType=='text'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text" style="width: 150px" class="inputxt" <#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if></#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}'>
|
||||
<#elseif po.showType=='popup'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text" style="width: 150px" class="searchbox-inputtext" <#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if></#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.dictTable?if_exists?html!=""> onclick="inputClick(this,'${po.dictField}','${po.dictTable}')"</#if> value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}'>
|
||||
<#elseif po.showType=='textarea'>
|
||||
<textarea id="${po.fieldName}" style="width:600px;" class="inputxt" rows="6" name="${po.fieldName}"
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
>${'$'}{${entityName?uncap_first}Page.${po.fieldName}}</textarea>
|
||||
<#elseif po.showType=='password'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="password" style="width: 150px" class="inputxt" <#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.type == 'int'> datatype="n"<#elseif po.type=='double'> datatype="/^(-?\d+)(\.\d+)?$/"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if></#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}'>
|
||||
<#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'>
|
||||
<t:dictSelect field="${po.fieldName}" type="${po.showType?if_exists?html}"
|
||||
<#if po.dictTable?if_exists?html != ''>dictTable="${po.dictTable?if_exists?html}" dictField="${po.dictField?if_exists?html}" dictText="${po.dictText?if_exists?html}"<#else>typeGroupCode="${po.dictField}"</#if> defaultVal="${'$'}{${entityName?uncap_first}Page.${po.fieldName}}" hasLabel="false" title="${po.content}" <#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
></t:dictSelect>
|
||||
<#elseif po.showType=='date'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker()" <#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
value='<fmt:formatDate value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}' type="date" pattern="yyyy-MM-dd"/>'>
|
||||
<#elseif po.showType=='datetime'>
|
||||
<input id="${po.fieldName}" name="${po.fieldName}" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"<#if po.fieldValidType?if_exists?html != ''> datatype="${po.fieldValidType?if_exists?html}"<#else><#if po.isNull != 'Y'>datatype="*"</#if></#if>
|
||||
<#-- update--begin--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull == 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#if po.fieldMustInput??><#if po.fieldMustInput == 'Y' || po.isNull != 'Y'>ignore="checked"<#else>ignore="ignore"</#if></#if>
|
||||
<#-- update--end--author:zhangjiaqiang Date:20170414 for:增加校验必填项 -->
|
||||
value='<fmt:formatDate value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}' type="date" pattern="yyyy-MM-dd hh:mm:ss"/>'>
|
||||
<#elseif po.showType=='file'>
|
||||
|
|
Loading…
Reference in New Issue