代码注释,前后置检查

This commit is contained in:
gqh
2023-02-13 17:28:20 +08:00
parent f007542c35
commit a3f350b69c
3 changed files with 10 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ class Tray(models.Model):
else:
self.state = '空闲'
#解绑托盘
def unclamp(self):
self.workorder_id = False
self.production_id = False