This commit is contained in:
2023-03-07 09:06:36 +08:00
parent 7ffa0fcdea
commit 567c7b76ce
4 changed files with 936 additions and 33 deletions

View File

@@ -10,23 +10,28 @@ export const storageMonitor = () => {
'point_id': '1597551506607968256',
'point_code': 'YZJHJ04',
'point_name': '压制机旧料盅货架04',
'point_status': '1',
'material_id': 1556534702800769024,
'material_code': 'HW00001',
'material_name': '木质花纹2cm',
'vehicle_code': '1M3000009',
'ivt_qty': 1000.000000,
'ivt_weight': 800.000000,
'instorage_time': '2023-2-27 16:07:09',
'standing_time': 20,
'standing_status': null,
'warn_time': '5',
'is_full': '1'
}
],
'materialTask': [
{
'point_id': '1518061204965298176',
'point_code': 'YZJ0904',
'point_name': '压制机9料盅4',
'point_id': '1597551506607968256',
'point_code': 'YZJHJ04',
'point_name': '压制机料盅货架04',
'point_status': '1',
'material_id': 1556534702800769024,
'material_code': 'HW00001',
'material_name': '木质花纹2cm',
'vehicle_code': '1M3000009',
'ivt_qty': 1000.000000,
@@ -34,7 +39,46 @@ export const storageMonitor = () => {
'instorage_time': '2023-2-27 16:07:09',
'standing_time': 20,
'standing_status': '静置完成',
'warn_time': '5'
'warn_time': '5',
'is_full': '是'
}
],
'productionList': [
{
'point_id': '1597551506607968256',
'point_code': 'YZJHJ04',
'point_name': '压制机旧料盅货架04',
'point_status': '1',
'material_id': 1556534702800769024,
'material_code': 'HW00001',
'material_name': '木质花纹2cm',
'vehicle_code': '1M3000009',
'ivt_qty': 1000.000000,
'ivt_weight': 800.000000,
'instorage_time': '2023-2-27 16:07:09',
'standing_time': 20,
'standing_status': null,
'warn_time': '5',
'is_full': '1'
}
],
'materialList': [
{
'point_id': '1597551506607968256',
'point_code': 'YZJHJ04',
'point_name': '压制机旧料盅货架04',
'point_status': '1',
'material_id': 1556534702800769024,
'material_code': 'HW00001',
'material_name': '木质花纹2cm',
'vehicle_code': '1M3000009',
'ivt_qty': 1000.000000,
'ivt_weight': 800.000000,
'instorage_time': '2023-2-27 16:07:09',
'standing_time': 20,
'standing_status': '静置完成',
'warn_time': '5',
'is_full': '是'
}
]
}
@@ -48,40 +92,67 @@ export const productionStatistics = () => {
let res = {
'finishedTask': [
{
'realqty': '130',
'planqty': '300',
'workorder_procedure': '2'
'workorder_procedure': '今日压制量',
'real_qty': 130
},
{
'realqty': '160',
'planqty': '200',
'workorder_procedure': '3'
'workorder_procedure': '今日干燥量',
'real_qty': 160
},
{
'realqty': '70',
'planqty': '100',
'workorder_procedure': '4'
'workorder_procedure': '今日成品量',
'real_qty': 70
}
],
'planRes': [
{
'workorder_procedure': '压制',
'plan_qty': 300,
'real_qty': 130
},
{
'workorder_procedure': '干燥',
'plan_qty': 200,
'real_qty': 160
},
{
'workorder_procedure': '包装',
'plan_qty': 100,
'real_qty': 70
}
],
'materialTask': [
{
'plan_qty': '600',
'real_qty': '360'
}
],
'productionTask': [
{
'workorder_id': '1597564588067524613',
'label': '烧制工序',
'label': '烧制',
'device_name': '混料机3',
'material_code': 'HW00001',
'material_name': '木质花纹2cm',
'cust_name': '新余钢铁',
'plan_qty': 100,
'real_qty': 80,
'order_status': '5',
'order_status': '完成',
'shift_type': '烧制白班',
'realproducestart_date': '2023-2-27 12:40:00'
}
],
'materialTask': [
},
{
'realqty': '360',
'planqty': '600'
'workorder_id': '1597564588067524608',
'label': '压制',
'device_name': '混料机3',
'material_code': 'HW00001',
'material_name': '木质花纹2cm',
'cust_name': '新余钢铁',
'plan_qty': 100,
'real_qty': 0,
'order_status': '暂停',
'shift_type': '压制白班',
'realproducestart_date': '2023-2-27 09:15:00'
}
]
}