getdata
This commit is contained in:
@@ -3,97 +3,5 @@ import {post} from '@js/http.js'
|
||||
/** 压制看板 */
|
||||
export const cockpitpress = (id) => post('api/cockpit/press', {})
|
||||
|
||||
export const sortProductionMonitor = () => {
|
||||
let res = {
|
||||
// 当前工单信息
|
||||
'current': {
|
||||
// 物料
|
||||
'materialName': '转炉镁碳砖MASC-65鞍钢23Z001',
|
||||
// 当前工单
|
||||
'workOrderCode': '230919001',
|
||||
// 数量
|
||||
'qty': '10000块',
|
||||
// 重量
|
||||
'weight': '10.00吨',
|
||||
// 是否留有半托
|
||||
'hasHalf': '否',
|
||||
// 订单号
|
||||
'orderCode': '',
|
||||
// 规格
|
||||
'spec': '11/11',
|
||||
// 托盘类型
|
||||
'vehicleType': '一类木托盘',
|
||||
// 客户
|
||||
'customer': '客户'
|
||||
},
|
||||
// 已拆垛
|
||||
'depalletize': {
|
||||
// 未完成
|
||||
'uncompleted': 10000,
|
||||
// 已完成
|
||||
'completed': 0
|
||||
},
|
||||
// 已码垛
|
||||
'palletize': {
|
||||
// 未完成
|
||||
'uncompleted': 50,
|
||||
// 已完成
|
||||
'completed': 50
|
||||
},
|
||||
// 已拆垛信息
|
||||
'depalletizedVehicle': [
|
||||
{
|
||||
// 物料
|
||||
'materialName': 'aaa',
|
||||
// 时间
|
||||
'datetime': '2023-09-14 14:23:57',
|
||||
// 数量
|
||||
'qty': '18块',
|
||||
// 托盘号
|
||||
'vehicleCode': 'M0002',
|
||||
// 重量
|
||||
'weight': '0.18吨'
|
||||
}
|
||||
],
|
||||
// 已码垛信息
|
||||
'palletizedVehicle': [
|
||||
{
|
||||
// 物料
|
||||
'materialName': 'aaa',
|
||||
// 时间
|
||||
'datetime': '2023-09-14 14:23:57',
|
||||
// 数量
|
||||
'qty': '18块',
|
||||
// 托盘号
|
||||
'vehicleCode': 'M0002',
|
||||
// 重量
|
||||
'weight': '0.18吨'
|
||||
}
|
||||
],
|
||||
// 剩余工单列表
|
||||
'residualWorkOrder': [
|
||||
{
|
||||
// 物料
|
||||
'materialName': '转炉镁碳砖MASC-65鞍钢23Z001',
|
||||
// 当前工单
|
||||
'workOrderCode': '230919001',
|
||||
// 数量
|
||||
'qty': '10000块',
|
||||
// 重量
|
||||
'weight': '10.00吨',
|
||||
// 是否留有半托
|
||||
'hasHalf': '否',
|
||||
// 订单号
|
||||
'orderCode': '12333',
|
||||
// 规格
|
||||
'spec': '11/11',
|
||||
// 托盘类型
|
||||
'vehicleType': '一类木托盘',
|
||||
// 客户
|
||||
'customer': '客户',
|
||||
'createTime': '2023-09-14 14:23:57'
|
||||
}
|
||||
]
|
||||
}
|
||||
return res
|
||||
}
|
||||
/** 分拣作业监控 */
|
||||
export const sortProductionMonitor = (id) => post('api/cockpit/sortProductionMonitor', {})
|
||||
|
||||
Reference in New Issue
Block a user