diff --git a/apps/mtm/models.py b/apps/mtm/models.py index 8836d176..bc642b8e 100644 --- a/apps/mtm/models.py +++ b/apps/mtm/models.py @@ -72,7 +72,7 @@ class Material(CommonAModel): ordering = ['sort', '-create_time'] def __str__(self): - return f'{self.name}-{self.model}-{self.specification}' + return f'{self.name}|{self.specification}|{self.model}' class Shift(CommonBModel):