修改接口

master
夜笙歌 8 months ago
parent 5ac5bb6c2d
commit 2071428c38

@ -43,6 +43,9 @@
<div style="width: 12px;height: 12px;background-color: #ff8000;display: inline-block;margin: 0 8px;"></div> <div style="width: 12px;height: 12px;background-color: #ff8000;display: inline-block;margin: 0 8px;"></div>
出模位 出模位
</div> </div>
<div style="position: absolute;top: 62%; left: 20%;color:#FFF">
门体发泡总产量{{ total }}
</div>
<div class="scrollTable"> <div class="scrollTable">
<div style="background-color: #094170"> <div style="background-color: #094170">
@ -156,6 +159,7 @@ export default {
name: "Liner", name: "Liner",
data() { data() {
return { return {
total:'',
title: [ title: [
'箱体队列', '箱体队列',
'箱体队列统计', '箱体队列统计',
@ -740,6 +744,13 @@ export default {
i: "scada_pp_pro_stat_01('')", i: "scada_pp_pro_stat_01('')",
f: (e) => { f: (e) => {
this.bottomTableData = e this.bottomTableData = e
let a = 0
let b = 0
e.forEach(v=>{
a += parseFloat(v.COLUMN_C.split('-')[0])
b += parseFloat(v.COLUMN_C.split('-')[1])
})
this.total = a+' - '+b
} }
}, },
{ {

Loading…
Cancel
Save