feat: qm batch增加长度
This commit is contained in:
parent
f6f84533d1
commit
096ad540d4
|
@ -0,0 +1,18 @@
|
||||||
|
# Generated by Django 3.2.12 on 2024-08-12 09:20
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('qm', '0018_auto_20240812_1048'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='ftestwork',
|
||||||
|
name='batch',
|
||||||
|
field=models.CharField(max_length=50, verbose_name='生产批次'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -107,7 +107,7 @@ class FtestWork(CommonBDModel):
|
||||||
test_date = models.DateField('检验日期')
|
test_date = models.DateField('检验日期')
|
||||||
material = models.ForeignKey(
|
material = models.ForeignKey(
|
||||||
Material, verbose_name='产品', on_delete=models.CASCADE)
|
Material, verbose_name='产品', on_delete=models.CASCADE)
|
||||||
batch = models.CharField('生产批次', max_length=20)
|
batch = models.CharField('生产批次', max_length=50)
|
||||||
count = models.IntegerField('检验数量')
|
count = models.IntegerField('检验数量')
|
||||||
count_sampling = models.IntegerField('抽检数量', default=0)
|
count_sampling = models.IntegerField('抽检数量', default=0)
|
||||||
count_ok = models.IntegerField('合格数量', default=0)
|
count_ok = models.IntegerField('合格数量', default=0)
|
||||||
|
|
Loading…
Reference in New Issue