feat: 修改material __str__
This commit is contained in:
parent
aa2dc2e0fc
commit
dff1e412b6
|
@ -72,7 +72,7 @@ class Material(CommonAModel):
|
||||||
ordering = ['sort', '-create_time']
|
ordering = ['sort', '-create_time']
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return f'{self.name}-{self.model}-{self.specification}'
|
return f'{self.name}|{self.specification}|{self.model}'
|
||||||
|
|
||||||
|
|
||||||
class Shift(CommonBModel):
|
class Shift(CommonBModel):
|
||||||
|
|
Loading…
Reference in New Issue