中控模板json.txt
5.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
电视中控面板:
1.
当天出入库清空:GET请求,地址:/wms/api/tv/todayTaskNum
参数:zoneCode=L String
返回结果:
{
"success": true,
"message": "",
"code": 200,
"result": [
{
"shipmentNum": 0, //出库数量
"receiptNum": 1, //入库数量
"proportion": 100 //百分比,需在后面加个“%”
}
],
"timestamp": 1698369457061
}
当周地址:GET请求,地址:/wms/api/tv/weekTaskNum 其他和当天一样
当周地址:GET请求,地址:/wms/api/tv/monthTaskNum 其他和当天一样
2.
库位使用情况
GET请求,地址:/wms/api/tv/roadWayLocation
参数:zoneCode=L String
返回结果:
{
"success": true,
"message": "",
"code": 200,
"result": [
{
"usagerate": "3%", //使用率
"unHaveContainerNum": "468", //空闲库位
"haveContainerNum": "12", //有货库位
"roadWay": "1号巷道", //巷道
"sumNum": "480" //总库位
},
{
"usagerate": "0%", //使用率
"unHaveContainerNum": "200", //空闲库位
"haveContainerNum": "0", //有货库位
"roadWay": "2号巷道", //巷道
"sumNum": "200" //总库位
}
],
"timestamp": 1698370268397
}
3.
库存使用情况
GET请求,地址/wms/api/tv/produceSituation
参数:zoneCode=L String
返回结果:
{
"success": true,
"message": "",
"code": 200,
"result": [
{
"materialName": "测试物料", //物料名称
"sumCosumeQty": "5", //交易数量
"sumNeedQty": "5", //出库单明细数量
"materialCode": "1631463631", //物料编码
"inventorySumQty": "578" //库存数量
}
],
"timestamp": 1698376172838
}
4.分拣看板
GET请求,地址/wms/api/tv/taskOfStation
参数:code = P1001 String
返回结果:
{
"success": true,
"message": "",
"code": 200,
"result": [
{
"taskHeader": {
"id": 622,
"preTaskNo": 0,
"upstreamTaskNo": null,
"receiptContainerHeaderId": 583,
"shipmentContainerHeaderId": null,
"warehouseCode": "CS0001",
"companyCode": null,
"zoneCode": "L",
"taskType": 100,
"containerFillStatus": "some",
"innernalTaskType": 100,
"containerCode": "M00089", //容器号
"fromLocationCode": "", //起始库位
"toLocationCode": null, //目标库位
"isEmptyOut": 0,
"isDoubleIn": 0,
"isPickupError": 0,
"originLocationCode": null,
"status": 50,
"fromPortCode": null,
"toPortCode": "P1001", //站台号
"toAgvPort": "",
"agvTaskId": 0,
"sendAgv": 0,
"backMes": 0,
"backMesTimes": 0,
"backMesTimestamp": null,
"length": null,
"width": null,
"height": null,
"weight": 0,
"shipmentOrder": 0,
"sequence": 0,
"sequenceNumber": 0,
"exceptionName": null,
"exceptionState": 0,
"roadWay": null,
"callBox": 0,
"userdef1": "整盘入库", //任务类型
"userdef2": "到达拣选台", //任务状态
"userdef3": null,
"createBy": "曾湘平",
"createTime": "2023-10-27 09:56:13",
"updateBy": "",
"updateTime": "2023-10-27 10:24:59",
"executeTime": null,
"allocationTime": null,
"arrivalTime": "2023-10-27 10:24:59",
"completeTime": null
},
"taskDetailList": [
{
"id": 489,
"taskHeaderId": 622,
"taskType": 100,
"warehouseCode": "CS0001",
"companyCode": "CSHH",
"shipmentId": null,
"shipmentCode": null,
"shipmentDetailId": null,
"shipmentContainerDetailId": null,
"receiptId": 156,
"receiptCode": null,
"receiptDetailId": 149,
"receiptContainerDetailId": 284,
"materialCode": "1631463631", //物料编码
"materialName": "测试物料", //物料名称
"materialSpec": "20*20",
"materialUnit": null,
"qty": 5, //数量
"batch": null,
"lot": null,
"project": null,
"inventoryStatus": "good",
"fromInventoryDetailId": null,
"toInventoryDetailId": null,
"sn": null,
"receiveTime": null,
"userdef1": null,
"userdef2": null,
"userdef3": null,
"createBy": "曾湘平",
"createTime": "2023-10-27 09:56:13",
"updateBy": null,
"updateTime": null
}
]
}
],
"timestamp": 1698373518936
}