Files
screen-huahong/src/config/mork1.js
2024-03-05 10:26:02 +08:00

355 lines
9.3 KiB
JavaScript

/** 压制看板 */
export const cockpitpress = () => {
let res = {
'PressOrderList': [
{
'planQty': '6000',
'realQty': '7846',
'rate': '1.31',
'orderNumber': 'SY202401-04'
},
{
'planQty': '1000',
'realQty': '756',
'rate': '0.76',
'orderNumber': 'NY202401-03'
},
{
'planQty': '1000',
'realQty': '378',
'rate': '0.38',
'orderNumber': 'DX202401-01'
}
],
'ProductionTask': [
{
'device': '压机01',
'workorderCode': '240123001',
'team': '白班',
'materialName': '004',
'customer': '实业股份',
'planproducestartDate': '2024-01-23 08:28:14',
'planQty': '1000',
'realQty': '1015',
'unqualifiedQty': '0',
'qualifiedRate': '10.0',
'workorderStatus': '生产中',
'operator': '管理员',
'realproducestartDate': '2024-01-23 08:31:28',
'realproduceendDate': '-'
},
{
'device': '压机02',
'workorderCode': '240123002',
'team': '白班',
'materialName': '004',
'customer': '实业股份',
'planproducestartDate': '2024-01-23 08:28:59',
'planQty': '1000',
'realQty': '1008',
'unqualifiedQty': '0',
'qualifiedRate': '10.0',
'workorderStatus': '生产中',
'operator': '管理员',
'realproducestartDate': '2024-01-23 08:31:36',
'realproduceendDate': '-'
},
{
'device': '压机03',
'workorderCode': '240123003',
'team': '白班',
'materialName': '004',
'customer': '实业股份',
'planproducestartDate': '2024-01-23 08:29:30',
'planQty': '1000',
'realQty': '1287',
'unqualifiedQty': '0',
'qualifiedRate': '10.0',
'workorderStatus': '生产中',
'operator': '管理员',
'realproducestartDate': '2024-01-23 08:31:42',
'realproduceendDate': '-'
},
{
'device': '压机04',
'workorderCode': '240123004',
'team': '白班',
'materialName': '004',
'customer': '实业股份',
'planproducestartDate': '2024-01-23 08:29:55',
'planQty': '1000',
'realQty': '1260',
'unqualifiedQty': '0',
'qualifiedRate': '10.0',
'workorderStatus': '生产中',
'operator': '管理员',
'realproducestartDate': '2024-01-23 08:31:50',
'realproduceendDate': '-'
},
{
'device': '压机05',
'workorderCode': '240123005',
'team': '白班',
'materialName': '004',
'customer': '实业股份',
'planproducestartDate': '2024-01-23 08:34:27',
'planQty': '1000',
'realQty': '1764',
'unqualifiedQty': '0',
'qualifiedRate': '10.0',
'workorderStatus': '生产中',
'operator': '管理员',
'realproducestartDate': '2024-01-23 08:40:05',
'realproduceendDate': '-'
},
{
'device': '压机06',
'workorderCode': '240123006',
'team': '白班',
'materialName': '004',
'customer': '实业股份',
'planproducestartDate': '2024-01-23 08:34:57',
'planQty': '1000',
'realQty': '1512',
'unqualifiedQty': '0',
'qualifiedRate': '10.0',
'workorderStatus': '生产中',
'operator': '管理员',
'realproducestartDate': '2024-01-23 08:40:13',
'realproduceendDate': '-'
},
{
'device': '压机07',
'workorderCode': '240123007',
'team': '白班',
'materialName': '003',
'customer': '镍业',
'planproducestartDate': '2024-01-23 08:37:14',
'planQty': '1000',
'realQty': '756',
'unqualifiedQty': '0',
'qualifiedRate': '10.0',
'workorderStatus': '生产中',
'operator': '管理员',
'realproducestartDate': '2024-01-23 08:40:18',
'realproduceendDate': '-'
},
{
'device': '压机08',
'workorderCode': '240123008',
'team': '白班',
'materialName': '001',
'customer': '鼎新',
'planproducestartDate': '2024-01-23 08:37:59',
'planQty': '1000',
'realQty': '378',
'unqualifiedQty': '0',
'qualifiedRate': '10.0',
'workorderStatus': '生产中',
'operator': '管理员',
'realproducestartDate': '2024-01-23 08:40:23',
'realproduceendDate': '-'
}
],
'DayShiftInfo': [
{
'planQty': '8000',
'realQty': '8980',
'unqualifiedQty': '0',
'qualifiedQty': '800',
'team': '白班'
}
],
'ShiftProductionList': [
{
'columnName': '压机01',
'qualifiedQty': '100',
'unqualifiedQty': '0',
'lastQty': '900'
},
{
'columnName': '压机02',
'qualifiedQty': '100',
'unqualifiedQty': '0',
'lastQty': '900'
},
{
'columnName': '压机03',
'qualifiedQty': '100',
'unqualifiedQty': '0',
'lastQty': '900'
},
{
'columnName': '压机04',
'qualifiedQty': '100',
'unqualifiedQty': '0',
'lastQty': '900'
},
{
'columnName': '压机05',
'qualifiedQty': '100',
'unqualifiedQty': '0',
'lastQty': '900'
},
{
'columnName': '压机06',
'qualifiedQty': '100',
'unqualifiedQty': '0',
'lastQty': '900'
},
{
'columnName': '压机07',
'qualifiedQty': '100',
'unqualifiedQty': '0',
'lastQty': '900'
},
{
'columnName': '压机08',
'qualifiedQty': '100',
'unqualifiedQty': '0',
'lastQty': '900'
}
]
}
return res
}
/** 分拣作业监控 */
export const cockpitsorting = () => {
let res = {
'sortingLine': [
{
'workorderCode': '240119006',
'pointName': '分拣拆垛机械手01',
'customer': '实业股份',
'materialName': '004',
'materialSpec': 'ZX',
'planQty': '500',
'realQty': '0'
},
{
'workorderCode': '240228001',
'pointName': '分拣拆垛机械手02',
'customer': '实业股份',
'materialName': '004',
'materialSpec': 'ZX',
'planQty': '1000',
'realQty': '0'
},
{
'workorderCode': '240228002',
'pointName': '人工分拣拆01',
'customer': '沙湾',
'materialName': '004',
'materialSpec': 'ZX',
'planQty': '500',
'realQty': '0'
}
],
'unstackingList': [
{
'vehicleCode': '0014',
'materialQty': '0',
'materialWeight': '0.00',
'materialName': '004',
'createTime': '03-04 16:13:37'
},
{
'vehicleCode': '0005',
'materialQty': '252',
'materialWeight': '0.00',
'materialName': '004',
'createTime': '03-04 15:22:50'
},
{
'vehicleCode': '0040',
'materialQty': '126',
'materialWeight': '0.00',
'materialName': '004',
'createTime': '03-04 14:42:00'
},
{
'vehicleCode': '0050',
'materialQty': '0',
'materialWeight': '0.00',
'materialName': '004',
'createTime': '03-04 13:21:53'
},
{
'vehicleCode': '1069',
'materialQty': '252',
'materialWeight': '0.00',
'materialName': null,
'createTime': '03-04 13:21:01'
},
{
'vehicleCode': '1066',
'materialQty': '0',
'materialWeight': '0.00',
'materialName': '004',
'createTime': '03-04 12:23:39'
},
{
'vehicleCode': '0006',
'materialQty': '0',
'materialWeight': '0.00',
'materialName': '004',
'createTime': '03-04 11:05:11'
},
{
'vehicleCode': '1055',
'materialQty': '0',
'materialWeight': '0.00',
'materialName': '004',
'createTime': '03-04 10:48:18'
},
{
'vehicleCode': '0048',
'materialQty': '0',
'materialWeight': '0.00',
'materialName': '004',
'createTime': '03-04 09:58:48'
},
{
'vehicleCode': '0011',
'materialQty': '0',
'materialWeight': '0.00',
'materialName': '004',
'createTime': '03-04 09:16:21'
},
{
'vehicleCode': '0046',
'materialQty': '0',
'materialWeight': '0.00',
'materialName': '004',
'createTime': '03-04 08:56:25'
}
],
'lastWorkOrderList': [
{
'workorderCode': '240119006',
'materialName': '004',
'materialSpec': 'ZX',
'planQty': '500',
'planWeight': '0',
'produceOrder': 'SY202401-04',
'customer': '实业股份',
'vehicleType': '1030*930',
'createTime': '01-19 18:04:57'
},
{
'workorderCode': '240228001',
'materialName': '004',
'materialSpec': 'ZX',
'planQty': '1000',
'planWeight': '0',
'produceOrder': 'SY202401-04',
'customer': '实业股份',
'vehicleType': '950*930',
'createTime': '02-28 09:50:48'
}
]
}
return res
}