| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 | 
							- <!DOCTYPE html>
 
- <html>
 
- <head>
 
-     <meta charset="utf-8">
 
-     <title></title>
 
-     <link rel="stylesheet" type="text/css" href="css/main.css">
 
-     <link rel="stylesheet" type="text/css" href="css/jquery-ui.css">
 
-     <link rel="stylesheet" type="text/css" href="css/bpb.css">
 
- </head>
 
- <body onclick="clearEle();" class="bpb_bg">
 
- <div class="bpb_title"></div>
 
- <div class="bpb_content">
 
-     <div class="abs" style="text-align: center;top:2%;width: 100%;letter-spacing: 5px;color: #cdd2fb;font-size: 18px;">
 
-         <span style="position: relative;">订单日期<input value="2025-01-23" readonly="" type="text" style="text-align: center;width: 150px;"><img class="abs" src="image/bpb/CalendarBlank.png" style="left: inherit;right: 5px;"></span>
 
-         <span style="position: relative;">预测周期<input value="10" type="text" style="text-align: center;width: 80px;"> 天</span>
 
-     </div>
 
-     <div class="bpb_orderlist">
 
-         <div class="bpb_order_num fontcolor">订单数:<b>8</b></div>
 
-         <div class="itemlist">
 
-             <div class="bpb_order_item"><div class="no">编号:12345678</div></div>
 
-             <div class="bpb_order_item"><div class="no">编号:12345678</div></div>
 
-             <div class="bpb_order_item"><div class="no">编号:12345678</div></div>
 
-             <div class="bpb_order_item"><div class="no">编号:12345678</div></div>
 
-             <div class="bpb_order_item"><div class="no">编号:12345678</div></div>
 
-             <div class="bpb_order_item"><div class="no">编号:12345678</div></div>
 
-             <div class="bpb_order_item"><div class="no">编号:12345678</div></div>
 
-             <div class="bpb_order_item"><div class="no">编号:12345678</div></div>
 
-         </div>
 
-     </div>
 
-     <div class="pbp_order_app">
 
-         <div class="title fontcolor">订单系统</div>
 
-         <div class="iconlist">
 
-             <img src="image/bpb/o.png" style="z-index: 1">
 
-             <img src="image/bpb/o.png" id="order_app_linkpoint" style="z-index: 2;top: calc(0.7*110px);left: calc(0.7*70px);">
 
-             <img src="image/bpb/o.png" style="z-index: 3;top: calc(0.7*154px);left: calc(0.7*150px);">
 
-         </div>
 
-     </div>
 
-     <div class="abs" id="order_app_line" style="height: 50px;"><img src="image/bpb/v317.png" style="width: 100%;height: 100%;"><img class="abs refresh" src="image/bpb/refresh.png" style="left: 35%;top:8%;"></div>
 
-     <div class="bpb_mt_list">
 
-         <div class="title fontcolor">物料清单</div>
 
-         <div class="title fontcolor" style="left: 360px;top: 94px;">经编产能</div>
 
-         <img class="wlbg" src="image/bpb/wlbg.png">
 
-         <div class="itemlist">
 
-             <div class="bpb_mt_item"><table cellspacing="0" cellpadding="0"><tr><td rowspan="2">单层涤纶毯(成品)</td><td>需求:30T</td></tr><tr><td>库存:35T</td></tr></table><img src="image/bpb/v320.png" class="link_point"><div class="cl"><b class="">10T</b></div></div>
 
-             <div class="bpb_mt_item"><table cellspacing="0" cellpadding="0"><tr><td rowspan="2">单层涤纶毯(成品)</td><td>需求:30T</td></tr><tr><td>库存:35T</td></tr></table><img src="image/bpb/v320.png" class="link_point"><div class="cl"><b class="">10T</b></div></div>
 
-             <div class="bpb_mt_item alarm"><table cellspacing="0" cellpadding="0"><tr><td rowspan="2">单层涤纶毯(成品)</td><td>需求:30T</td></tr><tr><td>库存:35T</td></tr></table><img src="image/bpb/v320.png" class="link_point"><div class="cl"><b class="">10T</b></div></div>
 
-             <div class="bpb_mt_item alarm"><table cellspacing="0" cellpadding="0"><tr><td rowspan="2">单层涤纶毯(成品)</td><td>需求:30T</td></tr><tr><td>库存:35T</td></tr></table><img src="image/bpb/v320.png" class="link_point"><div class="cl"><b class="">10T</b></div></div>
 
-         </div>
 
-     </div>
 
-     <div class="abs" id="order_wl_line" style="width:  calc(0.5*240px);"><img src="image/bpb/v318.png" style="width: 100%;height: 100%;"><img class="abs refresh" src="image/bpb/refresh.png" style="left: 35%;top:8%;"></div>
 
-     <div class="pbp_storage">
 
-         <div class="title fontcolor" style="top: 43px;left: -20px;">仓储</div>
 
-         <div class="iconlist">
 
-             <img src="image/bpb/h.png" style="z-index: 1">
 
-             <img src="image/bpb/h.png" id="storage_app_linkpoint" style="z-index: 2;top: calc(0.7*110px);left: calc(0.7*70px);">
 
-             <img src="image/bpb/h.png" style="z-index: 3;top: calc(0.7*154px);left: calc(0.7*150px);">
 
-         </div>
 
-         <div class="abs" id="storage_wl_line" style="height: 50px;"><img src="image/bpb/v317.png" style="width: 100%;height: 100%;"><img class="abs refresh" src="image/bpb/refresh.png" style="left: 35%;top:100%;width: 36px;height: 36px"></div>
 
-     </div>
 
-     <div class="pbp_plc">
 
-         <div class="title fontcolor" style="top: 43px;left: -20px;">生产</div>
 
-         <div class="iconlist">
 
-             <img src="image/bpb/plc.png" style="z-index: 1">
 
-             <img src="image/bpb/plc.png" id="plc_app_linkpoint" style="z-index: 2;top: calc(0.7*110px);left: calc(0.7*70px);">
 
-             <img src="image/bpb/plc.png" style="z-index: 3;top: calc(0.7*154px);left: calc(0.7*150px);">
 
-         </div>
 
-         <div class="abs" id="plc_wl_line" style="height: 50px;"><img src="image/bpb/v319.png" style="width: 100%;height: 100%;top:0;"><img class="abs refresh" src="image/bpb/refresh.png" style="left: 35%;top:32%;width: 36px;height: 36px"></div>
 
-     </div>    
 
-     <div class="bpb_order_resultlist" style="left:inherit;right: 50px;top:calc(0.7*710px)">
 
-         <div class="itemlist">            
 
-             <div class="bpb_order_item"><div class="no">需求过剩:5T<br>编号:12345678</div></div>
 
-             <div class="bpb_order_item"><div class="no">需求过剩:5T<br>编号:12345678</div></div>
 
-             <div class="bpb_order_item"><div class="no">需求过剩:5T<br>编号:12345678</div></div>
 
-             <div class="bpb_order_item"><div class="no">需求过剩:5T<br>编号:12345678</div></div>
 
-             <div class="bpb_order_item"><div class="no">需求过剩:5T<br>编号:12345678</div></div>
 
-             <div class="bpb_order_item"><div class="no">需求过剩:5T<br>编号:12345678</div></div>
 
-             <div class="bpb_order_item alarm"><div class="no">需求过剩:5T<br>编号:12345678</div></div>
 
-             <div class="bpb_order_item alarm"><div class="no">需求过剩:5T<br>编号:12345678</div></div>
 
-         </div>
 
-         <div class="abs order_result_line"><img src="image/bpb/v320.png" class="link_point"><img class="abs refresh" src="image/bpb/refresh.png" style="left: 35%;top:27%;width: 36px;height: 36px"></div>
 
-     </div>
 
- </div>
 
- </body>
 
- </html>
 
- <!-- 引入qwebchannel.js、Player.js、PlayerUtils.js -->
 
- <script type="text/javascript" src="jquery-3.4.1.js"></script>
 
- <script type="text/javascript" src="jquery-ui.min.js"></script>
 
- <script type="text/javascript" src="echarts.min.js"></script>
 
