24 lines
		
	
	
		
			958 B
		
	
	
	
		
			Python
		
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			958 B
		
	
	
	
		
			Python
		
	
	
	
| # Generated by Django 3.2.9 on 2022-02-17 07:24
 | |
| 
 | |
| from django.db import migrations, models
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
| 
 | |
|     dependencies = [
 | |
|         ('pm', '0023_alter_productionplan_order'),
 | |
|     ]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.AddField(
 | |
|             model_name='productionplan',
 | |
|             name='old_state',
 | |
|             field=models.PositiveIntegerField(blank=True, choices=[(10, '制定中'), (20, '已下达'), (30, '已接收'), (40, '生产中'), (50, '生产完成'), (60, '军检完成'), (70, '暂停'), (80, '终止')], null=True, verbose_name='原状态'),
 | |
|         ),
 | |
|         migrations.AlterField(
 | |
|             model_name='productionplan',
 | |
|             name='state',
 | |
|             field=models.PositiveIntegerField(choices=[(10, '制定中'), (20, '已下达'), (30, '已接收'), (40, '生产中'), (50, '生产完成'), (60, '军检完成'), (70, '暂停'), (80, '终止')], default=10, verbose_name='状态'),
 | |
|         ),
 | |
|     ]
 |