mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-31 21:25:33 +08:00
53 lines
2.4 KiB
HTML
53 lines
2.4 KiB
HTML
<!--
|
||
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}> [<{$item.local_name}>] ?')){ 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>
|