diff --git a/hb_server/apps/sam/models.py b/hb_server/apps/sam/models.py index e839950..65d230f 100644 --- a/hb_server/apps/sam/models.py +++ b/hb_server/apps/sam/models.py @@ -103,7 +103,7 @@ class SaleProduct(BaseModel): number = models.CharField('物品编号', max_length=50) iproduct = models.ForeignKey('inm.iproduct', verbose_name='关联库存产品', on_delete=models.CASCADE, related_name='sale_iproduct') remark = models.TextField('备注', null=True, blank=True) - packnum = models. + packnum = models.CharField('装箱单号', max_length=100, null=True, blank=True) class Meta: unique_together = ( ('sale','iproduct'), # 联合唯一