From dff1e412b652b41c389930903a4984611e11c7b4 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Sat, 16 Dec 2023 12:00:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9material=20=5F=5Fstr?= =?UTF-8?q?=5F=5F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mtm/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):