Commit 25b79c71 by 夏超

[fix] 工位机获取工单数据修改

parent 954078e1
...@@ -58,7 +58,7 @@ class InheritRokeWorkstationWorkOrder(RokeWorkstationWorkOrder): ...@@ -58,7 +58,7 @@ class InheritRokeWorkstationWorkOrder(RokeWorkstationWorkOrder):
"routing_line_id": line_id "routing_line_id": line_id
}) })
res.get("data", {}).update({ res.get("data", {}).update({
"next_wo_code": work_order.next_wo_id.code "next_wo_code": work_order.next_wo_id.code or ""
}) })
return res return res
......
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