欧伦电气WMS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

2 lines
69 KiB

webpackJsonp([1],{"40xU":function(t,s){},"5zde":function(t,s,e){e("zQR9"),e("qyJz"),t.exports=e("FeBl").Array.from},C2bh:function(t,s){},Gu7T:function(t,s,e){"use strict";s.__esModule=!0;var a,i=e("c/Tr"),l=(a=i)&&a.__esModule?a:{default:a};s.default=function(t){if(Array.isArray(t)){for(var s=0,e=Array(t.length);s<t.length;s++)e[s]=t[s];return e}return(0,l.default)(t)}},IMWf:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=e("Xxa5"),i=e.n(a),l=e("Gu7T"),_=e.n(l),o=e("exGp"),r=e.n(o),n={components:{THeader:e("Cz8s").a},data:function(){return{interTime:this.$store.getters.setTime,intervalId:null,materList:[],historyList:[],myChart10:null,myChart11:null,myChart12:null,myChart13:null,myChart14:null,myChart2:null,myChart4:null,lx_in_week:[],lx_out_week:[],lx_inventory:[],pointUse:{},toDayInAndOut:{},inw:"0",inqty1:"0",outw:"0",outqty1:"0",resDataArr:[]}},created:function(){var t={baseUrl:this.$store.getters.baseUrl,setTime:this.$store.getters.setTime,setJxtTime:this.$store.getters.setJxtTime,pageNo:this.$store.getters.pageNo,iskb:"02"};this.$store.dispatch("setConfig",t),this._synthesizeInfo(),this.timerFun(this._synthesizeInfo,this.interTime)()},mounted:function(){},destroyed:function(){},methods:{getPercentage:function(t,s){return 0===Number(s)?0:(t/s*100).toFixed(2)+"%"},timerFun:function(t,s){var e=this;return function a(){clearTimeout(e.intervalId),e.intervalId=setTimeout(function(){t(),a()},s)}},_synthesizeInfo:function(){var t=this;return r()(i.a.mark(function s(){var e;return i.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,t.$store.getters.secCode,{totalElements:2,content:[{toDayInAndOut:{in:{total_qty:0,vehicle_qty:0},out:{total_qty:0,vehicle_qty:0}},unIos:[{iostorinv_id:"1942767928353099776",bill_code:"OUT20250709000",io_type:"出库",bill_type:"dict.getLabel()",biz_date:"2025-07-09",stor_id:"1582991156504039424",stor_code:"GW",stor_name:"高位库",source_id:null,source_name:null,source_type:null,total_qty:1,total_weight:null,detail_count:1,bill_status:"生成",remark:"",create_mode:"1",input_optid:"1",input_optname:"admin",input_time:"2025-07-09 10:09:03",update_optid:"1",update_optname:"admin",update_time:"2025-07-09 10:09:03",dis_optid:null,dis_optname:null,dis_time:null,confirm_optid:null,confirm_optname:null,confirm_time:null,sysdeptid:null,syscompanyid:null,is_delete:"0",is_upload:"0",upload_optid:null,upload_time:null},{iostorinv_id:"1944572402453319680",bill_code:"IN20250714001",io_type:"入库",bill_type:"dict.getLabel()",biz_date:"2025-07-14",stor_id:"1582991156504039424",stor_code:"GW",stor_name:"高位库",source_id:null,source_name:null,source_type:null,total_qty:0,total_weight:null,detail_count:1,bill_status:"分配完",remark:"",create_mode:"1",input_optid:"1",input_optname:"admin",input_time:"2025-07-14 09:39:23",update_optid:"1",update_optname:"admin",update_time:"2025-07-14 09:41:20",dis_optid:null,dis_optname:null,dis_time:null,confirm_optid:null,confirm_optname:null,confirm_time:null,sysdeptid:"1",syscompanyid:"1",is_delete:"0",is_upload:"0",upload_optid:null,upload_time:null}],realTask:[],ivtAnalyse:{data:[{ivt_qty:1120,percentage:0,material_name:"电源线"},{ivt_qty:2221,percentage:0,material_name:"漏保电源线"}],total_qty:3341},inAndOutTrend:{in:[{date:"2025-07-09",qty:0},{date:"2025-07-10",qty:1131},{date:"2025-07-11",qty:10},{date:"2025-07-12",qty:0},{date:"2025-07-13",qty:2231},{date:"2025-07-14",qty:1110},{date:"2025-07-15",qty:0}],out:[{date:"2025-07-09",qty:0},{date:"2025-07-10",qty:10},{date:"2025-07-11",qty:22},{date:"2025-07-12",qty:0},{date:"2025-07-13",qty:0},{date:"2025-07-14",qty:0},{date:"2025-07-15",qty:0}]},title:"GW仓库",pointUse:{emp_qty:3,total_qty:9,use_percentage:66.67,use_qty:6}},{toDayInAndOut:{in:{total_qty:0,vehicle_qty:0},out:{total_qty:0,vehicle_qty:0}},unIos:[{iostorinv_id:"1942767928353099776",bill_code:"OUT20250709000",io_type:"出库",bill_type:"dict.getLabel()",biz_date:"2025-07-09",stor_id:"1582991156504039424",stor_code:"GW",stor_name:"高位库",source_id:null,source_name:null,source_type:null,total_qty:1,total_weight:null,detail_count:1,bill_status:"生成",remark:"",create_mode:"1",input_optid:"1",input_optname:"admin",input_time:"2025-07-09 10:09:03",update_optid:"1",update_optname:"admin",update_time:"2025-07-09 10:09:03",dis_optid:null,dis_optname:null,dis_time:null,confirm_optid:null,confirm_optname:null,confirm_time:null,sysdeptid:null,syscompanyid:null,is_delete:"0",is_upload:"0",upload_optid:null,upload_time:null},{iostorinv_id:"1944572402453319680",bill_code:"IN20250714001",io_type:"入库",bill_type:"dict.getLabel()",biz_date:"2025-07-14",stor_id:"1582991156504039424",stor_code:"GW",stor_name:"高位库",source_id:null,source_name:null,source_type:null,total_qty:0,total_weight:null,detail_count:1,bill_status:"分配完",remark:"",create_mode:"1",input_optid:"1",input_optname:"admin",input_time:"2025-07-14 09:39:23",update_optid:"1",update_optname:"admin",update_time:"2025-07-14 09:41:20",dis_optid:null,dis_optname:null,dis_time:null,confirm_optid:null,confirm_optname:null,confirm_time:null,sysdeptid:"1",syscompanyid:"1",is_delete:"0",is_upload:"0",upload_optid:null,upload_time:null}],realTask:[],ivtAnalyse:{data:[{ivt_qty:1120,percentage:0,material_name:"电源线"},{ivt_qty:2221,percentage:0,material_name:"漏保电源线"}],total_qty:3341},inAndOutTrend:{in:[{date:"2025-07-09",qty:0},{date:"2025-07-10",qty:1131},{date:"2025-07-11",qty:10},{date:"2025-07-12",qty:0},{date:"2025-07-13",qty:2231},{date:"2025-07-14",qty:1110},{date:"2025-07-15",qty:0}],out:[{date:"2025-07-09",qty:0},{date:"2025-07-10",qty:10},{date:"2025-07-11",qty:22},{date:"2025-07-12",qty:0},{date:"2025-07-13",qty:0},{date:"2025-07-14",qty:0},{date:"2025-07-15",qty:0}]},title:"GW仓库",pointUse:{emp_qty:3,total_qty:9,use_percentage:66.67,use_qty:6}}],code:"200",msg:"查询成功",data:null};case 2:e=s.sent,t.resDataArr=e.data,t.resDataArr.forEach(function(s,e){console.log(s,e,666),t.setEchart1(s,e)}),t.pointUse=e.data[0].pointUse,t.toDayInAndOut=e.data[0].toDayInAndOut,t.inw=t.getPercentage(t.toDayInAndOut.in.vehicle_qty,t.toDayInAndOut.in.total_qty),t.inqty1=t.toDayInAndOut.in.total_qty,t.outw=t.getPercentage(t.toDayInAndOut.out.vehicle_qty,t.toDayInAndOut.out.total_qty),t.outqty1=t.toDayInAndOut.out.total_qty,t.lx_in_week=[].concat(_()(e.data[0].inAndOutTrend.in)),t.lx_out_week=[].concat(_()(e.data[0].inAndOutTrend.out)),t.lx_inventory=e.data[0].ivtAnalyse;case 14:case"end":return s.stop()}},s,t)}))()},setEchart1:function(t,s){console.log(t,s,777);var e=["rgba(15, 45, 115, .1)","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"],a=["#1980EA","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)"],i=t.ivtAnalyse.data;i.map(function(t){t.value=t.ivt_qty,t.name=t.material_name});var l={color:["#1980EA","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"],grid:{top:0,left:0,right:0,bottom:0,containLabel:!0},title:{left:"50%",top:"50%",text:"{a|总数}\n{b|"+t.ivtAnalyse.total_qty+"}",textAlign:"center",textVerticalAlign:"middle",padding:0,textStyle:{rich:{a:{fontSize:12,lineHeight:18,color:"#A8C3E6"},b:{fontSize:17,lineHeight:17,fontWeight:"bold",color:"#DBE7F6"}}}},series:[{name:"内层实心圆",type:"pie",hoverOffset:0,radius:"58%",center:["50%","50%"],startAngle:270,label:{show:!1},itemStyle:{borderColor:"#2C4E6E",borderWidth:6,color:"#132942"},data:[{value:0}]},{name:"外层空心圆",type:"pie",hoverOffset:0,radius:["97%","97%"],center:["50%","50%"],startAngle:270,label:{show:!1},itemStyle:{borderColor:"#4677B8",borderWidth:1},data:[{value:0}]},{name:"设备运行统计内圈",type:"pie",radius:["70%","80%"],center:["50%","50%"],startAngle:270,labelLine:{show:!1},tooltip:{show:!1},itemStyle:{borderColor:"rgba(15, 45, 115, .1)",borderWidth:1,color:function(t){return e[t.dataIndex]}},label:{show:!1},data:i},{name:"设备运行统计外圈",type:"pie",radius:["80%","90%"],center:["50%","50%"],startAngle:270,labelLine:{show:!1},tooltip:{show:!1},itemStyle:{borderColor:"rgba(15, 45, 115, .1)",borderWidth:1,color:function(t){return a[t.dataIndex]}},label:{show:!1},data:i}]};0===s&&(console.log(22222),this.$echarts.init(this.$refs.echartsRef10).setOption(l,!0),console.log(33)),1===s&&this.$echarts.init(this.$refs.echartsRef11).setOption(l,!0)},setEchart2:function(){var t=[],s=[],e=[];this.lx_in_week.map(function(t){s.push(t.qty)}),this.lx_out_week.map(function(s){t.push(s.date),e.push(s.qty)});var a={grid:{top:30,left:0,right:0,bottom:0,containLabel:!0},legend:{icon:"rect",top:"0",right:"0",textStyle:{color:"#9BB9DD",fontSize:12,lineHeight:16},itemGap:16,itemWidth:8,itemHeight:8,data:[{name:"入库",itemStyle:{color:"#67D470"}},{name:"出库",itemStyle:{color:"#1980EA"}}]},xAxis:{type:"category",axisTick:{show:!1},axisLine:{show:!0,lineStyle:{width:1,color:"#3C5787"}},axisLabel:{interval:0,rotate:45,color:"#7591B2",fontSize:12,lineHeight:12},data:t},yAxis:{type:"value",axisLine:{show:!1},splitNumber:4,axisTick:{show:!1},axisLabel:{color:"#B5C5D4",fontSize:12},splitLine:{show:!0,lineStyle:{type:[2,1],color:"#455C86"}}},series:[{name:"入库",type:"line",showSymbol:!1,itemStyle:{color:"#67D470",lineStyle:{color:"#67D470",width:1}},areaStyle:{color:new this.$echarts.graphic.LinearGradient(0,1,0,0,[{offset:0,color:"rgba(103,212,112,0.1)"},{offset:1,color:"rgba(103,212,112,0.74)"}])},data:s},{name:"出库",type:"line",showSymbol:!1,itemStyle:{color:"#58A2E3",lineStyle:{color:"#58A2E3",width:1}},areaStyle:{color:new this.$echarts.graphic.LinearGradient(0,1,0,0,[{offset:0,color:"rgba(45,144,255,0)"},{offset:1,color:"rgba(45,144,255,0.85)"}])},data:e}]};this.myChart2.setOption(a,!0)}}},c={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"box relative"},[e("t-header",{attrs:{type:"1",title1:"仓储监控",title2:" "}}),t._v(" "),e("div",{staticClass:"box body_container"},t._l(t.resDataArr,function(s,a){return e("div",{key:a,staticClass:"acon"},[t._m(0,!0),t._v(" "),e("div",{staticClass:"zd-row wraper_1 mgb8"},[e("div",{staticClass:"box zd-col-7 mgr8"},[e("div",{staticClass:"relative wraper_2 mgb8"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("货位使用")]),t._v(" "),e("div",{staticClass:"zd-row wraper_4"},[e("div",{staticClass:"box percent_item"},[e("p",[t._v(t._s(s.pointUse.use_percentage))])]),t._v(" "),e("div",{staticClass:"box zd-col-16 zd-row flexcol jccenter"},[e("div",{staticClass:"zd-row mgb8"},[e("p",{staticClass:"zd-col-8 item_label"},[t._v("总货位数")]),t._v(" "),e("p",{staticClass:"zd-col-16 item_value"},[t._v(t._s(s.pointUse.total_qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])]),t._v(" "),e("div",{staticClass:"zd-row mgb8"},[e("p",{staticClass:"zd-col-8 item_label"},[t._v("已用货位")]),t._v(" "),e("p",{staticClass:"zd-col-16 item_value"},[t._v(t._s(s.pointUse.use_qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])]),t._v(" "),e("div",{staticClass:"zd-row"},[e("p",{staticClass:"zd-col-8 item_label"},[t._v("空余货位")]),t._v(" "),e("p",{staticClass:"zd-col-16 item_value"},[t._v(t._s(s.pointUse.emp_qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])])])])]),t._v(" "),e("div",{staticClass:"relative wraper_2"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("今日出入库")]),t._v(" "),e("div",{staticClass:"wraper_4 zd-row flexcol jccenter"},[e("div",{staticClass:"zd-row flexstart mgb8"},[e("div",{staticClass:"zd-col-3 item_label"},[t._v("入库")]),t._v(" "),e("div",{staticClass:"zd-col-21"},[e("div",{staticClass:"percent_line"},[e("div",{staticClass:"percent_i",style:{width:t.getPercentage(s.toDayInAndOut.in.vehicle_qty,s.toDayInAndOut.in.total_qty)}})]),t._v(" "),e("div",{staticClass:"zd-row"},[e("p",{staticClass:"item_label font_2"},[t._v("总数量 : "),e("span",{staticClass:"c_y"},[t._v(t._s(s.toDayInAndOut.in.total_qty))])])])])]),t._v(" "),e("div",{staticClass:"zd-row flexstart"},[e("div",{staticClass:"zd-col-3 item_label"},[t._v("出库")]),t._v(" "),e("div",{staticClass:"zd-col-21"},[e("div",{staticClass:"percent_line percent_line_c"},[e("div",{staticClass:"percent_i percent_i_c",style:{width:t.getPercentage(s.toDayInAndOut.out.vehicle_qty,s.toDayInAndOut.out.total_qty)}})]),t._v(" "),e("div",{staticClass:"zd-row"},[e("p",{staticClass:"item_label font_2"},[t._v("总数量 : "),e("span",{staticClass:"c_y"},[t._v(t._s(s.toDayInAndOut.out.total_qty))])])])])])])])]),t._v(" "),e("div",{staticClass:"box zd-col-10 mgr8"},[e("div",{staticClass:"relative wraper_2 wraper_3"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("实时库存分析")]),t._v(" "),e("div",{staticClass:"zd-row wraper_4"},[e("div",{staticClass:"box zd-col-8 mgr8"},[e("div",{ref:"echartsRef1"+(a+1),refInFor:!0,staticStyle:{width:"100%",height:"100%"}})]),t._v(" "),e("div",{staticClass:"box zd-col-16 zd-row flexwrap jcflexstart aligncenter flexstart"},t._l(s.ivtAnalyse.data,function(s,a){return e("div",{key:a,staticClass:"zd-col-12 zd-row flexstart pie_item_wrap"},[e("div",{staticClass:"zd-col-3 pie_legend_icon",style:{backgroundColor:["#1980EA","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"][a]}}),t._v(" "),e("div",{staticClass:"zd-col-21"},[e("p",{staticClass:"pie_legend_txt_1"},[t._v(t._s(s.material_name))]),t._v(" "),e("div",{staticClass:"zd-row jcflexstart"},[e("p",{staticClass:"pie_legend_txt_2"},[t._v(t._s(s.ivt_qty))]),t._v(" "),e("p",{staticClass:"pie_legend_txt_3"},[t._v(t._s(s.percentage))])])])])}))])])]),t._v(" "),e("div",{staticClass:"box zd-col-7"},[e("div",{staticClass:"relative wraper_2 wraper_3"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("出入库趋势")]),t._v(" "),e("div",{staticClass:"zd-row wraper_4"},[e("div",{ref:"echartsRef2",refInFor:!0,staticStyle:{width:"100%",height:"100%"}})])])])])])}))],1)},staticRenderFns:[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"relative b_title"},[s("span",{staticClass:"absolute sj_icon"}),this._v(" "),s("p",[this._v("仓储使用情况")])])}]};var d=e("VU/8")(n,c,!1,function(t){e("C2bh")},"data-v-7b8761e5",null);s.default=d.exports},P6V6:function(t,s){},SH0T:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=e("Xxa5"),i=e.n(a),l=e("Gu7T"),_=e.n(l),o=e("exGp"),r=e.n(o),n=e("Cz8s"),c=e("4ijW"),d={components:{THeader:n.a},data:function(){return{interTime:this.$store.getters.setTime,intervalId:null,materList:[],historyList:[],myChart1:null,myChart2:null,myChart4:null,taskList:[],billList:[],lx_in_week:[],lx_out_week:[],lx_inventory:[],pointUse:{},toDayInAndOut:{},inw:"0",inqty1:"0",outw:"0",outqty1:"0"}},computed:{defaultOption1:function(){return{step:.3,limitMoveNum:55,hoverStop:!0,direction:1,openWatch:!0,singleHeight:0,singleWidth:0,waitTime:5e3}}},created:function(){var t={baseUrl:this.$store.getters.baseUrl,setTime:this.$store.getters.setTime,setJxtTime:this.$store.getters.setJxtTime,pageNo:this.$store.getters.pageNo,iskb:"02"};this.$store.dispatch("setConfig",t),console.log(1111),this._synthesizeInfo(),this.timerFun(this._synthesizeInfo,this.interTime)()},mounted:function(){this.myChart1=this.$echarts.init(this.$refs.echartsRef1),this.myChart2=this.$echarts.init(this.$refs.echartsRef2)},destroyed:function(){null!==this.intervalId&&(clearTimeout(this.intervalId),this.intervalId=null),null!==this.myChart1&&(this.myChart1.dispose(),this.myChart1=null),null!==this.myChart2&&(this.myChart2.dispose(),this.myChart2=null)},methods:{getPercentage:function(t,s){return 0===Number(s)?0:(t/s*100).toFixed(2)+"%"},timerFun:function(t,s){var e=this;return function a(){clearTimeout(e.intervalId),e.intervalId=setTimeout(function(){t(),a()},s)}},_synthesizeInfo:function(){var t=this;return r()(i.a.mark(function s(){var e;return i.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,Object(c.c)();case 2:e=s.sent,t.pointUse=e.data.pointUse,t.toDayInAndOut=e.data.toDayInAndOut,t.inw=t.getPercentage(t.toDayInAndOut.in.vehicle_qty,t.toDayInAndOut.in.total_qty),t.inqty1=t.toDayInAndOut.in.total_qty,t.outw=t.getPercentage(t.toDayInAndOut.out.vehicle_qty,t.toDayInAndOut.out.total_qty),t.outqty1=t.toDayInAndOut.out.total_qty,t.lx_in_week=[].concat(_()(e.data.inAndOutTrend.in)),t.lx_out_week=[].concat(_()(e.data.inAndOutTrend.out)),t.lx_inventory=e.data.ivtAnalyse,t.taskList=[].concat(_()(e.data.realTask)),t.billList=[].concat(_()(e.data.unIos)),t.setEchart1(),t.setEchart2();case 16:case"end":return s.stop()}},s,t)}))()},setEchart1:function(){var t=["rgba(15, 45, 115, .1)","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"],s=["#1980EA","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)"],e=this.lx_inventory.data;e.map(function(t){t.value=t.ivt_qty,t.name=t.material_name});var a={color:["#1980EA","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"],grid:{top:0,left:0,right:0,bottom:0,containLabel:!0},title:{left:"50%",top:"50%",text:"{a|总数}\n{b|"+this.lx_inventory.total_qty+"}",textAlign:"center",textVerticalAlign:"middle",padding:0,textStyle:{rich:{a:{fontSize:12,lineHeight:18,color:"#A8C3E6"},b:{fontSize:17,lineHeight:17,fontWeight:"bold",color:"#DBE7F6"}}}},series:[{name:"内层实心圆",type:"pie",hoverOffset:0,radius:"58%",center:["50%","50%"],startAngle:270,label:{show:!1},itemStyle:{borderColor:"#2C4E6E",borderWidth:6,color:"#132942"},data:[{value:0}]},{name:"外层空心圆",type:"pie",hoverOffset:0,radius:["97%","97%"],center:["50%","50%"],startAngle:270,label:{show:!1},itemStyle:{borderColor:"#4677B8",borderWidth:1},data:[{value:0}]},{name:"设备运行统计内圈",type:"pie",radius:["70%","80%"],center:["50%","50%"],startAngle:270,labelLine:{show:!1},tooltip:{show:!1},itemStyle:{borderColor:"rgba(15, 45, 115, .1)",borderWidth:1,color:function(s){return t[s.dataIndex]}},label:{show:!1},data:e},{name:"设备运行统计外圈",type:"pie",radius:["80%","90%"],center:["50%","50%"],startAngle:270,labelLine:{show:!1},tooltip:{show:!1},itemStyle:{borderColor:"rgba(15, 45, 115, .1)",borderWidth:1,color:function(t){return s[t.dataIndex]}},label:{show:!1},data:e}]};this.myChart1.setOption(a,!0)},setEchart2:function(){var t=[],s=[],e=[];this.lx_in_week.map(function(t){s.push(t.qty)}),this.lx_out_week.map(function(s){t.push(s.date),e.push(s.qty)});var a={grid:{top:30,left:0,right:0,bottom:0,containLabel:!0},legend:{icon:"rect",top:"0",right:"0",textStyle:{color:"#9BB9DD",fontSize:12,lineHeight:16},itemGap:16,itemWidth:8,itemHeight:8,data:[{name:"入库",itemStyle:{color:"#67D470"}},{name:"出库",itemStyle:{color:"#1980EA"}}]},xAxis:{type:"category",axisTick:{show:!1},axisLine:{show:!0,lineStyle:{width:1,color:"#3C5787"}},axisLabel:{interval:0,rotate:45,color:"#7591B2",fontSize:12,lineHeight:12},data:t},yAxis:{type:"value",axisLine:{show:!1},splitNumber:4,axisTick:{show:!1},axisLabel:{color:"#B5C5D4",fontSize:12},splitLine:{show:!0,lineStyle:{type:[2,1],color:"#455C86"}}},series:[{name:"入库",type:"line",showSymbol:!1,itemStyle:{color:"#67D470",lineStyle:{color:"#67D470",width:1}},areaStyle:{color:new this.$echarts.graphic.LinearGradient(0,1,0,0,[{offset:0,color:"rgba(103,212,112,0.1)"},{offset:1,color:"rgba(103,212,112,0.74)"}])},data:s},{name:"出库",type:"line",showSymbol:!1,itemStyle:{color:"#58A2E3",lineStyle:{color:"#58A2E3",width:1}},areaStyle:{color:new this.$echarts.graphic.LinearGradient(0,1,0,0,[{offset:0,color:"rgba(45,144,255,0)"},{offset:1,color:"rgba(45,144,255,0.85)"}])},data:e}]};this.myChart2.setOption(a,!0)}}},v={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"box relative"},[e("t-header",{attrs:{type:"1",title1:"仓储监控",title2:" "}}),t._v(" "),e("div",{staticClass:"box body_container"},[t._m(0),t._v(" "),e("div",{staticClass:"zd-row wraper_1 mgb8"},[e("div",{staticClass:"box zd-col-7 mgr8"},[e("div",{staticClass:"relative wraper_2 mgb8"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("货位使用")]),t._v(" "),e("div",{staticClass:"zd-row wraper_4"},[e("div",{staticClass:"box percent_item"},[e("p",[t._v(t._s(t.pointUse.use_percentage)+"%")])]),t._v(" "),e("div",{staticClass:"box zd-col-16 zd-row flexcol jccenter"},[e("div",{staticClass:"zd-row mgb8"},[e("p",{staticClass:"zd-col-8 item_label"},[t._v("总货位数")]),t._v(" "),e("p",{staticClass:"zd-col-16 item_value"},[t._v(t._s(t.pointUse.total_qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])]),t._v(" "),e("div",{staticClass:"zd-row mgb8"},[e("p",{staticClass:"zd-col-8 item_label"},[t._v("已用货位")]),t._v(" "),e("p",{staticClass:"zd-col-16 item_value"},[t._v(t._s(t.pointUse.use_qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])]),t._v(" "),e("div",{staticClass:"zd-row"},[e("p",{staticClass:"zd-col-8 item_label"},[t._v("空余货位")]),t._v(" "),e("p",{staticClass:"zd-col-16 item_value"},[t._v(t._s(t.pointUse.emp_qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])])])])]),t._v(" "),e("div",{staticClass:"relative wraper_2"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("今日出入库")]),t._v(" "),e("div",{staticClass:"wraper_4 zd-row flexcol jccenter"},[e("div",{staticClass:"zd-row flexstart mgb8"},[e("div",{staticClass:"zd-col-3 item_label"},[t._v("入库")]),t._v(" "),e("div",{staticClass:"zd-col-21"},[e("div",{staticClass:"percent_line"},[e("div",{staticClass:"percent_i",style:{width:t.inw}})]),t._v(" "),e("div",{staticClass:"zd-row"},[e("p",{staticClass:"item_label font_2"},[t._v("总数量 : "),e("span",{staticClass:"c_y"},[t._v(t._s(t.inqty1))])])])])]),t._v(" "),e("div",{staticClass:"zd-row flexstart"},[e("div",{staticClass:"zd-col-3 item_label"},[t._v("出库")]),t._v(" "),e("div",{staticClass:"zd-col-21"},[e("div",{staticClass:"percent_line percent_line_c"},[e("div",{staticClass:"percent_i percent_i_c",style:{width:t.outw}})]),t._v(" "),e("div",{staticClass:"zd-row"},[e("p",{staticClass:"item_label font_2"},[t._v("总数量 : "),e("span",{staticClass:"c_y"},[t._v(t._s(t.outqty1))])])])])])])])]),t._v(" "),e("div",{staticClass:"box zd-col-10 mgr8"},[e("div",{staticClass:"relative wraper_2 wraper_3"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("实时库存分析")]),t._v(" "),e("div",{staticClass:"zd-row wraper_4"},[e("div",{staticClass:"box zd-col-8 mgr8"},[e("div",{ref:"echartsRef1",staticStyle:{width:"100%",height:"100%"}})]),t._v(" "),e("div",{staticClass:"box zd-col-16 zd-row flexwrap jcflexstart aligncenter flexstart"},t._l(t.lx_inventory.data,function(s,a){return e("div",{key:a,staticClass:"zd-col-12 zd-row flexstart pie_item_wrap"},[e("div",{staticClass:"zd-col-3 pie_legend_icon",style:{backgroundColor:["#1980EA","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"][a]}}),t._v(" "),e("div",{staticClass:"zd-col-21"},[e("p",{staticClass:"pie_legend_txt_1"},[t._v(t._s(s.material_name))]),t._v(" "),e("div",{staticClass:"zd-row jcflexstart"},[e("p",{staticClass:"pie_legend_txt_2"},[t._v(t._s(s.ivt_qty))]),t._v(" "),e("p",{staticClass:"pie_legend_txt_3"},[t._v(t._s(s.percentage))])])])])}))])])]),t._v(" "),e("div",{staticClass:"box zd-col-7"},[e("div",{staticClass:"relative wraper_2 wraper_3"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("出入库趋势")]),t._v(" "),e("div",{staticClass:"zd-row wraper_4"},[e("div",{ref:"echartsRef2",staticStyle:{width:"100%",height:"100%"}})])])])]),t._v(" "),t._m(1),t._v(" "),e("div",{staticClass:"zd-row wraper_1"},[e("div",{staticClass:"relative wraper_1 wraper_3 wraper_5 mgr8"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("实时任务")]),t._v(" "),e("div",{staticClass:"zd-row wraper_6"},[e("div",{staticClass:"box scroll_wrap"},[t._m(2),t._v(" "),e("div",{staticClass:"scroll_container_0"},[e("vue-seamless-scroll",{attrs:{data:t.taskList,"class-option":t.defaultOption1}},[e("ul",{staticClass:"scroll-ul_1"},t._l(t.taskList,function(s,a){return e("li",{key:a},[e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_code))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.point_code1))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.point_code2))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.vehicle_code))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_status))])])}))])],1)])])]),t._v(" "),e("div",{staticClass:"relative wraper_1 wraper_3 wraper_5"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("未完成单据")]),t._v(" "),e("div",{staticClass:"zd-row wraper_6"},[e("div",{staticClass:"box scroll_wrap"},[t._m(3),t._v(" "),e("div",{staticClass:"scroll_container_0"},[e("vue-seamless-scroll",{attrs:{data:t.billList,"class-option":t.defaultOption1}},[e("ul",{staticClass:"scroll-ul_1 scroll-ul_2"},t._l(t.billList,function(s,a){return e("li",{key:a},[e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.bill_code))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.io_type))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.bill_type))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.biz_date))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.stor_name))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.total_qty))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.detail_count))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.source_id))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.bill_status))])])}))])],1)])])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"relative b_title"},[s("span",{staticClass:"absolute sj_icon"}),this._v(" "),s("p",[this._v("仓储使用情况")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"relative b_title"},[s("span",{staticClass:"absolute sj_icon"}),this._v(" "),s("p",[this._v("任务单据监控")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",{staticClass:"scroll_tab_1 scroll_tab_2"},[e("li",[t._v("任务编码")]),t._v(" "),e("li",[t._v("任务起点")]),t._v(" "),e("li",[t._v("任务终点")]),t._v(" "),e("li",[t._v("载具编码")]),t._v(" "),e("li",[t._v("任务状态")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",{staticClass:"scroll_tab_1 scroll_tab_3"},[e("li",[t._v("单据编码")]),t._v(" "),e("li",[t._v("出入类型")]),t._v(" "),e("li",[t._v("单据类型")]),t._v(" "),e("li",[t._v("业务日期")]),t._v(" "),e("li",[t._v("仓库")]),t._v(" "),e("li",[t._v("总数量")]),t._v(" "),e("li",[t._v("明细数")]),t._v(" "),e("li",[t._v("源单号")]),t._v(" "),e("li",[t._v("单据状态")])])}]};var u=e("VU/8")(d,v,!1,function(t){e("vlnF")},"data-v-35f31426",null);s.default=u.exports},"c/Tr":function(t,s,e){t.exports={default:e("5zde"),__esModule:!0}},fBQ2:function(t,s,e){"use strict";var a=e("evD5"),i=e("X8DO");t.exports=function(t,s,e){s in t?a.f(t,s,i(0,e)):t[s]=e}},"gzA/":function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=e("Xxa5"),i=e.n(a),l=e("Gu7T"),_=e.n(l),o=e("exGp"),r=e.n(o),n={components:{THeader:e("Cz8s").a},data:function(){return{interTime:this.$store.getters.setTime,timer:null,curList:[],materList:[],historyList:[],taskList:[],myChart1:null,myChart2:null,myChart3:null}},computed:{defaultOption1:function(){return{step:.3,limitMoveNum:55,hoverStop:!0,direction:1,openWatch:!0,singleHeight:0,singleWidth:0,waitTime:5e3}}},created:function(){this.refresh()},mounted:function(){this.myChart1=this.$echarts.init(this.$refs.echartsRef1),this.myChart2=this.$echarts.init(this.$refs.echartsRef2),this.myChart3=this.$echarts.init(this.$refs.echartsRef3)},destroyed:function(){null!==this.myChart1&&(this.myChart1.dispose(),this.myChart1=null),null!==this.myChart2&&(this.myChart2.dispose(),this.myChart2=null),null!==this.myChart3&&(this.myChart3.dispose(),this.myChart3=null)},methods:{refresh:function(){var t=this;this._allDeviceStatus(),this.timer=setInterval(function(){t._allDeviceStatus()},this.interTime)},_allDeviceStatus:function(){var t=this;return r()(i.a.mark(function s(){var e;return i.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,{inventoryAnalysis:[{count:"439"},{count:"20",name:"物料一物料一物料一物料一",percent:"10%"},{count:"20",name:"物料二",percent:"10%"},{count:"20",name:"物料三",percent:"10%"},{count:"20",name:"物料四",percent:"10%"},{count:"20",name:"物料五",percent:"10%"},{count:"20",name:"物料六",percent:"10%"}],historyInventoryIOAnalysis:[{total_outstorage_qty:0,data:"08-01",total_instorage_qty:0},{total_outstorage_qty:1,data:"08-02",total_instorage_qty:0},{total_outstorage_qty:0,data:"08-03",total_instorage_qty:0},{total_outstorage_qty:0,data:"08-04",total_instorage_qty:0},{total_outstorage_qty:0,data:"08-05",total_instorage_qty:0},{total_outstorage_qty:6,data:"08-06",total_instorage_qty:6},{total_outstorage_qty:28,data:"08-07",total_instorage_qty:178}],inventoryIOAnalysis:[{total_outstorage_qty:0,total_instorage_qty:100,material_id:"1759154624864063488",material_name:"测试物料",material_code:"A1001"},{total_outstorage_qty:28,total_instorage_qty:78,material_id:"1759155580745945088",material_name:"测试物料2",material_code:"A1002"}],todayTask:[{task_status:"完成",create_time:"2024-08-07 13:19:10",carno:"",task_code:"1821053300573868033",next_point_code:"01-01-01",start_point_code:"CKDJ1"},{task_status:"完成",create_time:"2024-08-07 13:13:46",carno:"",task_code:"1821051936523292673",next_point_code:"RKDJ2",start_point_code:"01-01-02"},{task_status:"完成",create_time:"2024-08-07 13:16:10",carno:"",task_code:"1821052566008631297",next_point_code:"01-01-02",start_point_code:"RKDJ2"},{task_status:"完成",create_time:"2024-08-07 13:19:00",carno:"",task_code:"1821053354068021249",next_point_code:"01-01-02",start_point_code:"CKDJ2"},{task_status:"完成",create_time:"2024-08-07 13:16:20",carno:"",task_code:"1821052576351784961",next_point_code:"01-01-03",start_point_code:"RKDJ1"},{task_status:"完成",create_time:"2024-08-07 13:10:35",carno:"AMB-02",task_code:"1821050896554004481",next_point_code:"01-02-02",start_point_code:"RKDJ5"},{task_status:"完成",create_time:"2024-08-07 13:17:52",carno:"",task_code:"1821053001335443457",next_point_code:"CKDJ2",start_point_code:"01-01-02"},{task_status:"完成",create_time:"2024-08-07 13:10:15",carno:"AMB-01",task_code:"1821050807915778049",next_point_code:"01-01-03",start_point_code:"RKDJ3"},{task_status:"完成",create_time:"2024-08-07 13:13:56",carno:"",task_code:"1821051969201115137",next_point_code:"RKDJ3",start_point_code:"01-01-03"},{task_status:"完成",create_time:"2024-08-07 13:10:05",carno:"AMB-01",task_code:"1821050760486588417",next_point_code:"01-01-02",start_point_code:"RKDJ2"},{task_status:"完成",create_time:"2024-08-07 13:10:25",carno:"AMB-02",task_code:"1821050853545611265",next_point_code:"01-02-01",start_point_code:"RKDJ4"},{task_status:"完成",create_time:"2024-08-07 13:13:36",carno:"",task_code:"1821051901286944769",next_point_code:"RKDJ1",start_point_code:"01-01-01"},{task_status:"完成",create_time:"2024-08-07 13:17:42",carno:"",task_code:"1821052983480291329",next_point_code:"CKDJ1",start_point_code:"01-01-01"},{task_status:"完成",create_time:"2024-08-07 13:16:00",carno:"",task_code:"1821052554327494657",next_point_code:"01-01-01",start_point_code:"RKDJ3"},{task_status:"完成",create_time:"2024-08-07 13:09:55",carno:"AMB-01",task_code:"1821050707009212417",next_point_code:"01-01-01",start_point_code:"RKDJ1"}]};case 2:e=s.sent,t.curList=[].concat(_()(e.inventoryIOAnalysis)),t.materList=[].concat(_()(e.inventoryAnalysis)),t.historyList=[].concat(_()(e.historyInventoryIOAnalysis)),t.taskList=[].concat(_()(e.todayTask)),t.setEchart1(),t.setEchart2(),t.setEchart3();case 10:case"end":return s.stop()}},s,t)}))()},setEchart1:function(){var t=[],s=[],e=[];this.curList.map(function(a){t.push(a.material_name),s.push(a.total_instorage_qty),e.push(a.total_outstorage_qty)});var a={grid:{top:30,left:0,right:0,bottom:0,containLabel:!0},legend:{icon:"rect",top:"0",right:"0",textStyle:{color:"#9BB9DD",fontSize:12,lineHeight:12},itemGap:20,itemWidth:8,itemHeight:8,data:[{name:"入库",itemStyle:{color:"#67D470"}},{name:"出库",itemStyle:{color:"#1980EA"}}]},xAxis:{type:"category",axisTick:{show:!1},axisLine:{show:!0,lineStyle:{width:1,color:"#3C5787"}},axisLabel:{interval:0,color:"#7591B2",fontSize:12,lineHeight:12,margin:5},data:t},yAxis:{type:"value",axisLine:{show:!1},splitNumber:4,axisTick:{show:!1},axisLabel:{color:"#B5C5D4",fontSize:12},splitLine:{show:!0,lineStyle:{type:[2,1],color:"#455C86"}}},series:[{name:"入库",type:"bar",barWidth:"10",itemStyle:{color:new this.$echarts.graphic.LinearGradient(0,0,0,1,[{offset:1,color:"rgba(103,212,112,0.2)"},{offset:.08,color:"rgba(103,212,112,0.9)"},{offset:0,color:"rgba(255,255,255,0.9)"}])},data:s},{name:"出库",type:"bar",barWidth:"10",itemStyle:{color:new this.$echarts.graphic.LinearGradient(0,0,0,1,[{offset:1,color:"rgba(25,128,234,0.2)"},{offset:.08,color:"rgba(25,128,234,0.9)"},{offset:0,color:"rgba(255,255,255,0.9)"}])},data:e}]};this.myChart1.setOption(a,!0)},setEchart2:function(){var t=["rgba(15, 45, 115, .1)","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"],s=["#1980EA","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)"],e=this.materList.slice(1);e.map(function(t){t.value=t.count,t.name=t.name,e.push(t.name)});var a={color:["#1980EA","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"],grid:{top:0,left:0,right:0,bottom:0,containLabel:!0},title:{left:"50%",top:"50%",text:"{a|总数}\n{b|"+this.materList[0].count+"}",textAlign:"center",textVerticalAlign:"middle",padding:0,textStyle:{rich:{a:{fontSize:12,lineHeight:18,color:"#A8C3E6"},b:{fontSize:17,lineHeight:17,fontWeight:"bold",color:"#DBE7F6"}}}},series:[{name:"内层实心圆",type:"pie",hoverOffset:0,radius:"58%",center:["50%","50%"],startAngle:270,label:{show:!1},itemStyle:{borderColor:"#2C4E6E",borderWidth:6,color:"#132942"},data:[{value:0}]},{name:"外层空心圆",type:"pie",hoverOffset:0,radius:["97%","97%"],center:["50%","50%"],startAngle:270,label:{show:!1},itemStyle:{borderColor:"#4677B8",borderWidth:1},data:[{value:0}]},{name:"设备运行统计内圈",type:"pie",radius:["70%","80%"],center:["50%","50%"],startAngle:270,labelLine:{show:!1},tooltip:{show:!1},itemStyle:{borderColor:"rgba(15, 45, 115, .1)",borderWidth:1,color:function(s){return t[s.dataIndex]}},label:{show:!1},data:e},{name:"设备运行统计外圈",type:"pie",radius:["80%","90%"],center:["50%","50%"],startAngle:270,labelLine:{show:!1},tooltip:{show:!1},itemStyle:{borderColor:"rgba(15, 45, 115, .1)",borderWidth:1,color:function(t){return s[t.dataIndex]}},label:{show:!1},data:e}]};this.myChart2.setOption(a,!0)},setEchart3:function(){var t=0;this.historyList.map(function(s){t=Math.max(t,Number(s.total_instorage_qty),Number(s.total_outstorage_qty))});var s=[],e=[],a=[];this.historyList.map(function(t){s.push(t.data),e.push(t.total_instorage_qty),a.push(t.total_outstorage_qty)});var i={grid:{top:30,left:0,right:0,bottom:0,containLabel:!0},legend:{icon:"rect",top:"0",right:"0",textStyle:{color:"#9BB9DD",fontSize:12,lineHeight:16},itemGap:16,itemWidth:8,itemHeight:8,data:[{name:"入库",itemStyle:{color:"#67D470"}},{name:"出库",itemStyle:{color:"#1980EA"}}]},xAxis:{type:"category",axisTick:{show:!1},axisLine:{show:!0,lineStyle:{width:1,color:"#3C5787"}},axisLabel:{interval:0,rotate:45,color:"#7591B2",fontSize:12,lineHeight:12,margin:5},data:s},yAxis:{type:"value",axisLine:{show:!1},splitNumber:4,axisTick:{show:!1},axisLabel:{color:"#B5C5D4",fontSize:12},splitLine:{show:!0,lineStyle:{type:[2,1],color:"#455C86"}},max:t},series:[{name:"入库",type:"line",showSymbol:!1,itemStyle:{color:"#67D470",lineStyle:{color:"#67D470",width:1}},areaStyle:{color:new this.$echarts.graphic.LinearGradient(0,1,0,0,[{offset:0,color:"rgba(103,212,112,0.1)"},{offset:1,color:"rgba(103,212,112,0.74)"}])},data:e},{name:"出库",type:"line",showSymbol:!1,itemStyle:{color:"#58A2E3",lineStyle:{color:"#58A2E3",width:1}},areaStyle:{color:new this.$echarts.graphic.LinearGradient(0,1,0,0,[{offset:0,color:"rgba(45,144,255,0)"},{offset:1,color:"rgba(45,144,255,0.85)"}])},data:a}]};this.myChart3.setOption(i,!0)}}},c={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"box relative"},[e("t-header",{attrs:{type:"1",title1:"领料出库",title2:"欧伦 "}}),t._v(" "),e("div",{staticClass:"box zd-row body_container"},[e("div",{staticClass:"box zd-col-8"},[e("div",{staticClass:"relative wraper_1 mgb8"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("货位使用")]),t._v(" "),e("div",{staticClass:"zd-row wraper_2"},[e("div",{ref:"echartsRef1",staticStyle:{width:"100%",height:"100%"}})])]),t._v(" "),e("div",{staticClass:"relative wraper_1 mgb8"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("缓存库库存")]),t._v(" "),e("div",{staticClass:"zd-row wraper_2"},[e("div",{staticClass:"box zd-col-9"},[e("div",{ref:"echartsRef2",staticStyle:{width:"100%",height:"100%"}})]),t._v(" "),e("div",{staticClass:"box zd-col-15 zd-row flexwrap jcflexstart"},t._l(t.materList.slice(1),function(s,a){return e("div",{key:a,staticClass:"zd-col-11 zd-row flexstart"},[e("div",{staticClass:"pie_legend_icon",style:{backgroundColor:["#1980EA","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"][a]}}),t._v(" "),e("div",{staticClass:"zd-col-24"},[e("p",{staticClass:"pie_legend_txt_1"},[t._v(t._s(s.name))]),t._v(" "),e("div",{staticClass:"zd-row jcflexstart"},[e("p",{staticClass:"pie_legend_txt_2"},[t._v(t._s(s.count))]),t._v(" "),e("p",{staticClass:"pie_legend_txt_3"},[t._v(t._s(s.percent))])])])])}))])]),t._v(" "),e("div",{staticClass:"relative wraper_1 mgb8"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("缓存库出入")]),t._v(" "),e("div",{staticClass:"zd-row wraper_2"},[e("div",{ref:"echartsRef3",staticStyle:{width:"100%",height:"100%"}})])])]),t._v(" "),e("div",{staticClass:"box zd-col-16 mgl8"},[e("div",{staticClass:"relative wraper_1 wraper_3"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("订单领料")]),t._v(" "),e("div",{staticClass:"zd-row wraper_2"},[e("div",{staticClass:"box scroll_wrap"},[t._m(0),t._v(" "),e("div",{staticClass:"scroll_container_1"},[e("vue-seamless-scroll",{attrs:{data:t.taskList,"class-option":t.defaultOption1}},[e("ul",{staticClass:"scroll-ul_1"},t._l(t.taskList,function(s,a){return e("li",{key:a},[e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.create_time))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.carno))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.start_point_code))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.next_point_code))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_code))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_status))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_status))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_status))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_status))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_status))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_status))])])}))])],1)])])]),t._v(" "),e("div",{staticClass:"relative wraper_1 wraper_3"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("出库任务")]),t._v(" "),e("div",{staticClass:"zd-row wraper_2"},[e("div",{staticClass:"box scroll_wrap"},[t._m(1),t._v(" "),e("div",{staticClass:"scroll_container_1"},[e("vue-seamless-scroll",{attrs:{data:t.taskList,"class-option":t.defaultOption1}},[e("ul",{staticClass:"scroll-ul_1"},t._l(t.taskList,function(s,a){return e("li",{key:a},[e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.create_time))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.carno))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.start_point_code))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.next_point_code))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_code))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_status))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_status))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_status))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_status))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_status))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_status))])])}))])],1)])])])])])],1)},staticRenderFns:[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",{staticClass:"scroll_tab_1"},[e("li",[t._v("生产订单号")]),t._v(" "),e("li",[t._v("单据日期")]),t._v(" "),e("li",[t._v("生产车间")]),t._v(" "),e("li",[t._v("产品名称")]),t._v(" "),e("li",[t._v("规格型号")]),t._v(" "),e("li",[t._v("领料物料")]),t._v(" "),e("li",[t._v("规格型号")]),t._v(" "),e("li",[t._v("领料数量")]),t._v(" "),e("li",[t._v("已出库")]),t._v(" "),e("li",[t._v("未出库")]),t._v(" "),e("li",[t._v("单位")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",{staticClass:"scroll_tab_1"},[e("li",[t._v("生成时间")]),t._v(" "),e("li",[t._v("货位")]),t._v(" "),e("li",[t._v("物料编码")]),t._v(" "),e("li",[t._v("物料名称")]),t._v(" "),e("li",[t._v("规格型号")]),t._v(" "),e("li",[t._v("数量")]),t._v(" "),e("li",[t._v("单位")]),t._v(" "),e("li",[t._v("载具号")]),t._v(" "),e("li",[t._v("任务订单")]),t._v(" "),e("li",[t._v("车间")]),t._v(" "),e("li",[t._v("状态")])])}]};var d=e("VU/8")(n,c,!1,function(t){e("40xU")},"data-v-ff8ce628",null);s.default=d.exports},iL27:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=e("Xxa5"),i=e.n(a),l=e("Gu7T"),_=e.n(l),o=e("exGp"),r=e.n(o),n=e("Cz8s"),c=e("4ijW"),d={components:{THeader:n.a},data:function(){return{interTime:this.$store.getters.setTime,intervalId:null,materList:[],historyList:[],myChart1:null,myChart2:null,myChart4:null,taskList:[],billList:[],lx_in_week:[],lx_out_week:[],lx_inventory:[],pointUse:{},toDayInAndOut:{},inw:"0",inqty1:"0",outw:"0",outqty1:"0"}},computed:{defaultOption1:function(){return{step:.3,limitMoveNum:55,hoverStop:!0,direction:1,openWatch:!0,singleHeight:0,singleWidth:0,waitTime:5e3}}},created:function(){var t={baseUrl:this.$store.getters.baseUrl,setTime:this.$store.getters.setTime,setJxtTime:this.$store.getters.setJxtTime,pageNo:this.$store.getters.pageNo,iskb:"02"};this.$store.dispatch("setConfig",t),console.log(1111),this._synthesizeInfo(),this.timerFun(this._synthesizeInfo,this.interTime)()},mounted:function(){this.myChart1=this.$echarts.init(this.$refs.echartsRef1),this.myChart2=this.$echarts.init(this.$refs.echartsRef2)},destroyed:function(){null!==this.intervalId&&(clearTimeout(this.intervalId),this.intervalId=null),null!==this.myChart1&&(this.myChart1.dispose(),this.myChart1=null),null!==this.myChart2&&(this.myChart2.dispose(),this.myChart2=null)},methods:{getPercentage:function(t,s){return 0===Number(s)?0:(t/s*100).toFixed(2)+"%"},timerFun:function(t,s){var e=this;return function a(){clearTimeout(e.intervalId),e.intervalId=setTimeout(function(){t(),a()},s)}},_synthesizeInfo:function(){var t=this;return r()(i.a.mark(function s(){var e;return i.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,Object(c.c)(t.$store.getters.secCode);case 2:e=s.sent,t.pointUse=e.data.pointUse,t.toDayInAndOut=e.data.toDayInAndOut,t.inw=t.getPercentage(t.toDayInAndOut.in.vehicle_qty,t.toDayInAndOut.in.total_qty),t.inqty1=t.toDayInAndOut.in.total_qty,t.outw=t.getPercentage(t.toDayInAndOut.out.vehicle_qty,t.toDayInAndOut.out.total_qty),t.outqty1=t.toDayInAndOut.out.total_qty,t.lx_in_week=[].concat(_()(e.data.inAndOutTrend.in)),t.lx_out_week=[].concat(_()(e.data.inAndOutTrend.out)),t.lx_inventory=e.data.ivtAnalyse,t.taskList=[].concat(_()(e.data.realTask)),t.billList=[].concat(_()(e.data.unIos)),t.setEchart1(),t.setEchart2();case 16:case"end":return s.stop()}},s,t)}))()},setEchart1:function(){var t=["rgba(15, 45, 115, .1)","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"],s=["#1980EA","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)"],e=this.lx_inventory.data;e.map(function(t){t.value=t.ivt_qty,t.name=t.material_name});var a={color:["#1980EA","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"],grid:{top:0,left:0,right:0,bottom:0,containLabel:!0},title:{left:"50%",top:"50%",text:"{a|总数}\n{b|"+this.lx_inventory.total_qty+"}",textAlign:"center",textVerticalAlign:"middle",padding:0,textStyle:{rich:{a:{fontSize:12,lineHeight:18,color:"#A8C3E6"},b:{fontSize:17,lineHeight:17,fontWeight:"bold",color:"#DBE7F6"}}}},series:[{name:"内层实心圆",type:"pie",hoverOffset:0,radius:"58%",center:["50%","50%"],startAngle:270,label:{show:!1},itemStyle:{borderColor:"#2C4E6E",borderWidth:6,color:"#132942"},data:[{value:0}]},{name:"外层空心圆",type:"pie",hoverOffset:0,radius:["97%","97%"],center:["50%","50%"],startAngle:270,label:{show:!1},itemStyle:{borderColor:"#4677B8",borderWidth:1},data:[{value:0}]},{name:"设备运行统计内圈",type:"pie",radius:["70%","80%"],center:["50%","50%"],startAngle:270,labelLine:{show:!1},tooltip:{show:!1},itemStyle:{borderColor:"rgba(15, 45, 115, .1)",borderWidth:1,color:function(s){return t[s.dataIndex]}},label:{show:!1},data:e},{name:"设备运行统计外圈",type:"pie",radius:["80%","90%"],center:["50%","50%"],startAngle:270,labelLine:{show:!1},tooltip:{show:!1},itemStyle:{borderColor:"rgba(15, 45, 115, .1)",borderWidth:1,color:function(t){return s[t.dataIndex]}},label:{show:!1},data:e}]};this.myChart1.setOption(a,!0)},setEchart2:function(){var t=[],s=[],e=[];this.lx_in_week.map(function(t){s.push(t.qty)}),this.lx_out_week.map(function(s){t.push(s.date),e.push(s.qty)});var a={grid:{top:30,left:0,right:0,bottom:0,containLabel:!0},legend:{icon:"rect",top:"0",right:"0",textStyle:{color:"#9BB9DD",fontSize:12,lineHeight:16},itemGap:16,itemWidth:8,itemHeight:8,data:[{name:"入库",itemStyle:{color:"#67D470"}},{name:"出库",itemStyle:{color:"#1980EA"}}]},xAxis:{type:"category",axisTick:{show:!1},axisLine:{show:!0,lineStyle:{width:1,color:"#3C5787"}},axisLabel:{interval:0,rotate:45,color:"#7591B2",fontSize:12,lineHeight:12},data:t},yAxis:{type:"value",axisLine:{show:!1},splitNumber:4,axisTick:{show:!1},axisLabel:{color:"#B5C5D4",fontSize:12},splitLine:{show:!0,lineStyle:{type:[2,1],color:"#455C86"}}},series:[{name:"入库",type:"line",showSymbol:!1,itemStyle:{color:"#67D470",lineStyle:{color:"#67D470",width:1}},areaStyle:{color:new this.$echarts.graphic.LinearGradient(0,1,0,0,[{offset:0,color:"rgba(103,212,112,0.1)"},{offset:1,color:"rgba(103,212,112,0.74)"}])},data:s},{name:"出库",type:"line",showSymbol:!1,itemStyle:{color:"#58A2E3",lineStyle:{color:"#58A2E3",width:1}},areaStyle:{color:new this.$echarts.graphic.LinearGradient(0,1,0,0,[{offset:0,color:"rgba(45,144,255,0)"},{offset:1,color:"rgba(45,144,255,0.85)"}])},data:e}]};this.myChart2.setOption(a,!0)}}},v={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"box relative"},[e("t-header",{attrs:{type:"1",title1:"仓储监控",title2:" "}}),t._v(" "),e("div",{staticClass:"box body_container"},[t._m(0),t._v(" "),e("div",{staticClass:"zd-row wraper_1 mgb8"},[e("div",{staticClass:"box zd-col-7 mgr8"},[e("div",{staticClass:"relative wraper_2 mgb8"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("货位使用")]),t._v(" "),e("div",{staticClass:"zd-row wraper_4"},[e("div",{staticClass:"box percent_item"},[e("p",[t._v(t._s(t.pointUse.use_percentage)+"%")])]),t._v(" "),e("div",{staticClass:"box zd-col-16 zd-row flexcol jccenter"},[e("div",{staticClass:"zd-row mgb8"},[e("p",{staticClass:"zd-col-8 item_label"},[t._v("总货位数")]),t._v(" "),e("p",{staticClass:"zd-col-16 item_value"},[t._v(t._s(t.pointUse.total_qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])]),t._v(" "),e("div",{staticClass:"zd-row mgb8"},[e("p",{staticClass:"zd-col-8 item_label"},[t._v("已用货位")]),t._v(" "),e("p",{staticClass:"zd-col-16 item_value"},[t._v(t._s(t.pointUse.use_qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])]),t._v(" "),e("div",{staticClass:"zd-row"},[e("p",{staticClass:"zd-col-8 item_label"},[t._v("空余货位")]),t._v(" "),e("p",{staticClass:"zd-col-16 item_value"},[t._v(t._s(t.pointUse.emp_qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])])])])]),t._v(" "),e("div",{staticClass:"relative wraper_2"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("今日出入库")]),t._v(" "),e("div",{staticClass:"wraper_4 zd-row flexcol jccenter"},[e("div",{staticClass:"zd-row flexstart mgb8"},[e("div",{staticClass:"zd-col-3 item_label"},[t._v("入库")]),t._v(" "),e("div",{staticClass:"zd-col-21"},[e("div",{staticClass:"percent_line"},[e("div",{staticClass:"percent_i",style:{width:t.inw}})]),t._v(" "),e("div",{staticClass:"zd-row"},[e("p",{staticClass:"item_label font_2"},[t._v("总数量 : "),e("span",{staticClass:"c_y"},[t._v(t._s(t.inqty1))])])])])]),t._v(" "),e("div",{staticClass:"zd-row flexstart"},[e("div",{staticClass:"zd-col-3 item_label"},[t._v("出库")]),t._v(" "),e("div",{staticClass:"zd-col-21"},[e("div",{staticClass:"percent_line percent_line_c"},[e("div",{staticClass:"percent_i percent_i_c",style:{width:t.outw}})]),t._v(" "),e("div",{staticClass:"zd-row"},[e("p",{staticClass:"item_label font_2"},[t._v("总数量 : "),e("span",{staticClass:"c_y"},[t._v(t._s(t.outqty1))])])])])])])])]),t._v(" "),e("div",{staticClass:"box zd-col-10 mgr8"},[e("div",{staticClass:"relative wraper_2 wraper_3"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("实时库存分析")]),t._v(" "),e("div",{staticClass:"zd-row wraper_4"},[e("div",{staticClass:"box zd-col-8 mgr8"},[e("div",{ref:"echartsRef1",staticStyle:{width:"100%",height:"100%"}})]),t._v(" "),e("div",{staticClass:"box zd-col-16 zd-row flexwrap jcflexstart aligncenter flexstart"},t._l(t.lx_inventory.data,function(s,a){return e("div",{key:a,staticClass:"zd-col-12 zd-row flexstart pie_item_wrap"},[e("div",{staticClass:"zd-col-3 pie_legend_icon",style:{backgroundColor:["#1980EA","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"][a]}}),t._v(" "),e("div",{staticClass:"zd-col-21"},[e("p",{staticClass:"pie_legend_txt_1"},[t._v(t._s(s.material_name))]),t._v(" "),e("div",{staticClass:"zd-row jcflexstart"},[e("p",{staticClass:"pie_legend_txt_2"},[t._v(t._s(s.ivt_qty))]),t._v(" "),e("p",{staticClass:"pie_legend_txt_3"},[t._v(t._s(s.percentage))])])])])}))])])]),t._v(" "),e("div",{staticClass:"box zd-col-7"},[e("div",{staticClass:"relative wraper_2 wraper_3"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("出入库趋势")]),t._v(" "),e("div",{staticClass:"zd-row wraper_4"},[e("div",{ref:"echartsRef2",staticStyle:{width:"100%",height:"100%"}})])])])]),t._v(" "),t._m(1),t._v(" "),e("div",{staticClass:"zd-row wraper_1"},[e("div",{staticClass:"relative wraper_1 wraper_3 wraper_5 mgr8"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("实时任务")]),t._v(" "),e("div",{staticClass:"zd-row wraper_6"},[e("div",{staticClass:"box scroll_wrap"},[t._m(2),t._v(" "),e("div",{staticClass:"scroll_container_0"},[e("vue-seamless-scroll",{attrs:{data:t.taskList,"class-option":t.defaultOption1}},[e("ul",{staticClass:"scroll-ul_1"},t._l(t.taskList,function(s,a){return e("li",{key:a},[e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_code))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.point_code1))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.point_code2))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.vehicle_code))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.task_status))])])}))])],1)])])]),t._v(" "),e("div",{staticClass:"relative wraper_1 wraper_3 wraper_5"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("p",{staticClass:"title"},[t._v("未完成单据")]),t._v(" "),e("div",{staticClass:"zd-row wraper_6"},[e("div",{staticClass:"box scroll_wrap"},[t._m(3),t._v(" "),e("div",{staticClass:"scroll_container_0"},[e("vue-seamless-scroll",{attrs:{data:t.billList,"class-option":t.defaultOption1}},[e("ul",{staticClass:"scroll-ul_1 scroll-ul_2"},t._l(t.billList,function(s,a){return e("li",{key:a},[e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.bill_code))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.io_type))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.bill_type))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.biz_date))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.stor_name))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.total_qty))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.detail_count))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.source_id))]),t._v(" "),e("div",{staticClass:"scroll-ul_1_div"},[t._v(t._s(s.bill_status))])])}))])],1)])])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"relative b_title"},[s("span",{staticClass:"absolute sj_icon"}),this._v(" "),s("p",[this._v("仓储使用情况")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"relative b_title"},[s("span",{staticClass:"absolute sj_icon"}),this._v(" "),s("p",[this._v("任务单据监控")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",{staticClass:"scroll_tab_1 scroll_tab_2"},[e("li",[t._v("任务编码")]),t._v(" "),e("li",[t._v("任务起点")]),t._v(" "),e("li",[t._v("任务终点")]),t._v(" "),e("li",[t._v("载具编码")]),t._v(" "),e("li",[t._v("任务状态")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",{staticClass:"scroll_tab_1 scroll_tab_3"},[e("li",[t._v("单据编码")]),t._v(" "),e("li",[t._v("出入类型")]),t._v(" "),e("li",[t._v("单据类型")]),t._v(" "),e("li",[t._v("业务日期")]),t._v(" "),e("li",[t._v("仓库")]),t._v(" "),e("li",[t._v("总数量")]),t._v(" "),e("li",[t._v("明细数")]),t._v(" "),e("li",[t._v("源单号")]),t._v(" "),e("li",[t._v("单据状态")])])}]};var u=e("VU/8")(d,v,!1,function(t){e("P6V6")},"data-v-43d4434c",null);s.default=u.exports},qyJz:function(t,s,e){"use strict";var a=e("+ZMJ"),i=e("kM2E"),l=e("sB3e"),_=e("msXi"),o=e("Mhyx"),r=e("QRG4"),n=e("fBQ2"),c=e("3fs2");i(i.S+i.F*!e("dY0y")(function(t){Array.from(t)}),"Array",{from:function(t){var s,e,i,d,v=l(t),u="function"==typeof this?this:Array,b=arguments.length,p=b>1?arguments[1]:void 0,m=void 0!==p,C=0,h=c(v);if(m&&(p=a(p,b>2?arguments[2]:void 0,2)),void 0==h||u==Array&&o(h))for(e=new u(s=r(v.length));s>C;C++)n(e,C,m?p(v[C],C):v[C]);else for(d=h.call(v),e=new u;!(i=d.next()).done;C++)n(e,C,m?_(d,p,[i.value,C],!0):i.value);return e.length=C,e}})},uQla:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=e("Xxa5"),i=e.n(a),l=e("Gu7T"),_=e.n(l),o=e("exGp"),r=e.n(o),n=e("Cz8s"),c=e("4ijW"),d={components:{THeader:n.a},data:function(){return{interTime:this.$store.getters.setJxtTime,intervalId:null,options:[],value:"",itemData:[],isUsed:!1}},created:function(){this._queryPickingPoint()},beforeDestroy:function(){null!==this.intervalId&&(clearTimeout(this.intervalId),this.intervalId=null)},methods:{timerFun:function(t,s){var e=this;return function a(){clearTimeout(e.intervalId),e.intervalId=setTimeout(function(){t(),a()},s)}},_pickingInfo:function(){var t=this;return r()(i.a.mark(function s(){var e;return i.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,Object(c.a)(t.value);case 2:(e=s.sent)&&(e.taskList&&e.taskList.length>0?t.itemData=[].concat(_()(e.taskList)):t.itemData=[],e.pointInfo&&(t.isUsed=e.pointInfo.is_used));case 4:case"end":return s.stop()}},s,t)}))()},_queryPickingPoint:function(){var t=this;return r()(i.a.mark(function s(){var e;return i.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,Object(c.b)();case 2:e=s.sent,t.options=[].concat(_()(e)),e.length>0&&(t.value=e[0].code,t._pickingInfo(),t.timerFun(t._pickingInfo,t.interTime)());case 5:case"end":return s.stop()}},s,t)}))()},change:function(t){t&&(null!==this.intervalId&&(clearTimeout(this.intervalId),this.intervalId=null),this._pickingInfo(),this.timerFun(this._pickingInfo,this.interTime)())},changeWeight:function(t){this._updateMaterialInfo(t.target.value)},_updateMaterialInfo:function(t){var s=this;return r()(i.a.mark(function e(){var a;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=s.itemData.length>0?s.itemData[0].material_id:"",e.next=3,Object(c.d)(a,t);case 3:"200"===e.sent.code&&s.$message({message:"操作成功",type:"success"});case 5:case"end":return e.stop()}},e,s)}))()}}},v={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"box relative"},[e("t-header",{attrs:{title2:"欧伦WMS系统"}},[e("el-select",{staticClass:"header_select",attrs:{placeholder:"请选择"},on:{change:t.change},model:{value:t.value,callback:function(s){t.value=s},expression:"value"}},t._l(t.options,function(t){return e("el-option",{key:t.code,attrs:{label:t.name,value:t.code}})}))],1),t._v(" "),e("div",{staticClass:"box body_container"},[t.itemData.length>=1?e("div",{staticClass:"relative n_wraper"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("div",{staticClass:"relative title_wraper"},[e("p",{staticClass:"relative title_h1"},[t._v("装配一车间")]),t._v(" "),e("p",{staticClass:"absolute title_h2"},[t._v("当前任务 - "),e("span",{staticStyle:{color:"#00b678","font-weight":"700"}},[t._v(t._s(t.itemData[0].task_code))])])]),t._v(" "),e("div",{staticClass:"zd-row content_wraper"},[e("div",{staticClass:"zd-col-18"},[e("div",{staticClass:"zd-row flexwrap item_wraper"},[e("div",{staticClass:"info_item"},[e("div",{staticClass:"box zd-row jccenter info_item_i"},[e("div",{staticClass:"item_label"},[t._v("库内料箱:")]),t._v(" "),e("div",{staticClass:"item_value"},[t._v(t._s(t.itemData[0].vehicle_code)),e("span",{staticClass:"item_unit"})])])]),t._v(" "),e("div",{staticClass:"info_item"},[e("div",{staticClass:"box zd-row jccenter info_item_i"},[e("div",{staticClass:"item_label"},[t._v("物料名称:")]),t._v(" "),e("div",{staticClass:"item_value"},[t._v(t._s(t.itemData[0].material_name)),e("span",{staticClass:"item_unit"})])])]),t._v(" "),e("div",{staticClass:"info_item"},[e("div",{staticClass:"box zd-row jccenter info_item_i"},[e("div",{staticClass:"item_label"},[t._v("物料规格:")]),t._v(" "),e("div",{staticClass:"item_value"},[t._v(t._s(t.itemData[0].material_spec)),e("span",{staticClass:"item_unit"})])])]),t._v(" "),e("div",{staticClass:"info_item"},[e("div",{staticClass:"box zd-row jccenter info_item_i"},[e("div",{staticClass:"item_label"},[t._v("物料数量:")]),t._v(" "),e("div",{staticClass:"item_value"},[t._v(t._s(t.itemData[0].qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])])]),t._v(" "),e("div",{staticClass:"info_item"},[e("div",{staticClass:"box zd-row jccenter info_item_i"},[e("div",{staticClass:"item_label"},[t._v("箱内剩余数量:")]),t._v(" "),e("div",{staticClass:"item_value"},[t._v(t._s(t.itemData[0].remaining_qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])])]),t._v(" "),e("div",{staticClass:"info_item"},[e("div",{staticClass:"box zd-row jccenter info_item_i"},[e("div",{staticClass:"item_label"},[t._v("拣选称重:")]),t._v(" "),e("div",{staticClass:"item_value"},[t._v(t._s(t.itemData[0].actual_weight)),e("span",{staticClass:"item_unit"},[t._v("g")])])])]),t._v(" "),e("div",{staticClass:"info_item_1"},[e("div",{staticClass:"zd-row info_item_1_i"},[e("div",{staticClass:"zd-col-16"},[e("div",{staticClass:"item_label_1"},[t._v("拣选数量")]),t._v(" "),e("div",{staticClass:"item_value_1"},[t._v(t._s(t.itemData[0].assign_qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])]),t._v(" "),e("div",{staticClass:"zd-col-8 info_icon"})])]),t._v(" "),e("div",{staticClass:"info_item_1"},[e("div",{staticClass:"zd-row info_item_1_i"},[e("div",{staticClass:"zd-col-16"},[e("div",{staticClass:"item_label_1"},[t._v("理论数量")]),t._v(" "),e("div",{staticClass:"item_value_1"},[t._v(t._s(t.itemData[0].theory_qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])]),t._v(" "),e("div",{staticClass:"zd-col-8 info_icon info_icon_2"})])])])]),t._v(" "),e("div",{staticClass:"zd-col-6 height-100"},[e("div",{staticClass:"info_item info_item_2"},[e("div",{staticClass:"box zd-row jccenter info_item_i"},[e("div",{staticClass:"item_label"},[t._v("单重:")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.itemData[0].single_weight,expression:"itemData[0].single_weight"}],staticClass:"item_value_input",attrs:{type:"number"},domProps:{value:t.itemData[0].single_weight},on:{keyup:function(s){return"button"in s||!t._k(s.keyCode,"enter",13,s.key,"Enter")?t.changeWeight(s):null},blur:t.changeWeight,input:function(s){s.target.composing||t.$set(t.itemData[0],"single_weight",s.target.value)}}}),t._v(" "),e("div",{staticClass:"item_unit"},[t._v("g")])])]),t._v(" "),e("div",{staticClass:"tip_wraper",class:t.isUsed?"tip_wraper_bg1":"tip_wraper_bg2"},[e("div",{staticClass:"tip_txt"},[t._v(t._s(t.isUsed?"拣选已启用":"拣选台已禁用"))])])])])]):t._e(),t._v(" "),t.itemData.length>=2?e("div",{staticClass:"relative n_wraper"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),e("div",{staticClass:"relative title_wraper"},[e("p",{staticClass:"relative title_h1"},[t._v("装配二车间")]),t._v(" "),e("p",{staticClass:"absolute title_h2"},[t._v("下一任务 - "),e("span",{staticStyle:{color:"#00b678","font-weight":"700"}},[t._v(t._s(t.itemData[1].task_code))])])]),t._v(" "),e("div",{staticClass:"zd-row content_wraper"},[e("div",{staticClass:"zd-col-24"},[e("div",{staticClass:"zd-row flexwrap item_wraper"},[e("div",{staticClass:"info_item"},[e("div",{staticClass:"box zd-row jccenter info_item_i"},[e("div",{staticClass:"item_label"},[t._v("料箱号")]),t._v(" "),e("div",{staticClass:"item_value"},[t._v(t._s(t.itemData[1].vehicle_code)),e("span",{staticClass:"item_unit"})])])]),t._v(" "),e("div",{staticClass:"info_item"},[e("div",{staticClass:"box zd-row jccenter info_item_i"},[e("div",{staticClass:"item_label"},[t._v("物料名称")]),t._v(" "),e("div",{staticClass:"item_value"},[t._v(t._s(t.itemData[1].material_name)),e("span",{staticClass:"item_unit"})])])]),t._v(" "),e("div",{staticClass:"info_item"},[e("div",{staticClass:"box zd-row jccenter info_item_i"},[e("div",{staticClass:"item_label"},[t._v("物料规格")]),t._v(" "),e("div",{staticClass:"item_value"},[t._v(t._s(t.itemData[1].material_spec)),e("span",{staticClass:"item_unit"})])])]),t._v(" "),e("div",{staticClass:"info_item"},[e("div",{staticClass:"box zd-row jccenter info_item_i"},[e("div",{staticClass:"item_label"},[t._v("物料数量")]),t._v(" "),e("div",{staticClass:"item_value"},[t._v(t._s(t.itemData[1].qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])])]),t._v(" "),e("div",{staticClass:"info_item"},[e("div",{staticClass:"box zd-row jccenter info_item_i"},[e("div",{staticClass:"item_label"},[t._v("拣选数量")]),t._v(" "),e("div",{staticClass:"item_value"},[t._v(t._s(t.itemData[1].assign_qty)),e("span",{staticClass:"item_unit"},[t._v("个")])])])]),t._v(" "),e("div",{staticClass:"info_item"},[e("div",{staticClass:"box zd-row jccenter info_item_i"},[e("div",{staticClass:"item_label"},[t._v("单重")]),t._v(" "),e("div",{staticClass:"item_value"},[t._v(t._s(t.itemData[1].single_weight)),e("span",{staticClass:"item_unit"},[t._v("g")])])])])])])])]):t._e(),t._v(" "),0===t.itemData.length?e("div",{staticClass:"relative n_wraper"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),e("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"zd-row content_wraper"},[t._m(1),t._v(" "),e("div",{staticClass:"zd-col-6 height-100"},[e("div",{staticClass:"tip_wraper",class:t.isUsed?"tip_wraper_bg1":"tip_wraper_bg2"},[e("div",{staticClass:"tip_txt"},[t._v(t._s(t.isUsed?"拣选已启用":"拣选台已禁用"))])])])])]):t._e()])],1)},staticRenderFns:[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"relative title_wraper"},[s("p",{staticClass:"relative title_h1"},[this._v("装配一车间")])])},function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"zd-col-18"},[s("div",{staticClass:"zd-row flexwrap item_wraper"},[s("div",{staticClass:"zd-row jccenter wraning"},[this._v("当前拣选工位无拣选作业")])])])}]};var u=e("VU/8")(d,v,!1,function(t){e("vRmS")},"data-v-42b3f947",null);s.default=u.exports},vRmS:function(t,s){},vlnF:function(t,s){}});
//# sourceMappingURL=1.aa1371a9cb75c5e6363a.js.map