- <script src="global.js"></script>
 
- <script type="text/javascript" src="template.js"></script>
 
- <script>
 
-      //汉化日期控件
 
-     $.datepicker.regional['zh-CN'] = {
 
-         clearText: '清除',
 
-         clearStatus: '清除已选日期',
 
-         closeText: '关闭',
 
-         closeStatus: '不改变当前选择',
 
-         prevText: '<上月',
 
-         prevStatus: '显示上月',
 
-         prevBigText: '<<',
 
-         prevBigStatus: '显示上一年',
 
-         nextText: '下月>',
 
-         nextStatus: '显示下月',
 
-         nextBigText: '>>',
 
-         nextBigStatus: '显示下一年',
 
-         currentText: '今天',
 
-         currentStatus: '显示本月',
 
-         monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
 
-         monthNamesShort: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'],
 
-         monthStatus: '选择月份',
 
-         yearStatus: '选择年份',
 
-         weekHeader: '周',
 
-         weekStatus: '年内周次',
 
-         dayNames: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
 
-         dayNamesShort: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
 
-         dayNamesMin: ['日', '一', '二', '三', '四', '五', '六'],
 
-         dayStatus: '设置 DD 为一周起始',
 
-         dateStatus: '选择 m月 d日, DD',
 
-         dateFormat: 'yy-mm-dd',
 
-         firstDay: 1,
 
-         initStatus: '请选择日期',
 
-         isRTL: false
 
-     };
 
