diff --git a/hb_server/apps/mtm/models.py b/hb_server/apps/mtm/models.py index e3f77ed..20eae86 100644 --- a/hb_server/apps/mtm/models.py +++ b/hb_server/apps/mtm/models.py @@ -29,7 +29,7 @@ class Material(CommonAModel): specification = models.CharField('型号', max_length=100, null=True, blank=True) type = models.CharField('物料类型', choices= type_choices, max_length=20, default=1) sort_str = models.CharField('排序字符', max_length=100, null=True, blank=True) - processes = models.JSONField('工艺流程', default=list, blank=True) + processes = models.JSONField('工艺流程', default=list, null=True,blank=True) unit = models.CharField('基准计量单位', choices=unit_choices, default='块', max_length=10) class Meta: