This commit is contained in:
2023-11-06 14:12:46 +08:00
parent 0f08c84e53
commit c2e8855cae

View File

@@ -91,199 +91,11 @@ export default {
PersonnelMonthlyProduction: [],
ProductionTask: [],
ShiftProductionList: [],
arr2: [
{
operator: '张工',
real_qty: '150'
},
{
operator: '李工',
real_qty: '110'
},
{
operator: '王工',
real_qty: '130'
},
{
operator: '赵工',
real_qty: '100'
},
{
operator: '刘工',
real_qty: '120'
}
],
echartData01: [
{
material_code: '压机1',
region_in_qty: '150',
region_out_qty: '100',
inventory_qty: '120'
},
{
material_code: '压机2',
region_in_qty: '180',
region_out_qty: '110',
inventory_qty: '120'
},
{
material_code: '压机3',
region_in_qty: '120',
region_out_qty: '100',
inventory_qty: '150'
},
{
material_code: '压机4',
region_in_qty: '100',
region_out_qty: '170',
inventory_qty: '120'
},
{
material_code: '压机5',
region_in_qty: '150',
region_out_qty: '100',
inventory_qty: '200'
}
],
resData: {},
workOrder: [
{
device_code: '压力机1',
bill_code: 'DD001',
bc_type: '白班',
material_name: '1号砖',
cust: '新余钢铁',
plan_start: '10-11 09:01',
plan_num: '5000',
fini_num: '5200',
no_ok: '100',
ok_rate: '92.02%',
status: '生产完成',
work_man: '工人1',
start_time: '10-11 09:01',
fini_time: '10-11 19:20'
},
{
device_code: '压力机2',
bill_code: 'DD002',
bc_type: '白班',
material_name: '2号砖',
cust: '新余钢铁',
plan_start: '10-12 09:01',
plan_num: '5000',
fini_num: '5200',
no_ok: '100',
ok_rate: '92.02%',
status: '生产完成',
work_man: '工人2',
start_time: '10-12 09:02',
fini_time: '10-12 19:20'
},
{
device_code: '压力机3',
bill_code: 'DD003',
bc_type: '晚班',
material_name: '3号砖',
cust: '新余钢铁',
plan_start: '10-11 09:01',
plan_num: '5000',
fini_num: '5200',
no_ok: '100',
ok_rate: '92.02%',
status: '生产完成',
work_man: '工人3',
start_time: '10-11 09:01',
fini_time: '10-11 19:20'
},
{
device_code: '压力机4',
bill_code: 'DD004',
bc_type: '白班',
material_name: '4号砖',
cust: '新余钢铁',
plan_start: '10-11 09:01',
plan_num: '5000',
fini_num: '5200',
no_ok: '100',
ok_rate: '92.02%',
status: '生产完成',
work_man: '工人4',
start_time: '10-11 09:01',
fini_time: '10-11 19:20'
},
{
device_code: '压力机5',
bill_code: 'DD005',
bc_type: '晚班',
material_name: '5号砖',
cust: '新余钢铁',
plan_start: '10-11 09:01',
plan_num: '5000',
fini_num: '5200',
no_ok: '100',
ok_rate: '92.02%',
status: '生产完成',
work_man: '工人5',
start_time: '10-11 09:01',
fini_time: '10-11 19:20'
},
{
device_code: '压力机6',
bill_code: 'DD006',
bc_type: '晚班',
material_name: '6号砖',
cust: '新余钢铁',
plan_start: '10-11 09:01',
plan_num: '5000',
fini_num: '5200',
no_ok: '100',
ok_rate: '92.02%',
status: '生产完成',
work_man: '工人6',
start_time: '10-11 09:01',
fini_time: '10-11 19:20'
},
{
device_code: '压力机7',
bill_code: 'DD007',
bc_type: '晚班',
material_name: '7号砖',
cust: '新余钢铁',
plan_start: '10-11 09:01',
plan_num: '5000',
fini_num: '5200',
no_ok: '100',
ok_rate: '92.02%',
status: '生产完成',
work_man: '工人7',
start_time: '10-11 09:01',
fini_time: '10-11 19:20'
},
{
device_code: '压力机8',
bill_code: 'DD008',
bc_type: '晚班',
material_name: '8号砖',
cust: '新余钢铁',
plan_start: '10-11 09:01',
plan_num: '5000',
fini_num: '5200',
no_ok: '100',
ok_rate: '92.02%',
status: '生产完成',
work_man: '工人8',
start_time: '10-11 09:01',
fini_time: '10-11 19:20'
}
]
}
},
computed: {
classOption () {
// return {
// step: 0.4,
// limitMoveNum: 6
// }
return {
step: 0.4, // 数值越大速度滚动越快
limitMoveNum: 8, // 开始无缝滚动的数据量 this.dataList.length
@@ -314,7 +126,6 @@ export default {
let res = await cockpitpress()
clearInterval(this.timeOut)
this.resData = res
// this.workOrder = [...res.workOrder]
// this.showNum1 = '3020'
// this.showNum2 = '3000'
// this.showNum3 = '220'