|  |  |  | 
|---|
|  |  |  | <div class="layui-card"> | 
|---|
|  |  |  | <div class="layui-card-header"> | 
|---|
|  |  |  | 系统用户 | 
|---|
|  |  |  | <span class="icon-text pull-right" lay-tips="指标说明" lay-direction="4" lay-offset="5px,5px"> | 
|---|
|  |  |  | <i class="layui-icon layui-icon-tips"></i> | 
|---|
|  |  |  | <span class="icon-text pull-right" lay-tips="WMS 系统运行中......" lay-direction="4" lay-offset="5px,5px"> | 
|---|
|  |  |  | <i class="layui-icon layui-icon-loading-1 layui-anim layui-anim-rotate layui-anim-loop"></i> | 
|---|
|  |  |  | </span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="layui-card-body"> | 
|---|
|  |  |  | <p class="lay-big-font"><span id="usersQty">0</span> <span style="font-size: 24px;line-height: 1;">位</span></p> | 
|---|
|  |  |  | <p>部门<span class="pull-right"><span id="deptQty">0</span> 个</span></p> | 
|---|
|  |  |  | <p>操作次数<span class="pull-right"><span id="optQty">0</span> 次</span></p> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | <div class="layui-col-sm6" style="padding-bottom: 0;"> | 
|---|
|  |  |  | <div class="layui-row layui-col-space15"> | 
|---|
|  |  |  | <div class="layui-col-xs6 layui-col-sm3"> | 
|---|
|  |  |  | <a class="console-app-group" lay-href="mat/mat.html?resourceId=20414" lay-text="产品资料管理"> | 
|---|
|  |  |  | <a class="console-app-group" lay-href="mat/mat.html?resourceId=20414" lay-text="商品资料管理"> | 
|---|
|  |  |  | <i class="console-app-icon layui-icon layui-icon-cart" style="color: #ff9c6e;"></i> | 
|---|
|  |  |  | <div class="console-app-name">商品</div> | 
|---|
|  |  |  | </a> | 
|---|
|  |  |  | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="layui-col-xs6 layui-col-sm3"> | 
|---|
|  |  |  | <div class="console-app-group" lay-href="user/user.html?resourceId=4" lay-text="系统用户"> | 
|---|
|  |  |  | <i class="console-app-icon layui-icon layui-icon-group" style="font-size: 26px;padding-top: 3px;margin-right: 6px;"></i> | 
|---|
|  |  |  | <div class="console-app-name">用户</div> | 
|---|
|  |  |  | <div class="console-app-group" lay-href="custOrder/custOrder.html?resourceId=30442" lay-text="销售订单"> | 
|---|
|  |  |  | <i class="console-app-icon layui-icon layui-icon-templeate-1" style="color: #5cdbd3;font-size: 30px;"></i> | 
|---|
|  |  |  | <div class="console-app-name">订单</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="layui-col-xs6 layui-col-sm3"> | 
|---|
|  |  |  | <div class="console-app-group" lay-href="custOrder/custOrder.html?resourceId=30442" lay-text="销售订单"> | 
|---|
|  |  |  | <div class="console-app-group" lay-href="pakout/pakout.html?resourceId=30435" lay-text="拣货单管理"> | 
|---|
|  |  |  | <i class="console-app-icon layui-icon layui-icon-form" style="color: #b37feb;font-size: 30px;"></i> | 
|---|
|  |  |  | <div class="console-app-name">订单</div> | 
|---|
|  |  |  | <div class="console-app-name">拣货单</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="layui-col-xs6 layui-col-sm3"> | 
|---|
|  |  |  | <div class="console-app-group" lay-href="allo/allo.html?resourceId=20402" lay-text="货位信息"> | 
|---|
|  |  |  | <i class="console-app-icon layui-icon layui-icon-templeate-1" style="color: #5cdbd3;font-size: 36px;"></i> | 
|---|
|  |  |  | <div class="console-app-name">货位</div> | 
|---|
|  |  |  | <div class="console-app-group" lay-href="user/user.html?resourceId=4" lay-text="系统用户"> | 
|---|
|  |  |  | <i class="console-app-icon layui-icon layui-icon-group" style="font-size: 26px;padding-top: 3px;margin-right: 6px;"></i> | 
|---|
|  |  |  | <div class="console-app-name">用户</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <!--                <div class="layui-col-xs6 layui-col-sm3">--> | 
|---|
|  |  |  | <!--                    <div class="console-app-group" lay-href="allo/allo.html?resourceId=20402" lay-text="货位信息">--> | 
|---|
|  |  |  | <!--                        <i class="console-app-icon layui-icon layui-icon-templeate-1" style="color: #5cdbd3;font-size: 36px;"></i>--> | 
|---|
|  |  |  | <!--                        <div class="console-app-name">货位</div>--> | 
|---|
|  |  |  | <!--                    </div>--> | 
|---|
|  |  |  | <!--                </div>--> | 
|---|
|  |  |  | <div class="layui-col-xs6 layui-col-sm3"> | 
|---|
|  |  |  | <div class="console-app-group" lay-href="tag/tag.html?resourceId=20408" lay-text="归类管理"> | 
|---|
|  |  |  | <i class="console-app-icon layui-icon layui-icon-note" | 
|---|
|  |  |  | 
|---|
|  |  |  | <div class="layui-row layui-col-space15"> | 
|---|
|  |  |  | <div class="layui-col-md6"> | 
|---|
|  |  |  | <div class="layui-card"> | 
|---|
|  |  |  | <div class="layui-card-header">组托动态</div> | 
|---|
|  |  |  | <div class="layui-card-header"> | 
|---|
|  |  |  | 组托动态 | 
|---|
|  |  |  | <span class="icon-text pull-right" lay-tips="蓝色代表未入库" lay-direction="4" lay-offset="5px,5px"> | 
|---|
|  |  |  | <i class="layui-icon layui-icon-tips"></i> | 
|---|
|  |  |  | </span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="layui-card-body dynamic-card-body mini-bar" style="height: 265px;"> | 
|---|
|  |  |  | <ul id="combList" class="layui-timeline layui-timeline-dynamic"> | 
|---|
|  |  |  | </ul> | 
|---|
|  |  |  | 
|---|
|  |  |  | <td align="center">滞留天数</td> | 
|---|
|  |  |  | <td align="center">商品编码</td> | 
|---|
|  |  |  | <td align="center">商品名称</td> | 
|---|
|  |  |  | <td align="center">数量</td> | 
|---|
|  |  |  | </tr> | 
|---|
|  |  |  | </thead> | 
|---|
|  |  |  | <tbody id="retentionList"> | 
|---|
|  |  |  | 
|---|
|  |  |  | <col> | 
|---|
|  |  |  | </colgroup> | 
|---|
|  |  |  | <tbody> | 
|---|
|  |  |  | <!--                        <script type="text/html" ew-tpl>--> | 
|---|
|  |  |  | <!--                            <tr>--> | 
|---|
|  |  |  | <!--                                <td>当前版本</td>--> | 
|---|
|  |  |  | <!--                                <td>v{{layui.admin.version}}   <a href="https://easyweb.vip/doc/" target="_blank">更新日志</a>--> | 
|---|
|  |  |  | <!--                                </td>--> | 
|---|
|  |  |  | <!--                            </tr>--> | 
|---|
|  |  |  | <!--                            <tr>--> | 
|---|
|  |  |  | <!--                                <td>基于框架</td>--> | 
|---|
|  |  |  | <!--                                <td>layui-v{{layui.v}}</td>--> | 
|---|
|  |  |  | <!--                            </tr>--> | 
|---|
|  |  |  | <!--                        </script>--> | 
|---|
|  |  |  | <tr> | 
|---|
|  |  |  | <td>系统简称</td> | 
|---|
|  |  |  | <td>仓储管理系统(WMS)</td> | 
|---|
|  |  |  | </tr> | 
|---|
|  |  |  | <tr> | 
|---|
|  |  |  | <td>版本号</td> | 
|---|
|  |  |  | <td>Version 1.0.0</td> | 
|---|
|  |  |  | </tr> | 
|---|
|  |  |  | <tr> | 
|---|
|  |  |  | <td>立库入口</td> | 
|---|
|  |  |  | <td> | 
|---|
|  |  |  | <a href="http://localhost:8080/wms" class="layui-btn layui-btn-sm layui-btn-danger" target="_blank">A-WMS</a> | 
|---|
|  |  |  | <a href="http://localhost:8080/wcs" target="_blank" class="layui-btn layui-btn-sm">WCS</a> | 
|---|
|  |  |  | </td> | 
|---|
|  |  |  | <td>优点特色</td> | 
|---|
|  |  |  | <td>易上手 / 操作效率高 / 数据及时 / 简约</td> | 
|---|
|  |  |  | </tr> | 
|---|
|  |  |  | <tr> | 
|---|
|  |  |  | <td>制作方</td> | 
|---|
|  |  |  | <td><a href="http://www.zoneyung.com" target="_blank">浙江中扬立库技术有限公司</a></td> | 
|---|
|  |  |  | </tr> | 
|---|
|  |  |  | </tbody> | 
|---|
|  |  |  | </table> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="layui-card"> | 
|---|
|  |  |  | <div class="layui-card-header">安全库存警告</div> | 
|---|
|  |  |  | <div class="layui-card-header"> | 
|---|
|  |  |  | 安全库存警告 | 
|---|
|  |  |  | <button class="layui-btn layui-btn-primary layui-btn-xs" style="float: right; margin: 11px 5px 0 0" lay-href="safeSto/safeSto.html?resourceId=30466" lay-text="安全库存">查看更多</button> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="layui-card-body" id="safeQuaList"> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | <div class="layui-carousel admin-carousel admin-news" id="workplaceNewsCarousel"> | 
|---|
|  |  |  | <div carousel-item> | 
|---|
|  |  |  | <div> | 
|---|
|  |  |  | <a href="http://www.layui.com/" target="_blank" | 
|---|
|  |  |  | <a href="http://192.168.110.56:8080/htwms" target="_blank" | 
|---|
|  |  |  | style="color:#fff;background-color: #009688;background-image: linear-gradient(to right,#009688,#5fb878);"> | 
|---|
|  |  |  | layui - 经典模块化前端框架</a> | 
|---|
|  |  |  | ASRS(自动化立体仓库) - WMS</a> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div> | 
|---|
|  |  |  | <a href="http://fly.layui.com/extend/" target="_blank" | 
|---|
|  |  |  | <a href="http://192.168.110.56:8080/htwcs" target="_blank" | 
|---|
|  |  |  | style="color:#fff;background-color: #009fde;background-image: linear-gradient(to right,#009fde,#00beff);"> | 
|---|
|  |  |  | layui第三方组件平台</a> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div> | 
|---|
|  |  |  | <a href="https://fly.layui.com/" target="_blank" | 
|---|
|  |  |  | style="color:#fff;background-color: #34363f;background-image: linear-gradient(to right,#34363f,#676c7c);"> | 
|---|
|  |  |  | layui框架官方社区</a> | 
|---|
|  |  |  | ASRS(自动化立体仓库) - WCS 设备控制中心</a> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | var carousel = layui.carousel; | 
|---|
|  |  |  | var device = layui.device(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | getHeaderData(); | 
|---|
|  |  |  | getBodyData(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | setInterval(function () { | 
|---|
|  |  |  | getHeaderData(); | 
|---|
|  |  |  | getBodyData(); | 
|---|
|  |  |  | }, 3000) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 渲染轮播 | 
|---|
|  |  |  | carousel.render({ | 
|---|
|  |  |  | elem: '#workplaceNewsCarousel', | 
|---|
|  |  |  | 
|---|
|  |  |  | trigger: device.ios || device.android ? 'click' : 'hover', | 
|---|
|  |  |  | anim: 'fade' | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | getHeaderData(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 头 | 
|---|
|  |  |  | function getHeaderData() { | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | $('#usersQty').text(result.usersQty); | 
|---|
|  |  |  | $('#deptQty').text(result.deptQty); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | $('#optQty').text(result.optQty); | 
|---|
|  |  |  | } else if (res.code === 403) { | 
|---|
|  |  |  | top.location.href = baseUrl + "/"; | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | getBodyData(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 头 | 
|---|
|  |  |  | function getBodyData() { | 
|---|
|  |  |  | 
|---|
|  |  |  | var tpl1 = $('#combTpl').html(); | 
|---|
|  |  |  | var template1 = Handlebars.compile(tpl1); | 
|---|
|  |  |  | var html1 = template1(res.data); | 
|---|
|  |  |  | $('#combList').append(html1); | 
|---|
|  |  |  | $('#combList').html(html1); | 
|---|
|  |  |  | // 订单 | 
|---|
|  |  |  | var tpl2 = $('#orderTpl').html(); | 
|---|
|  |  |  | var template2 = Handlebars.compile(tpl2); | 
|---|
|  |  |  | var html2 = template2(res.data); | 
|---|
|  |  |  | $('#pakoutList').append(html2); | 
|---|
|  |  |  | $('#pakoutList').html(html2); | 
|---|
|  |  |  | // 安全库存 | 
|---|
|  |  |  | var tpl3 = $('#safeQuaTpl').html(); | 
|---|
|  |  |  | var template3 = Handlebars.compile(tpl3); | 
|---|
|  |  |  | var html3 = template3(res.data); | 
|---|
|  |  |  | $('#safeQuaList').append(html3); | 
|---|
|  |  |  | $('#safeQuaList').html(html3); | 
|---|
|  |  |  | // 库存滞留 | 
|---|
|  |  |  | var tpl4 = $('#retentionTpl').html(); | 
|---|
|  |  |  | var template4 = Handlebars.compile(tpl4); | 
|---|
|  |  |  | var html4 = template4(res.data); | 
|---|
|  |  |  | $('#retentionList').append(html4); | 
|---|
|  |  |  | $('#retentionList').html(html4); | 
|---|
|  |  |  | } else if (res.code === 403) { | 
|---|
|  |  |  | top.location.href = baseUrl + "/"; | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | 
|---|
|  |  |  | <li class="layui-timeline-item"> | 
|---|
|  |  |  | <i class="layui-icon layui-timeline-axis {{active}}"></i> | 
|---|
|  |  |  | <div class="layui-timeline-content layui-text"> | 
|---|
|  |  |  | <div class="layui-timeline-title">{{matnr}} 并板 {{zpallet}} 数量:{{anfme}} | 
|---|
|  |  |  | <span class="pull-right">{{time}} </span></div> | 
|---|
|  |  |  | <div class="layui-timeline-title"> | 
|---|
|  |  |  | <span title="{{maktx}}">{{matnr}}</span> 并板 <span>{{zpallet}}</span> 托盘, 数量:{{anfme}} | 
|---|
|  |  |  | <span class="pull-right">{{time}} </span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </li> | 
|---|
|  |  |  | {{/each}} | 
|---|
|  |  |  | 
|---|
|  |  |  | <td align="center"> | 
|---|
|  |  |  | <span class="layui-badge-red layui-badge-priority">{{anfme}}</span> | 
|---|
|  |  |  | </td> | 
|---|
|  |  |  | <td><span class="layui-text"><a style="cursor: initial">{{loc_no}} <span style="color: #4c4c4c">出库:</span> <span title="{{maktx}}">{{matnr}}</span></a></span></td> | 
|---|
|  |  |  | <td><span class="layui-text"><a style="cursor: default">{{loc_no}} <span style="color: #4c4c4c">出库:</span> <span title="{{maktx}}" style="cursor: default">{{matnr}}</span></a></span></td> | 
|---|
|  |  |  | <td align="center"> | 
|---|
|  |  |  | <span class="{{style}}"> | 
|---|
|  |  |  | {{wrkStsName}} | 
|---|
|  |  |  | 
|---|
|  |  |  | <td align="center"> | 
|---|
|  |  |  | <span style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">{{maktx}}</span> | 
|---|
|  |  |  | </td> | 
|---|
|  |  |  | <td align="center"><span style="font-weight: bold">{{anfme}}</span></td> | 
|---|
|  |  |  | </tr> | 
|---|
|  |  |  | {{/each}} | 
|---|
|  |  |  | </script> | 
|---|