feat: wmaterial增加state字段并进行相应处理2
This commit is contained in:
parent
ba6c30a745
commit
7028fd31ee
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.2.12 on 2024-08-15 02:41
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('wpm', '0060_auto_20240812_1048'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='wmaterial',
|
||||
name='state',
|
||||
field=models.PositiveSmallIntegerField(choices=[(10, '合格'), (20, '不合格'), (30, '返修'), (40, '检验'), (50, '报废')], default=10, verbose_name='状态'),
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue