From 6a1641115f59f72d6f26646fb17817734153f3c7 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 27 Dec 2021 09:49:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=95=B0=E6=8D=AE=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inm/migrations/0024_auto_20211227_0948.py | 25 +++++++++++++++++ .../0022_alter_customfield_is_hidden.py | 18 ++++++++++++ .../wpm/migrations/0038_auto_20211227_0948.py | 28 +++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 hb_server/apps/inm/migrations/0024_auto_20211227_0948.py create mode 100644 hb_server/apps/wf/migrations/0022_alter_customfield_is_hidden.py create mode 100644 hb_server/apps/wpm/migrations/0038_auto_20211227_0948.py diff --git a/hb_server/apps/inm/migrations/0024_auto_20211227_0948.py b/hb_server/apps/inm/migrations/0024_auto_20211227_0948.py new file mode 100644 index 0000000..16c3b5f --- /dev/null +++ b/hb_server/apps/inm/migrations/0024_auto_20211227_0948.py @@ -0,0 +1,25 @@ +# Generated by Django 3.2.9 on 2021-12-27 01:48 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('wpm', '0038_auto_20211227_0948'), + ('inm', '0023_auto_20211216_0945'), + ] + + operations = [ + migrations.AlterField( + model_name='fifoitemproduct', + name='wproduct', + field=models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='fifoitem_wproduct', to='wpm.wproduct', verbose_name='关联的动态产品'), + ), + migrations.AlterField( + model_name='iproduct', + name='wproduct', + field=models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='iproduct_wproduct', to='wpm.wproduct', verbose_name='关联的动态产品'), + ), + ] diff --git a/hb_server/apps/wf/migrations/0022_alter_customfield_is_hidden.py b/hb_server/apps/wf/migrations/0022_alter_customfield_is_hidden.py new file mode 100644 index 0000000..c197db2 --- /dev/null +++ b/hb_server/apps/wf/migrations/0022_alter_customfield_is_hidden.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.9 on 2021-12-27 01:48 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('wf', '0021_auto_20211224_1426'), + ] + + operations = [ + migrations.AlterField( + model_name='customfield', + name='is_hidden', + field=models.BooleanField(default=False, help_text='可用于携带不需要用户查看的字段信息', verbose_name='是否隐藏'), + ), + ] diff --git a/hb_server/apps/wpm/migrations/0038_auto_20211227_0948.py b/hb_server/apps/wpm/migrations/0038_auto_20211227_0948.py new file mode 100644 index 0000000..d419bcc --- /dev/null +++ b/hb_server/apps/wpm/migrations/0038_auto_20211227_0948.py @@ -0,0 +1,28 @@ +# Generated by Django 3.2.9 on 2021-12-27 01:48 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('wpm', '0037_wproduct_scrap_reason'), + ] + + operations = [ + migrations.AddField( + model_name='wproduct', + name='ng_sign', + field=models.PositiveSmallIntegerField(blank=True, choices=[(10, '返工'), (20, '返修'), (30, '报废'), (40, '让步接收'), (50, '偏离许可'), (60, '降级使用'), (70, '退回供方'), (80, '召回')], null=True, verbose_name='不合格标记'), + ), + migrations.AlterField( + model_name='wproduct', + name='act_state', + field=models.IntegerField(choices=[(6, '待复检'), (8, '操作准备中'), (10, '操作进行中'), (20, '待检验'), (26, '待夹层检验'), (30, '已合格'), (40, '已入库'), (50, '不合格'), (60, '待成品检验'), (70, '已报废'), (80, '已售出')], default=0, verbose_name='进行状态'), + ), + migrations.AlterField( + model_name='wprouctticket', + name='decision', + field=models.PositiveSmallIntegerField(blank=True, choices=[(10, '返工'), (20, '返修'), (30, '报废'), (40, '让步接收'), (50, '偏离许可'), (60, '降级使用'), (70, '退回供方'), (80, '召回')], null=True, verbose_name='最终决定'), + ), + ]