From bad2e501f7e0a469e46a16313e7751438a1e8988 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 1 Nov 2021 09:37:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=89=A9=E6=96=99=E5=8D=95?= =?UTF-8?q?=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hb_server/apps/mtm/models.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hb_server/apps/mtm/models.py b/hb_server/apps/mtm/models.py index 2602113..6597138 100644 --- a/hb_server/apps/mtm/models.py +++ b/hb_server/apps/mtm/models.py @@ -22,7 +22,10 @@ class Material(CommonAModel): ) unit_choices =( ('块', '块'), - ('套', '套') + ('套', '套'), + ('个', '个'), + ('m2', 'm2'), + ('瓶', '瓶') ) name = models.CharField('物料名称', max_length=100, unique=True) number = models.CharField('编号', max_length=100, unique=True)