fix:defect添加note

This commit is contained in:
shijing 2024-12-25 10:13:44 +08:00
parent 039cb3108b
commit 0c340bebcd
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ class Defect(CommonAModel):
okcate= models.PositiveSmallIntegerField(verbose_name="不合格分类",
choices=((DEFECT_OK, "合格"), (DEFECT_OK_B, "合格B类"), (DEFECT_NOTOK, "不合格")),
default=DEFECT_NOTOK)
note = models.TextField('备注', null=True, blank=True)
def __str__(self):
return self.name