接口
This commit is contained in:
264
src/config/mork01.js
Normal file
264
src/config/mork01.js
Normal file
File diff suppressed because one or more lines are too long
@@ -4,8 +4,8 @@ export const cockpitpress = () => {
|
||||
'PressOrderList': [
|
||||
{
|
||||
'planQty': '6000',
|
||||
'realQty': '7846',
|
||||
'rate': '1.31',
|
||||
'realQty': '6000',
|
||||
'rate': '1',
|
||||
'orderNumber': 'SY202401-04'
|
||||
},
|
||||
{
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="con3">
|
||||
<div class="title"><span class="dotIncon"></span><span class="tltxt">当月订单</span></div>
|
||||
<div class="title"><span class="dotIncon"></span><span class="tltxt">当日订单</span></div>
|
||||
<div class="item_content_1">
|
||||
<div id="echart_d2" style="width: 100%; height: 100%"></div>
|
||||
</div>
|
||||
@@ -101,8 +101,8 @@
|
||||
<script>
|
||||
import THeader from '@components/header3.vue'
|
||||
// import * as echarts from 'echarts'
|
||||
// import { cockpitpress } from '@js/getData1'
|
||||
import {cockpitpress} from '@js/mork1.js'
|
||||
import { cockpitpress } from '@js/getData1'
|
||||
// import {cockpitpress} from '@js/mork1.js'
|
||||
export default {
|
||||
name: 'ProdCount',
|
||||
components: {
|
||||
@@ -410,8 +410,11 @@ export default {
|
||||
// }
|
||||
// })
|
||||
this.PressOrderList.map(el => {
|
||||
if ((Number(el.planQty) + Number(el.realQty)) >= Number(max)) {
|
||||
max = Number(el.planQty) + Number(el.realQty)
|
||||
// if ((Number(el.planQty) + Number(el.realQty)) >= Number(max)) {
|
||||
// max = Number(el.planQty) + Number(el.realQty)
|
||||
// }
|
||||
if (Number(el.planQty) >= Number(max)) {
|
||||
max = Number(el.planQty)
|
||||
}
|
||||
})
|
||||
let option = {
|
||||
@@ -543,7 +546,8 @@ export default {
|
||||
},
|
||||
// data: [10, 20, 10, 10, 20, 20, 20],
|
||||
// data: this.MonthlyWorkOrder.map((it) => it.residue_num)
|
||||
data: this.PressOrderList.map((it) => it.realQty)
|
||||
// data: this.PressOrderList.map((it) => it.realQty)
|
||||
data: this.PressOrderList.map((it) => Number(it.planQty) - Number(it.realQty))
|
||||
}
|
||||
// {
|
||||
// type: 'bar',
|
||||
|
||||
@@ -161,8 +161,8 @@
|
||||
|
||||
<script>
|
||||
import THeader from '@components/header3.vue'
|
||||
// import {cockpitsorting} from '@js/getData1.js'
|
||||
import {cockpitsorting} from '@js/mork1.js'
|
||||
import {cockpitsorting} from '@js/getData1.js'
|
||||
// import {cockpitsorting} from '@js/mork1.js'
|
||||
export default {
|
||||
name: 'SortWorkMonitor',
|
||||
components: {
|
||||
|
||||
Reference in New Issue
Block a user