夹层检测和军检数据库更改同步

This commit is contained in:
caoqianming 2021-12-08 14:09:03 +08:00
parent f9784e244d
commit 90802f418f
4 changed files with 85 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# Generated by Django 3.2.9 on 2021-12-08 06:08
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('inm', '0021_fifoitemproduct_iproduct'),
]
operations = [
migrations.AddField(
model_name='iproduct',
name='is_mtested',
field=models.BooleanField(default=False, verbose_name='是否军检'),
),
migrations.AddField(
model_name='iproduct',
name='is_mtestok',
field=models.BooleanField(blank=True, null=True, verbose_name='是否军检合格'),
),
migrations.AddField(
model_name='iproduct',
name='remark_mtest',
field=models.TextField(blank=True, null=True, verbose_name='军检备注'),
),
]

View File

@ -0,0 +1,18 @@
# Generated by Django 3.2.9 on 2021-12-08 06:08
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('qm', '0013_auto_20211202_1620'),
]
operations = [
migrations.AlterField(
model_name='testrecord',
name='type',
field=models.PositiveSmallIntegerField(choices=[(10, '子工序检验'), (20, '工序检验'), (30, '工序复检'), (36, '夹层检验'), (40, '成品检验')], default=20),
),
]

View File

@ -0,0 +1,21 @@
# Generated by Django 3.2.9 on 2021-12-08 06:08
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('sam', '0009_alter_saleproduct_is_mtestok'),
]
operations = [
migrations.RemoveField(
model_name='saleproduct',
name='is_mtested',
),
migrations.RemoveField(
model_name='saleproduct',
name='is_mtestok',
),
]

View File

@ -0,0 +1,18 @@
# Generated by Django 3.2.9 on 2021-12-08 06:08
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('wpm', '0029_auto_20211202_1630'),
]
operations = [
migrations.AlterField(
model_name='wproduct',
name='act_state',
field=models.IntegerField(choices=[(6, '待复检'), (8, '操作准备中'), (10, '操作进行中'), (20, '待检验'), (26, '待夹层检验'), (30, '已合格'), (40, '库存中'), (50, '不合格'), (60, '待成品检验')], default=0, verbose_name='进行状态'),
),
]