feat: count_sampling 默认为0
This commit is contained in:
parent
78fd0c9721
commit
ec70aceb76
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.2.12 on 2024-01-18 07:12
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('qm', '0012_auto_20240117_1554'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='ftestwork',
|
||||
name='count_sampling',
|
||||
field=models.IntegerField(default=0, verbose_name='抽检数量'),
|
||||
),
|
||||
]
|
|
@ -46,7 +46,7 @@ class FtestWork(CommonBDModel):
|
|||
Material, verbose_name='产品', on_delete=models.CASCADE)
|
||||
batch = models.CharField('生产批次', max_length=20)
|
||||
count = models.IntegerField('总数量')
|
||||
count_sampling = models.IntegerField('抽检数量')
|
||||
count_sampling = models.IntegerField('抽检数量', default=0)
|
||||
|
||||
|
||||
class Ftest(CommonBDModel):
|
||||
|
|
Loading…
Reference in New Issue