增加物料单位

This commit is contained in:
caoqianming 2021-11-01 09:37:46 +08:00
parent 996cfe5b5d
commit bad2e501f7
1 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,10 @@ class Material(CommonAModel):
) )
unit_choices =( unit_choices =(
('', ''), ('', ''),
('', '') ('', ''),
('', ''),
('m2', 'm2'),
('', '')
) )
name = models.CharField('物料名称', max_length=100, unique=True) name = models.CharField('物料名称', max_length=100, unique=True)
number = models.CharField('编号', max_length=100, unique=True) number = models.CharField('编号', max_length=100, unique=True)