mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-23 02:45:33 +08:00
105 lines
4.3 KiB
HTML
105 lines
4.3 KiB
HTML
<!--
|
|
Copyright 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="finder-title">
|
|
<h2 class="head-title span-auto"><span id="title_info">订单作业状况</span><span class="num">数据缓存5分钟</span></h2>
|
|
|
|
<div class="top_extra clear" >
|
|
<div style="margin-bottom:0px;padding:5px; border:0;" id="dataAction" class="gridlist-action data-action">
|
|
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
|
<tbody>
|
|
<tr>
|
|
<td nowrap="nowrap">选择店铺:<select style="max-width:60px;_width:60px;" id="select_shop" name="shop_id">
|
|
<{foreach from=$shopList item=shop}>
|
|
<option value="<{$shop.shop_id}>"><{$shop.name}></option>
|
|
<{/foreach}>
|
|
</select></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="finder-header-wrapper">
|
|
<table width="100%" cellspacing="0" cellpadding="0" class="finder-header">
|
|
<colgroup>
|
|
<col class="orderCell" style="width:70px">
|
|
<col class="orderCell" style="width:55px">
|
|
<col class="orderCell" style="width:80px">
|
|
<col class="orderCell" style="width:55px">
|
|
<col class="orderCell" style="width:55px">
|
|
<col class="orderCell" style="width:55px">
|
|
<col class="orderCell" style="width:70px">
|
|
<col class="orderCell" style="width:70px">
|
|
<col class="orderCell" style="width:50px">
|
|
<col class="orderCell" style="width:50px">
|
|
<col class="orderCell" style="width:50px">
|
|
<col class="orderCell" style="width:50px">
|
|
<col class="orderCell" style="width:50px">
|
|
<col class="orderCell" style="width:50px">
|
|
<col class="orderCell" style="width:50px">
|
|
<col>
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<td><div class="cell">日期</div></td>
|
|
<td><div class="cell">新增订单</div></td>
|
|
<td><div class="cell">货到付款订单</div></td>
|
|
<td><div class="cell">失败订单</div></td>
|
|
<td><div class="cell">异常订单</div></td>
|
|
<td><div class="cell">取消订单</div></td>
|
|
<td><div class="cell">未确认订单</div></td>
|
|
<td><div class="cell">已确认订单</div></td>
|
|
<td><div class="cell">发货单</div></td>
|
|
<td><div class="cell">已发货</div></td>
|
|
<td><div class="cell">未发货</div></td>
|
|
<td><div class="cell">未打印</div></td>
|
|
<td><div class="cell">已打印</div></td>
|
|
<td><div class="cell">未校验</div></td>
|
|
<td><div class="cell">已校验</div></td>
|
|
<td> </td>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="shop_data" class="content-main"></div>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
(function(){
|
|
function getShopData(){
|
|
var shop_id = $('select_shop').value;
|
|
var load_img = '<div style="text-align:center;margin-top:30px;"><{img app="desktop" src="bundle/loading_medium.gif"}></div>';
|
|
|
|
$('title_info').set('text','店铺 <'+$('select_shop').getSelected().get('text')+'> 订单作业状况');
|
|
$('shop_data').set("html",load_img);
|
|
new Request.HTML({
|
|
url : 'index.php?app=monitor&ctl=admin_order&act=getShopData&p[0]='+shop_id,
|
|
method : 'post',
|
|
update : $('shop_data')
|
|
}).send();
|
|
}
|
|
|
|
if($('select_shop')) $('select_shop').addEvent('change',function(e){
|
|
getShopData();
|
|
});
|
|
|
|
getShopData();
|
|
})();
|
|
</script>
|