fix: capture and persist target object names for delete, outbound, and borrow operations in audit logs
This commit is contained in:
@ -222,7 +222,8 @@ def delete_bom(bom_no):
|
||||
db.session.commit()
|
||||
return jsonify({
|
||||
'code': 200,
|
||||
'msg': '删除成功'
|
||||
'msg': '删除成功',
|
||||
'bom_no': bom_no
|
||||
})
|
||||
except Exception as e:
|
||||
current_app.logger.error(f'删除BOM失败: {str(e)}')
|
||||
|
||||
Reference in New Issue
Block a user