1、删除功能刀具tree视图图片字段;2、修改货位看板关联展示字段;3、获取编程单接口调用cnc用刀校验方法添加报错处理;

This commit is contained in:
yuxianghui
2024-10-11 17:53:12 +08:00
parent 25a90f3966
commit 70b3daad73
3 changed files with 6 additions and 3 deletions

View File

@@ -98,7 +98,11 @@ class Sf_Mrs_Connect(http.Controller):
})
# 对制造订单所以面的cnc工单的程序用刀进行校验
productions.production_cnc_tool_checkout()
try:
productions.production_cnc_tool_checkout()
except Exception as e:
logging.info(f'对cnc工单的程序用刀进行校验报错{e}')
return json.JSONEncoder().encode(res)
return json.JSONEncoder().encode(res)
else: