优化刀具组接口
This commit is contained in:
@@ -77,7 +77,7 @@ class Manufacturing_Connect(http.Controller):
|
|||||||
for item in functional_tools:
|
for item in functional_tools:
|
||||||
res['Datas'].append({
|
res['Datas'].append({
|
||||||
'GroupName': item.tool_groups_id.name,
|
'GroupName': item.tool_groups_id.name,
|
||||||
'ToolId': item.barcode_id.name,
|
'ToolId': item.code,
|
||||||
'ToolName': item.name
|
'ToolName': item.name
|
||||||
})
|
})
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user