fix:defect添加note
This commit is contained in:
parent
039cb3108b
commit
0c340bebcd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue