Files
OMS/app/eccommon/view/regions/area_map.html
2025-12-28 23:13:25 +08:00

53 lines
2.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--
Copyright © ShopeX http://www.shopex.cn. All rights reserved.
See LICENSE file for license details.
-->
<form action="index.php?app=eccommon&ctl=regions&act=updateOrderNum" id="catEditor" method="post">
<div class="action-bar mainHead"><span class="sysiconBtn addorder" onclick="W.page('index.php?app=eccommon&ctl=regions&act=showNewArea')"><{t}>添加地区<{/t}></span></div>
<table cellspacing="0" cellpadding="0" class="gridlist">
<col class="Colauto"></col>
<col class="Coloption-1b"></col>
<col class="Coloption-1b"></col>
<col class="Coloption-1b"></col>
<col class="Coloption-1b"></col>
<col></col>
<thead>
<tr>
<th><{t}>地区名称<{/t}></th>
<th><{t}>排序<{/t}></th>
<th><{t}>添加子地区<{/t}></th>
<th><{t}>编辑<{/t}></th>
<th><{t}>删除<{/t}></th>
<th></th>
</thead>
<tbody>
<{foreach from=$area item=item name="area"}>
<tr>
<td style=" width:300px; white-space:nowrap;text-align:left; font-size:12px; padding-left:<{$item.region_grade*35}>px" nowrap>
<a style="font-weight:700; color:#000; text-decoration:none;padding-right:15px;" href='index.php?app=eccommon&ctl=regions&act=detailDlArea&p[0]=<{$item.region_id}>'><{$item.local_name}></a>
</td>
<td><span class="quiet"><{t}>排序:<{/t}></span><input class="_x_ipt" type="number" size="5" name="p_order[<{$item.region_id}>]" value="<{$item.ordernum}>|default:0" vtype="digits"></td>
<td><a href='index.php?app=eccommon&ctl=regions&act=showNewArea&p[0]=<{$item.region_id}>'><{img src="bundle/addcate.gif" border="0" alt=$___ectools="添加子地区"|t:'eccommon' title=$___ectools="添加子地区"|t:'eccommon'}></a></td>
<td><a class="i" href='index.php?app=eccommon&ctl=regions&act=detailDlArea&p[0]=<{$item.region_id}>'><{img src="bundle/editcate.gif" border="0" alt=$___ectools="编辑"|t:'eccommon'}></a></td>
<td><span onclick="javascript: if(confirm('<{t}>您确定要删除<{/t}>&nbsp;[<{$item.local_name}>]&nbsp;?')){ W.page('index.php?app=eccommon&ctl=regions&act=toRemoveArea&p[0]=<{$item.region_id}>',{method:'get'});}" style="cursor:pointer"><{img src="bundle/delecate.gif" border="0" alt=$___ectools="删除"|t:'eccommon'}></span></Td>
<td></td>
</tr>
<{/foreach}>
</tbody>
</table>
<div class="mainFoot">
<div class="footer">
<div class="table-action">
<{button label=$___ectools="保存排序"|t:'eccommon' onclick="$('catEditor').fireEvent('submit',{stop:{$empty}})" type="submit"}>
</div>
</div>
</div>
</form>