消除错误
This commit is contained in:
parent
c89da89ea2
commit
bbebc6900d
|
@ -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'), # 联合唯一
|
||||
|
|
Loading…
Reference in New Issue