-     $(document).ready(function () {
 
-         $.datepicker.setDefaults($.datepicker.regional['zh-CN']);  //设置日期控制语言
 
-         $("#datepicker1").datepicker({
 
-             dateFormat: "yy-mm-dd",
 
-             showOn: "button",
 
-             buttonText: "选择日期",
 
-             changeMonth: true,
 
-             changeYear: true,
 
-             numberOfMonths: 1,
 
-             rangeSelect: true,
 
-             onClose: function (selectedDate) {
 
-                 $("#datepicker2").datepicker("option", "minDate", selectedDate);
 
-                 $("#datepicker2").val('');
 
-                 var isNowDay = selectedDate==new Date().Format("yyyy-MM-dd");
 
-                 var hour1Opts = [];
 
-                 var nowHour = new Date().Format("h");
 
-                 for (var i = 0; i < 24; i++) {
 
-                     if( !isNowDay || (isNowDay && i<=nowHour)) hour1Opts.push('<option value="' + i + '">' + i + ' 时</option>');
 
-                 }
 
-                 $("#hour1,#hourP1").html(hour1Opts.join(''))
 
-             }
 
-         });
 
-         $("#datepicker2").datepicker({
 
-             dateFormat: "yy-mm-dd",
 
-             showOn: "button",
 
-             buttonText: "选择日期",
 
-             changeMonth: true,
 
-             changeYear: true,
 
-             numberOfMonths: 1,
 
-             rangeSelect: true,
 
-             defaultDate: new Date().Format("yyyy-MM-dd"),
 
-             onClose:function(selectedDate){
 
-                 var isNowDay = selectedDate==new Date().Format("yyyy-MM-dd");
 
-                 var hour2Opts = [];
 
-                 var nowHour = new Date().Format("h");
 
-                 for (var i = 0; i < 24; i++) {
 
-                     if( !isNowDay || (isNowDay && i<=nowHour)) hour2Opts.push('<option value="' + i + '">' + i + ' 时</option>');
 
-                 }
 
-                 $("#hour2,#hourP2").html(hour2Opts.join(''))
 
-             }
 
-         });
 
-         //日期不能超过当前日期
 
-         //$("#datepicker1,#datepicker2").datepicker("option", "maxDate", new Date().Format("yyyy-MM-dd"));
 
-         $("#date_select,#ui-datepicker-div,#day_select").on("click", function (e) {
 
-             e.stopPropagation();
 
-         });
 
-         //$(".bpb_content").height($(window).height()-$(".bpb_title").height());
 
-         $(".bpb_content .bpb_orderlist .itemlist .bpb_order_item").each(function(ind,obj){
 
-             var $this = $(this);
 
-             $this.css({"left":'0px',"top":(ind*30)+'px',"z-index":100-ind});
 
-         })
 
-         var lastitem  =$(".bpb_content .bpb_orderlist .itemlist .bpb_order_item:last");
 
-         var orderH = lastitem.height()+lastitem.position().top;
 
-         $(".bpb_content .bpb_orderlist").height(orderH);
 
-         $(".pbp_order_app").css({"top":lastitem.position().top+lastitem.height()/2+"px"});
 
-         var tmpele = $("#order_app_linkpoint");
 
-         $("#order_app_line").css({"left":(tmpele.offset().left+tmpele.width()/2+30)+"px","top":tmpele.offset().top-tmpele.height()-30+"px"});
 
-         $("#order_wl_line").css({"top":lastitem.offset().top-lastitem.height()/4+"px","left":lastitem.offset().left+lastitem.width()+"px"});
 
-         var $bpb_mt_list = $(".bpb_mt_list");
 
-         $(".pbp_storage").css({"top":$bpb_mt_list.position().top+$bpb_mt_list.height()-60+"px","left":$bpb_mt_list.offset().left-120+"px"});
 
-         var tmpele = $("#storage_app_linkpoint");
 
-         $("#storage_wl_line").css({"left":(tmpele.position().left+tmpele.width()/2+30)+"px","top":tmpele.position().top-tmpele.height()-30+"px","width":(0.7*130)+"px","height":(0.7*80)+"px"});
 
-         $(".bpb_mt_list .itemlist .bpb_mt_item").each(function(ind,obj){
 
-             var $this = $(this);
 
-             $this.css({"left":272+(ind*-53)+'px',"top":11+(ind*30)+'px',"z-index":100-ind});
 
-             var $linkline = $this.find(".link_point").css({"left":$this.width()-16+'px',"top":$this.height()-13+'px',"z-index":100-ind});
 
-             $this.find(".cl").css({"left":$this.width()+$linkline.width()-40+'px',"top":$this.height()+$linkline.height()-46+'px',"z-index":100-ind});
 
-         });
 
-         var $bpb_mt_lastitem = $(".bpb_mt_list .bpb_mt_item:last .cl");
 
-         $(".pbp_plc").css({"top":$bpb_mt_lastitem.offset().top+$bpb_mt_lastitem.height()-60+"px","left":$bpb_mt_lastitem.offset().left-200+"px"});
 
-         var tmpele = $("#plc_app_linkpoint");
 
-         $("#plc_wl_line").css({"left":(tmpele.position().left+tmpele.width()/2+30)+"px","top":tmpele.position().top-tmpele.height()-30+"px","width":(0.7*132)+"px","height":(0.7*173)+"px"});
 
-         //需求预测结果
 
-         var orderList = $(".bpb_content .bpb_order_resultlist .itemlist .bpb_order_item");
 
-         orderList.each(function(ind,obj){
 
-             var $this = $(this);
 
-             $this.css({"left":'0px',"top":(ind*-37)+'px',"z-index":1+ind});
 
-         });
 
-         var $order_result_line = $(".order_result_line");
 
-         var orderCount = orderList.length;
 
-         if(orderCount>3) orderCount=3;
 
-         var tmpTop = orderList.eq(0).height()*0.7+((orderCount-1)*30);
 
-         $order_result_line.css({"left":"inherit","right":$(".bpb_content .bpb_order_resultlist").width()+25+"px","top":tmpTop*-1+"px"})
 
-     });
 
-     function clearEle(){
 
-         
 
-     }
 
-     function GetData() {
 
-             $.getJSON(SERVER_URL + "/index", {}, function (res) {
 
-                 setTimeout(function () {
 
-                     //每60秒主动查询一次数据
 
-                     GetData()
 
-                 }, INDEX_TIMEOUT);
 
-                 if (res == null || res.code != 0) {
 
-                     return
 
-                 }
 
-                 var jsondata = res.data;
 
-             })
 
-     }
 
-     //关闭窗口
 
-     function CloseWin() {
 
-     }
 
- </script>
 
 
  |