webpackJsonp([21],{o5uX:function(a,t){},tcnw:function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var d={name:"",data:function(){return{table_header:[{prop:"data1",label:"物料名称",min_width:"100px"},{prop:"data2",label:"查询时段销量",min_width:"100px"},{prop:"data3",label:"同期销量",min_width:"130px"},{prop:"data4",label:"上月销量",min_width:"130px"},{prop:"data5",label:"当前全国库存",min_width:"130px"},{prop:"data6",label:"备货周期",min_width:"130px"},{prop:"data7",label:"安全库存",min_width:"130px"},{prop:"data8",label:"智能安全库存",min_width:"130px"},{prop:"data9",label:"总仓数量",min_width:"130px"},{prop:"data10",label:"总部未发货数量",min_width:"130px"},{prop:"data11",label:"建议备货",min_width:"150px"}],tableData:[{data1:"data1",data2:"data2",data3:"data3",data4:"data4",data5:"data5",data6:"data6",data7:"data7",data8:"data8",data9:"data9",data10:"data10",data11:"data11",data12:"data12"},{data1:"data1",data2:"data2",data3:"data3",data4:"data4",data5:"data5",data6:"data6",data7:"data7",data8:"data8",data9:"data9",data10:"data10",data11:"data11",data12:"data12"},{data1:"data1",data2:"data2",data3:"data3",data4:"data4",data5:"data5",data6:"data6",data7:"data7",data8:"data8",data9:"data9",data10:"data10",data11:"data11",data12:"data12"},{data1:"data1",data2:"data2",data3:"data3",data4:"data4",data5:"data5",data6:"data6",data7:"data7",data8:"data8",data9:"data9",data10:"data10",data11:"data11",data12:"data12"}],tableHeight:"0",isShow_tabel:!1,inventory_option:{color:["#f87002","#83b0b3","#b8dadc"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{data:["备货数","上月销量","同期销量"],right:"0"},grid:{left:"3%",right:"3%",bottom:"3%",containLabel:!0},xAxis:{type:"category",splitLine:{show:!1},data:["总费用","房租","水电费","交通费","伙食费","日用品数"]},yAxis:{type:"value",axisLine:{show:!1},axisLabel:{show:!1},axisTick:{show:!1},splitLine:{show:!1}},series:[{name:"备货数",type:"bar",stack:"总量",label:{show:!0,position:"inside"},barWidth:"30%",itemStyle:{normal:{barBorderRadius:20,color:this.$echarts.graphic.LinearGradient(0,0,1,0,[{offset:0,color:"#b2d5e4"},{offset:.7,color:"#1b86b6"}])}},data:[2900,1200,300,200,900,300]},{name:"上月销量",type:"line",stack:"总量",label:{show:!0,position:"top"},data:[120,132,101,134,90,230,210]},{name:"同期销量",type:"line",stack:"总量",label:{show:!0,position:"top"},data:[220,182,191,234,290,330,310]}]},isShow_echarts:!0,pageIndex:1,pageSize:30,total:30}},computed:{},methods:{change_searchCondition:function(a){console.log(a,"change_searchCondition")},seeEcharts:function(){this.isShow_echarts=!0,this.isShow_tabel=!1},seeTable:function(){this.isShow_echarts=!1,this.isShow_tabel=!0},handleSizeChange:function(a){console.log("每页 "+a+" 条")},handleCurrentChange:function(a){console.log("当前页: "+a)}},mounted:function(){},created:function(){this.tableHeight=document.documentElement.clientHeight-200+""}},o={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"headquarters_inventory_storage"},[e("v-header",{attrs:{title:"总部库存备货率分析"}},[e("div",{staticClass:"search_condition"},[e("v-region",{attrs:{show_key:"name",value_key:"code",data_key:"goods"},on:{inputComponentSelect:a.change_searchCondition}}),a._v(" "),e("v-dealer",{attrs:{show_key:"name",value_key:"code",data_key:"goods"},on:{inputComponentSelect:a.change_searchCondition}}),a._v(" "),e("v-goodsClasses",{attrs:{show_key:"name",value_key:"code",data_key:"goods"},on:{inputComponentSelect:a.change_searchCondition}}),a._v(" "),e("v-goods",{attrs:{show_key:"name",value_key:"code",data_key:"goods"},on:{inputComponentSelect:a.change_searchCondition}}),a._v(" "),e("v-doubleTime",{attrs:{lable_title:"查询时段",data_key:["start","end"]},on:{inputComponentSelect:a.change_searchCondition}})],1)]),a._v(" "),e("transition",{attrs:{name:"table"}},[a.isShow_echarts?e("div",{staticClass:"echart_content"},[e("div",{staticClass:"echarts_wrapper"},[e("v-echarts",{attrs:{echart_option:a.inventory_option,id_name:"inventory_echart"}})],1),a._v(" "),e("div",{staticClass:"footer"},[e("div"),a._v(" "),e("div",[e("el-button",{attrs:{size:"small"},on:{click:a.seeTable}},[a._v("表格查看")]),a._v(" "),e("el-button",{attrs:{type:"primary",size:"small"}},[a._v("导出")])],1)])]):a._e()]),a._v(" "),e("transition",{attrs:{name:"table"}},[a.isShow_tabel?e("div",{staticClass:"table_wrapper"},[e("el-button",{attrs:{type:"primary",size:"small"},on:{click:a.seeEcharts}},[a._v("图型查看")]),a._v(" "),e("v-comtable",{attrs:{table_data:a.tableData,table_header:a.table_header,data_pageIndex:a.pageIndex,data_pageSize:a.pageSize,table_height:a.tableHeight,is_checkbox:!1,data_total:a.total,stripe:!0}},[e("div",{attrs:{slot:"pagination_slot"},slot:"pagination_slot"},[e("el-button",{attrs:{type:"primary",size:"small"}},[a._v("导出")])],1)])],1):a._e()])],1)},staticRenderFns:[]};var i=e("VU/8")(d,o,!1,function(a){e("o5uX")},null,null);t.default=i.exports}});
//# sourceMappingURL=21.5b21e52ae85d8ae80582.js.map