成型弹窗
This commit is contained in:
@@ -1597,3 +1597,471 @@ export const workshopCondition = () => {
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
||||
// 成型左
|
||||
// export const moldingMaterialCondition = () => post('api/cockpit/moldingMaterialCondition', {})
|
||||
export const moldingMaterialCondition = () => {
|
||||
let res = {
|
||||
'code': 200,
|
||||
'desc': '操作成功',
|
||||
'result': {
|
||||
'ManipulatorList': [
|
||||
{
|
||||
'device_status': 2,
|
||||
'device_name': '码垛机械手1',
|
||||
'device_status_name': '运行中',
|
||||
'error_time': '0',
|
||||
'stand_time': '2',
|
||||
'device_code': 'MDJXS01',
|
||||
'open_time': '2023-06-02 11:12:02',
|
||||
'work_time': '7'
|
||||
},
|
||||
{
|
||||
'device_status': 2,
|
||||
'device_name': '码垛机械手2',
|
||||
'device_status_name': '运行中',
|
||||
'error_time': '0',
|
||||
'stand_time': '2',
|
||||
'device_code': 'MDJXS02',
|
||||
'open_time': '2023-06-02 11:12:02',
|
||||
'work_time': '7'
|
||||
},
|
||||
{
|
||||
'device_status': 2,
|
||||
'device_name': '码垛机械手3',
|
||||
'device_status_name': '运行中',
|
||||
'error_time': '0',
|
||||
'stand_time': '2',
|
||||
'device_code': 'MDJXS03',
|
||||
'open_time': '2023-06-02 11:12:02',
|
||||
'work_time': '7'
|
||||
},
|
||||
{
|
||||
'device_status': 2,
|
||||
'device_name': '码垛机械手4',
|
||||
'device_status_name': '运行中',
|
||||
'error_time': '0',
|
||||
'stand_time': '2',
|
||||
'device_code': 'MDJXS04',
|
||||
'open_time': '2023-06-02 11:12:02',
|
||||
'work_time': '7'
|
||||
}
|
||||
],
|
||||
'TrayStationPopoverList': [
|
||||
{
|
||||
'bom': '3038C2',
|
||||
'device_name': '压机1',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ01',
|
||||
'point_name': '压机1下料位1',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ01XL01',
|
||||
'point_status': '1',
|
||||
'material_code': 'GBMAC3038C2'
|
||||
},
|
||||
{
|
||||
'bom': '3038C2',
|
||||
'device_name': '压机1',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ01',
|
||||
'point_name': '压机1下料位2',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ01XL02',
|
||||
'point_status': '1',
|
||||
'material_code': 'GBMAC3038C2'
|
||||
},
|
||||
{
|
||||
'bom': '3015C2',
|
||||
'device_name': '压机2',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ02',
|
||||
'point_name': '压机2下料位1',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ02XL01',
|
||||
'point_status': '1',
|
||||
'material_code': 'GBMAC3015C2'
|
||||
},
|
||||
{
|
||||
'bom': '3015C2',
|
||||
'device_name': '压机2',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ02',
|
||||
'point_name': '压机2下料位2',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ02XL02',
|
||||
'point_status': '1',
|
||||
'material_code': 'GBMAC3015C2'
|
||||
},
|
||||
{
|
||||
'bom': '3003C1',
|
||||
'device_name': '压机3',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ03',
|
||||
'point_name': '压机3下料位1',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ03XL01',
|
||||
'point_status': '1',
|
||||
'material_code': 'GBMAC3003C1'
|
||||
},
|
||||
{
|
||||
'bom': '3003C1',
|
||||
'device_name': '压机3',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ03',
|
||||
'point_name': '压机3下料位2',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ03XL02',
|
||||
'point_status': '1',
|
||||
'material_code': 'GBMAC3003C1'
|
||||
},
|
||||
{
|
||||
'bom': '3003C1',
|
||||
'device_name': '压机4',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ04',
|
||||
'point_name': '压机4下料位1',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ04XL01',
|
||||
'point_status': '1',
|
||||
'material_code': 'GBMAC3003C1'
|
||||
},
|
||||
{
|
||||
'bom': '3003C1',
|
||||
'device_name': '压机4',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ04',
|
||||
'point_name': '压机4下料位2',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ04XL02',
|
||||
'point_status': '1',
|
||||
'material_code': 'GBMAC3003C1'
|
||||
},
|
||||
{
|
||||
'bom': '-',
|
||||
'device_name': '压机5',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ05',
|
||||
'point_name': '压机5下料位1',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ05XL01',
|
||||
'point_status': '1',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'bom': '-',
|
||||
'device_name': '压机5',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ05',
|
||||
'point_name': '压机5下料位2',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ05XL02',
|
||||
'point_status': '1',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'bom': '-',
|
||||
'device_name': '压机6',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ06',
|
||||
'point_name': '压机6下料位1',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ06XL01',
|
||||
'point_status': '1',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'bom': '-',
|
||||
'device_name': '压机6',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ06',
|
||||
'point_name': '压机6下料位2',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ06XL02',
|
||||
'point_status': '1',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'bom': '-',
|
||||
'device_name': '压机7',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ07',
|
||||
'point_name': '压机7下料位1',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ07XL01',
|
||||
'point_status': '1',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'bom': '-',
|
||||
'device_name': '压机7',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ07',
|
||||
'point_name': '压机7下料位2',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ07XL02',
|
||||
'point_status': '1',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'bom': '-',
|
||||
'device_name': '压机8',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ08',
|
||||
'point_name': '压机8下料位1',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ08XL01',
|
||||
'point_status': '1',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'bom': '-',
|
||||
'device_name': '压机8',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ08',
|
||||
'point_name': '压机8下料位2',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ08XL02',
|
||||
'point_status': '1',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'bom': '-',
|
||||
'device_name': '压机9',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ09',
|
||||
'point_name': '压机9下料位1',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ09XL01',
|
||||
'point_status': '1',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'bom': '-',
|
||||
'device_name': '压机9',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ09',
|
||||
'point_name': '压机9下料位2',
|
||||
'vehicle_code': '0000',
|
||||
'point_code': 'YJ09XL02',
|
||||
'point_status': '1',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'bom': '-',
|
||||
'device_name': '压机10',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ10',
|
||||
'point_name': '压机10下料位1',
|
||||
'vehicle_code': '',
|
||||
'point_code': 'YJ10XL01',
|
||||
'point_status': '0',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'bom': '-',
|
||||
'device_name': '压机10',
|
||||
'is_full': '否',
|
||||
'material_qty': '0',
|
||||
'device_code': 'YJ10',
|
||||
'point_name': '压机10下料位2',
|
||||
'vehicle_code': '',
|
||||
'point_code': 'YJ10XL02',
|
||||
'point_status': '0',
|
||||
'material_code': '-'
|
||||
}
|
||||
],
|
||||
'PressPopoverList': [
|
||||
{
|
||||
'total_unqualified_qty': '0',
|
||||
'device_status': 2,
|
||||
'total_qualified_qty': '0',
|
||||
'error_time': '0',
|
||||
'stand_time': '2',
|
||||
'total_classify_material': '0',
|
||||
'total_actual_quantity': '0',
|
||||
'open_time': '2023-06-02 11:12:02',
|
||||
'current_qty': '1200',
|
||||
'device_name': '压机1',
|
||||
'device_status_name': '运行中',
|
||||
'device_code': 'YJ01',
|
||||
'work_time': '7',
|
||||
'total_vehicle': '0',
|
||||
'material_code': 'GBMAC3038C2'
|
||||
},
|
||||
{
|
||||
'total_unqualified_qty': '0',
|
||||
'device_status': 2,
|
||||
'total_qualified_qty': '0',
|
||||
'error_time': '0',
|
||||
'stand_time': '2',
|
||||
'total_classify_material': '0',
|
||||
'total_actual_quantity': '0',
|
||||
'open_time': '2023-06-02 11:12:02',
|
||||
'current_qty': '0',
|
||||
'device_name': '压机2',
|
||||
'device_status_name': '运行中',
|
||||
'device_code': 'YJ02',
|
||||
'work_time': '7',
|
||||
'total_vehicle': '0',
|
||||
'material_code': 'GBMAC3015C2'
|
||||
},
|
||||
{
|
||||
'total_unqualified_qty': '0',
|
||||
'device_status': 2,
|
||||
'total_qualified_qty': '0',
|
||||
'error_time': '0',
|
||||
'stand_time': '2',
|
||||
'total_classify_material': '0',
|
||||
'total_actual_quantity': '0',
|
||||
'open_time': '2023-06-02 11:12:02',
|
||||
'current_qty': '5000',
|
||||
'device_name': '压机3',
|
||||
'device_status_name': '运行中',
|
||||
'device_code': 'YJ03',
|
||||
'work_time': '7',
|
||||
'total_vehicle': '0',
|
||||
'material_code': 'GBMAC3003C1'
|
||||
},
|
||||
{
|
||||
'total_unqualified_qty': '0',
|
||||
'device_status': 2,
|
||||
'total_qualified_qty': '0',
|
||||
'error_time': '0',
|
||||
'stand_time': '2',
|
||||
'total_classify_material': '0',
|
||||
'total_actual_quantity': '0',
|
||||
'open_time': '2023-06-02 11:12:02',
|
||||
'current_qty': '1000',
|
||||
'device_name': '压机4',
|
||||
'device_status_name': '运行中',
|
||||
'device_code': 'YJ04',
|
||||
'work_time': '7',
|
||||
'total_vehicle': '0',
|
||||
'material_code': 'GBMAC3003C1'
|
||||
},
|
||||
{
|
||||
'total_unqualified_qty': '0',
|
||||
'device_status': 1,
|
||||
'total_qualified_qty': '0',
|
||||
'error_time': '0',
|
||||
'stand_time': '5',
|
||||
'total_classify_material': '0',
|
||||
'total_actual_quantity': '0',
|
||||
'open_time': '-',
|
||||
'current_qty': '0',
|
||||
'device_name': '压机5',
|
||||
'device_status_name': '待机',
|
||||
'device_code': 'YJ05',
|
||||
'work_time': '0.5',
|
||||
'total_vehicle': '0',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'total_unqualified_qty': '0',
|
||||
'device_status': 1,
|
||||
'total_qualified_qty': '0',
|
||||
'error_time': '0',
|
||||
'stand_time': '5',
|
||||
'total_classify_material': '0',
|
||||
'total_actual_quantity': '0',
|
||||
'open_time': '-',
|
||||
'current_qty': '0',
|
||||
'device_name': '压机6',
|
||||
'device_status_name': '待机',
|
||||
'device_code': 'YJ06',
|
||||
'work_time': '0.5',
|
||||
'total_vehicle': '0',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'total_unqualified_qty': '0',
|
||||
'device_status': 1,
|
||||
'total_qualified_qty': '0',
|
||||
'error_time': '0',
|
||||
'stand_time': '5',
|
||||
'total_classify_material': '0',
|
||||
'total_actual_quantity': '0',
|
||||
'open_time': '-',
|
||||
'current_qty': '0',
|
||||
'device_name': '压机7',
|
||||
'device_status_name': '待机',
|
||||
'device_code': 'YJ07',
|
||||
'work_time': '0.5',
|
||||
'total_vehicle': '0',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'total_unqualified_qty': '0',
|
||||
'device_status': 1,
|
||||
'total_qualified_qty': '0',
|
||||
'error_time': '0',
|
||||
'stand_time': '5',
|
||||
'total_classify_material': '0',
|
||||
'total_actual_quantity': '0',
|
||||
'open_time': '-',
|
||||
'current_qty': '0',
|
||||
'device_name': '压机8',
|
||||
'device_status_name': '待机',
|
||||
'device_code': 'YJ08',
|
||||
'work_time': '0.5',
|
||||
'total_vehicle': '0',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'total_unqualified_qty': '0',
|
||||
'device_status': 1,
|
||||
'total_qualified_qty': '0',
|
||||
'error_time': '0',
|
||||
'stand_time': '5',
|
||||
'total_classify_material': '0',
|
||||
'total_actual_quantity': '0',
|
||||
'open_time': '-',
|
||||
'current_qty': '0',
|
||||
'device_name': '压机9',
|
||||
'device_status_name': '待机',
|
||||
'device_code': 'YJ09',
|
||||
'work_time': '0.5',
|
||||
'total_vehicle': '0',
|
||||
'material_code': '-'
|
||||
},
|
||||
{
|
||||
'total_unqualified_qty': '0',
|
||||
'device_status': 1,
|
||||
'total_qualified_qty': '0',
|
||||
'error_time': '0',
|
||||
'stand_time': '5',
|
||||
'total_classify_material': '0',
|
||||
'total_actual_quantity': '0',
|
||||
'open_time': '-',
|
||||
'current_qty': '0',
|
||||
'device_name': '压机10',
|
||||
'device_status_name': '待机',
|
||||
'device_code': 'YJ10',
|
||||
'work_time': '0.5',
|
||||
'total_vehicle': '0',
|
||||
'material_code': '-'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user