This commit is contained in:
2025-07-09 10:12:24 +08:00
parent 8218b9d6d8
commit f361902186

View File

@@ -4,7 +4,7 @@
<div class="box body_container"> <div class="box body_container">
<div class="relative b_title"> <div class="relative b_title">
<span class="absolute sj_icon"></span> <span class="absolute sj_icon"></span>
<p>料箱库监控</p> <p>仓储使用情况</p>
</div> </div>
<div class="zd-row wraper_1 mgb8"> <div class="zd-row wraper_1 mgb8">
<div class="box zd-col-7 mgr8"> <div class="box zd-col-7 mgr8">
@@ -16,7 +16,7 @@
<p class="title">货位使用</p> <p class="title">货位使用</p>
<div class="zd-row wraper_4"> <div class="zd-row wraper_4">
<div class="box percent_item"> <div class="box percent_item">
<p>{{ pointUse.use_percentage }}</p> <p>{{ pointUse.use_percentage }}%</p>
</div> </div>
<div class="box zd-col-16 zd-row flexcol jccenter"> <div class="box zd-col-16 zd-row flexcol jccenter">
<div class="zd-row mgb8"> <div class="zd-row mgb8">
@@ -48,8 +48,7 @@
<div class="percent_i" :style="{'width': inw}"></div> <div class="percent_i" :style="{'width': inw}"></div>
</div> </div>
<div class="zd-row"> <div class="zd-row">
<p class="item_label font_2">总数量:<span class="c_y">{{ inqty1 }}</span></p> <p class="item_label font_2">总数量 : <span class="c_y">{{ inqty1 }}</span></p>
<p class="item_label font_2">箱数:<span class="c_y">{{ inqty2 }}</span></p>
</div> </div>
</div> </div>
</div> </div>
@@ -60,8 +59,7 @@
<div class="percent_i percent_i_c" :style="{'width': outw}"></div> <div class="percent_i percent_i_c" :style="{'width': outw}"></div>
</div> </div>
<div class="zd-row"> <div class="zd-row">
<p class="item_label font_2">总数量:<span class="c_y">{{ outqty1 }}</span></p> <p class="item_label font_2">总数量 : <span class="c_y">{{ outqty1 }}</span></p>
<p class="item_label font_2">箱数:<span class="c_y">{{ outqty2 }}</span></p>
</div> </div>
</div> </div>
</div> </div>
@@ -109,7 +107,7 @@
</div> </div>
<div class="relative b_title"> <div class="relative b_title">
<span class="absolute sj_icon"></span> <span class="absolute sj_icon"></span>
<p>托盘库监控</p> <p>任务单据监控</p>
</div> </div>
<div class="zd-row wraper_1"> <div class="zd-row wraper_1">
<div class="relative wraper_1 wraper_3 wraper_5 mgr8"> <div class="relative wraper_1 wraper_3 wraper_5 mgr8">
@@ -213,10 +211,8 @@ export default {
toDayInAndOut: {}, // 料箱今日出入库 toDayInAndOut: {}, // 料箱今日出入库
inw: '0', inw: '0',
inqty1: '0', inqty1: '0',
inqty2: '0',
outw: '0', outw: '0',
outqty1: '0', outqty1: '0'
outqty2: '0'
} }
}, },
computed: { computed: {
@@ -275,19 +271,17 @@ export default {
}, },
async _synthesizeInfo () { async _synthesizeInfo () {
let res = await synthesizeInfo() let res = await synthesizeInfo()
this.pointUse = res.pointUse this.pointUse = res.data.pointUse
this.toDayInAndOut = res.toDayInAndOut this.toDayInAndOut = res.data.toDayInAndOut
this.inw = this.getPercentage(this.toDayInAndOut.in.vehicle_qty, this.toDayInAndOut.in.total_qty) this.inw = this.getPercentage(this.toDayInAndOut.in.vehicle_qty, this.toDayInAndOut.in.total_qty)
this.inqty1 = this.toDayInAndOut.in.total_qty this.inqty1 = this.toDayInAndOut.in.total_qty
this.inqty2 = this.toDayInAndOut.in.vehicle_qty
this.outw = this.getPercentage(this.toDayInAndOut.out.vehicle_qty, this.toDayInAndOut.out.total_qty) this.outw = this.getPercentage(this.toDayInAndOut.out.vehicle_qty, this.toDayInAndOut.out.total_qty)
this.outqty1 = this.toDayInAndOut.out.total_qty this.outqty1 = this.toDayInAndOut.out.total_qty
this.outqty2 = this.toDayInAndOut.out.vehicle_qty this.lx_in_week = [...res.data.inAndOutTrend.in]
this.lx_in_week = [...res.inAndOutTrend.in] this.lx_out_week = [...res.data.inAndOutTrend.out]
this.lx_out_week = [...res.inAndOutTrend.out] this.lx_inventory = res.data.ivtAnalyse
this.lx_inventory = res.ivtAnalyse this.taskList = [...res.data.realTask]
this.taskList = [...res.realTask] this.billList = [...res.data.unIos]
this.billList = [...res.unIos]
this.setEchart1() this.setEchart1()
this.setEchart2() this.setEchart2()
// this.setEchart3() // this.setEchart3()
@@ -593,7 +587,7 @@ export default {
width 76px width 76px
background center / 100% auto url('../../images/pie-bg_2_s.png') no-repeat background center / 100% auto url('../../images/pie-bg_2_s.png') no-repeat
p p
font-size 12px font-size 15px
line-height 76px line-height 76px
color #fff color #fff
text-align center text-align center