Commit 374c4786 by 夏超

[fix] 增加标签

parent d9c4951b
......@@ -105,7 +105,8 @@ class JzjxInheritRokeWorkstationProductionTask(RokeWorkstationProductionTask):
"plan_date": v.plan_date.strftime('%Y-%m-%d') if v.plan_date else "",
"specification": v.product_id.specification or "",
"model": v.product_id.model or "",
"order_type": "task"
"order_type": "task",
"type": ""
}
work_data_dict = {}
for v in work_ids:
......@@ -121,7 +122,8 @@ class JzjxInheritRokeWorkstationProductionTask(RokeWorkstationProductionTask):
"plan_date": v.plan_date.strftime('%Y-%m-%d') if v.plan_date else "",
"specification": v.product_id.specification or "",
"model": v.product_id.model or "",
"order_type": "work"
"order_type": "work",
"type": v.type
}
data = []
for v in ids_list:
......
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