Commit e76438b8 by wusiyi

Merge branch 'fix_1001824' into 'dev'

fix: 修复配货打单接收到配货分拣ws消息bug #1001824

See merge request !261
parents 4b29cd82 f89a7b05
......@@ -786,9 +786,9 @@ const messageChange = (data: WebSocketMessage) => {
// 扫码进箱
if (
code === 'POD_PRINT_ORDER' ||
code === 'FACTORY_POD_ORDER_PRINT_ORDER' ||
code === 'FACTORY_POD_ORDER_TOP_PRINT_ORDER'
(props.wallType === 'us' && code === 'POD_PRINT_ORDER') ||
(props.wallType === 'print' && code === 'FACTORY_POD_ORDER_PRINT_ORDER') ||
(props.wallType === 'sort' && code === 'FACTORY_POD_ORDER_TOP_PRINT_ORDER')
) {
try {
if (typeof more.txt === 'string') {
......@@ -808,9 +808,9 @@ const messageChange = (data: WebSocketMessage) => {
}
// 清空箱子
else if (
code === 'POD_BOX_FLUSH' ||
code === 'FACTORY_POD_ORDER_BOX_FLUSH' ||
code === 'FACTORY_POD_ORDER_TOP_BOX_FLUSH'
(props.wallType === 'us' && code === 'POD_BOX_FLUSH') ||
(props.wallType === 'print' && code === 'FACTORY_POD_ORDER_BOX_FLUSH') ||
(props.wallType === 'sort' && code === 'FACTORY_POD_ORDER_TOP_BOX_FLUSH')
) {
try {
if (typeof more.txt === 'string') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment