cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[#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}&nbsp;[/#if]
          [/#list]
[#else]
        ${values[d.ID]}
[/#if]
</td>
</tr>
[/#list]
[/#macro]