admin
2025-11-13 602888646252d790854bbe70fdcfe3348486cb88
HTML/views/home/console2.html
@@ -231,7 +231,7 @@
            <!-- 左 -->
            <div class="layui-col-md4" style="height: 100%;margin-top: 10px;">
                <div class="layui-card" style="height: 100%;border-radius: 15px;box-shadow: 0px 0px 10px 1px #a4a3a3;">
                    <div style="width: 100%;height: 23.33%;">
                    <!-- <div style="width: 100%;height: 23.33%;">
                        <div class="layui-card-header">
                            <img src="../../img/console/xiexian.png" style="height: 20px;">
                            系统监控
@@ -263,8 +263,8 @@
                                <label style="font-size: 32px;color: #009688;">109</label>
                            </div>
                        </div>
                    </div>
                    <div style="width: 100%;height: 38.33%;">
                    </div> -->
                    <div style="width: 100%;height: 40%;">
                        <div class="layui-card-header">
                            <img src="../../img/console/xiexian.png" style="height: 20px;">
                            库存物料类型分布
@@ -275,12 +275,12 @@
                            </div>
                        </div>
                    </div>
                    <div style="width: 100%;height: 38.33%;">
                    <div style="width: 100%;margin-top: 15%;height: 40%;">
                        <div class="layui-card-header">
                            <img src="../../img/console/xiexian.png" style="height: 20px;">
                            库存质量状态分布
                        </div>
                        <div class="layui-card-body" style="padding: 0;height: 90%;">
                        <div class="layui-card-body" style="margin-top: 5%;height: 90%;">
                            <div id="yuanOrder"
                                style="width: 100%; height: 100%; display: flex; align-items: center;justify-content: center;">
                            </div>
@@ -430,7 +430,7 @@
                            <table id="LAY-app-content-list2" lay-filter="LAY-app-content-list2"></table>
                        </div>
                    </div>
                    <div style="width: 100%;height: 33.33%;">
                    <!-- <div style="width: 100%;height: 33.33%;">
                        <div class="layui-card-header">
                            <img src="../../img/console/xiexian.png" style="height: 20px;">
                            月度出入库趋势
@@ -440,7 +440,7 @@
                                style="width: 100%; height: 100%; display: flex; align-items: center;justify-content: center;">
                            </div>
                        </div>
                    </div>
                    </div> -->
                </div>
            </div>
        </div>
@@ -652,57 +652,57 @@
            };
            //获取月度出入库趋势(折线)
            this.chartXian = echarts.init(document.getElementById("xianOrder"));
            var option3;
            // //获取月度出入库趋势(折线)
            // this.chartXian = echarts.init(document.getElementById("xianOrder"));
            // var option3;
            option3 = {
                title: {
                    text: ''
                },
                tooltip: {
                    trigger: 'axis'
                },
                legend: {
                    data: ['入库', '出库']
                },
                grid: {
                    top: '15%',
                    left: '5%',
                    bottom: '15%',
                    containLabel: true
                },
                toolbox: {
                    feature: {
                        //saveAsImage: {}//保存图片
                    }
                },
                xAxis: {
                    type: 'category',
                    boundaryGap: false,
                    data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
                    axisLine: { show: false }, // 隐藏 x 轴线
                    axisTick: { show: false }, // 隐藏 x 轴刻度线
                },
                yAxis: {
                    type: 'value'
                },
                series: [
                    {
                        name: '入库',
                        type: 'line',
                        stack: 'Total',
                        data: [120, 132, 101, 134, 90, 230, 210]
                    },
                    {
                        name: '出库',
                        type: 'line',
                        stack: 'Total',
                        data: [220, 182, 191, 234, 290, 330, 310]
                    }
                ]
            };
            this.chartXian.setOption(option3);
            // option3 = {
            //     title: {
            //         text: ''
            //     },
            //     tooltip: {
            //         trigger: 'axis'
            //     },
            //     legend: {
            //         data: ['入库', '出库']
            //     },
            //     grid: {
            //         top: '15%',
            //         left: '5%',
            //         bottom: '15%',
            //         containLabel: true
            //     },
            //     toolbox: {
            //         feature: {
            //             //saveAsImage: {}//保存图片
            //         }
            //     },
            //     xAxis: {
            //         type: 'category',
            //         boundaryGap: false,
            //         data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
            //         axisLine: { show: false }, // 隐藏 x 轴线
            //         axisTick: { show: false }, // 隐藏 x 轴刻度线
            //     },
            //     yAxis: {
            //         type: 'value'
            //     },
            //     series: [
            //         {
            //             name: '入库',
            //             type: 'line',
            //             stack: 'Total',
            //             data: [120, 132, 101, 134, 90, 230, 210]
            //         },
            //         {
            //             name: '出库',
            //             type: 'line',
            //             stack: 'Total',
            //             data: [220, 182, 191, 234, 290, 330, 310]
            //         }
            //     ]
            // };
            // this.chartXian.setOption(option3);
            //仓库状况总