mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-24 18:04:30 +08:00
50 lines
2.0 KiB
HTML
50 lines
2.0 KiB
HTML
<!--
|
|
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<div class="tableform">
|
|
<table class="gridlist" width="300px" cellspacing="0" cellpadding="0" border="0">
|
|
<tr>
|
|
<td width="70px">本地作废:</td>
|
|
<td>
|
|
<span class="show_list" channel_id="<{$channel_id}>" billtype="recycle" ><a href="javascript:;"><{$waybill_count[2]|default:0}></a></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>本地已用:</td>
|
|
<td>
|
|
<span class="show_list" channel_id="<{$channel_id}>" billtype="used" ><a href="javascript:;"><{$waybill_count[1]|default:0}></a></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>本地可用:</td>
|
|
<td>
|
|
<span class="show_list" channel_id="<{$channel_id}>" billtype="active" ><a href="javascript:;"><{$waybill_count[0]|default:0}></a></span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<script>
|
|
$$(".show_list").addEvent('click',function(e){
|
|
var billtype = this.get('billtype');
|
|
var channel_id = this.get('channel_id');
|
|
var t_url ='index.php?app=logisticsmanager&ctl=admin_waybill&act=findwaybill&channel_id='+channel_id+'&billtype='+billtype;
|
|
var url='index.php?app=desktop&act=alertpages&goto='+encodeURIComponent(t_url);
|
|
Ex_Loader('modedialog',function() {
|
|
new finderDialog(url,{width:1000,height:660});
|
|
});
|
|
});
|
|
|
|
</script> |