cy
2022-06-28 2ba5c891b24d4d0cd6ce7ef833592e4f576ee5e8
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
[#if info?? && info.datas?? && info.datas?size>0]
<table class="display_form common_list_table">
    <tr class="title">
        <td width="7%">序号</td>
        <td width="12%">供应商名称</td>
        <td width="10%">联系人</td>
        <td width="10%">联系电话</td>
        <td width="16%">所属地区</td>
        <td width="8%">供应货品</td>
        <td width="8%">创建人</td>
        <td width="12%">创建时间</td>
        <td width="5%">状态</td>
        <td width="15%">操作</td>
    </tr>
    [#list info.datas as item]
        <tr>
            <td>${info.rowNum+item_index+1}</td>
            <td>${item.supplier_name}</td>
            <td>${item.contacts}</td>
            <td>${item.contacts_tel}</td>
            <td>${item.province}&nbsp;&nbsp;${item.city}&nbsp;&nbsp;${item.county}</td>
            <td>${item.cate_num}</td>
            <td>${item.create_name}</td>
            <td>${DateUtil.format("yyyy-MM-dd HH:mm",item.gmt_create)}</td>
            <td>${(item.state==1)?string("启用","禁用")}</td>
            <td class="list_btnmore_wrap">
                <a class="blue_txt lb_button" href="javascript:edit('${item.id}','2');"><span>修改</span></a>
                <a class="blue_txt lb_button" href="javascript:detail('${item.id}');"><span>详情</span></a>
                [#if item.state==1]
                  <a class="blue_txt" class="blue_txt lb_button"  href="javascript:del('${item.id}',0);"><span>禁用</span></a>
                [#else]
                  <a class="blue_txt" class="blue_txt lb_button"  href="javascript:del('${item.id}',1);"><span>启用</span></a>
                [/#if]
            </td>
        </tr>
    [/#list]
</table>
[#else]
<div class="loadpos"><span class="nodata"></span></div>
[/#if]