# Generated by Django 3.2.12 on 2024-08-07 01:58

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('qm', '0015_ftestwork_count_ok'),
    ]

    operations = [
        migrations.AddField(
            model_name='ftestitem',
            name='check_val_json',
            field=models.JSONField(blank=True, null=True, verbose_name='专检测量值'),
        ),
        migrations.AddField(
            model_name='ftestitem',
            name='test_val_json',
            field=models.JSONField(blank=True, null=True, verbose_name='测量值'),
        ),
        migrations.AddField(
            model_name='ftestwork',
            name='count_notok',
            field=models.IntegerField(default=0, verbose_name='不合格数量'),
        ),
        migrations.AddField(
            model_name='ftestwork',
            name='type',
            field=models.CharField(choices=[('first', '首件检验'), ('prod', '成品检验')], default='prod', max_length=20, verbose_name='检验类型'),
        ),
        migrations.AddField(
            model_name='ftestwork',
            name='type2',
            field=models.PositiveSmallIntegerField(choices=[(10, '抽检'), (20, '全检')], default=10, verbose_name='检验类型2'),
        ),
        migrations.AddField(
            model_name='testitem',
            name='choices',
            field=models.JSONField(blank=True, default=list, verbose_name='选项'),
        ),
        migrations.AddField(
            model_name='testitem',
            name='field_type',
            field=models.CharField(choices=[('input-number', '数字输入'), ('input-text', '文本输入'), ('select', '单选'), ('selects', '多选')], default='input-number', max_length=20, verbose_name='字段类型'),
        ),
        migrations.AddField(
            model_name='testitem',
            name='mcate_tags',
            field=models.JSONField(blank=True, default=list, verbose_name='物料系列标签'),
        ),
        migrations.AlterField(
            model_name='ftestitem',
            name='test_val',
            field=models.FloatField(blank=True, null=True, verbose_name='测量值'),
        ),
        migrations.AlterField(
            model_name='testitem',
            name='tags',
            field=models.JSONField(blank=True, default=list, verbose_name='检测类型'),
        ),
    ]
