diff --git a/src/pages/modules/index2.vue b/src/pages/modules/index2.vue index 080c39b..0a69569 100644 --- a/src/pages/modules/index2.vue +++ b/src/pages/modules/index2.vue @@ -4,7 +4,7 @@
-

料箱库监控

+

仓储使用情况

@@ -16,7 +16,7 @@

货位使用

-

{{ pointUse.use_percentage }}

+

{{ pointUse.use_percentage }}%

@@ -48,8 +48,7 @@
-

总数量:{{ inqty1 }}

-

箱数:{{ inqty2 }}

+

总数量 : {{ inqty1 }}

@@ -60,8 +59,7 @@
-

总数量:{{ outqty1 }}

-

箱数:{{ outqty2 }}

+

总数量 : {{ outqty1 }}

@@ -109,7 +107,7 @@
-

托盘库监控

+

任务单据监控

@@ -213,10 +211,8 @@ export default { toDayInAndOut: {}, // 料箱今日出入库 inw: '0', inqty1: '0', - inqty2: '0', outw: '0', - outqty1: '0', - outqty2: '0' + outqty1: '0' } }, computed: { @@ -275,19 +271,17 @@ export default { }, async _synthesizeInfo () { let res = await synthesizeInfo() - this.pointUse = res.pointUse - this.toDayInAndOut = res.toDayInAndOut + this.pointUse = res.data.pointUse + this.toDayInAndOut = res.data.toDayInAndOut this.inw = this.getPercentage(this.toDayInAndOut.in.vehicle_qty, 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.outqty1 = this.toDayInAndOut.out.total_qty - this.outqty2 = this.toDayInAndOut.out.vehicle_qty - this.lx_in_week = [...res.inAndOutTrend.in] - this.lx_out_week = [...res.inAndOutTrend.out] - this.lx_inventory = res.ivtAnalyse - this.taskList = [...res.realTask] - this.billList = [...res.unIos] + this.lx_in_week = [...res.data.inAndOutTrend.in] + this.lx_out_week = [...res.data.inAndOutTrend.out] + this.lx_inventory = res.data.ivtAnalyse + this.taskList = [...res.data.realTask] + this.billList = [...res.data.unIos] this.setEchart1() this.setEchart2() // this.setEchart3() @@ -593,7 +587,7 @@ export default { width 76px background center / 100% auto url('../../images/pie-bg_2_s.png') no-repeat p - font-size 12px + font-size 15px line-height 76px color #fff text-align center