[#include "/component/DatePicker.html" /]
|
|
[#include "/component/sel.html" /]
|
|
[#macro evprop source=[] textareaprop=[] values={} groupid=""]
|
[#list source as d]
|
<tr>
|
<td width="35" align="right"><img src="${common_static}/static/ui/images/zc-icon-74.gif" width="16" height="16" alt="" /></td>
|
<td width="100">${d.COLUMNNAME}:</td>
|
<td class="last">
|
[#if d.DATATYPE==1 || d.DATATYPE==2]
|
${values[d.ID]}
|
[/#if]
|
[#if d.DATATYPE==4]
|
${DateUtil.format("yyyy-MM-dd",values[d.ID])}
|
[/#if]
|
[#if d.DATATYPE==5]
|
[#if d.DATATYPE==5]
|
[#list d.items as item]
|
[#if item.ID == values[d.ID]]
|
${item.ITEMVALUE}
|
[/#if]
|
[/#list]
|
[/#if]
|
[/#if]
|
</td>
|
</tr>
|
[/#list]
|
|
[#list textareaprop as d]
|
<tr>
|
<tr><td width="35" align="right"><img src="${common_static}/static/ui/images/zc-icon-74.gif" width="16" height="16" alt="" /></td>
|
<td width="100">${d.COLUMNNAME}:</td>
|
<td class="last">
|
[#if d.DATATYPE==6]
|
[#assign itemVal = values[d.ID]]
|
[#list d.items as item]
|
[#if itemVal?contains(item.ID)]${item.ITEMVALUE} [/#if]
|
[/#list]
|
[#else]
|
${values[d.ID]}
|
[/#if]
|
</td>
|
</tr>
|
[/#list]
|
[/#macro]
|