0001_initial.py 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. # Generated by Django 2.2.7 on 2020-06-16 01:52
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. initial = True
  5. dependencies = [
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='View_pcydscjh',
  10. fields=[
  11. ('id', models.CharField(max_length=50, primary_key=True, serialize=False, verbose_name='id')),
  12. ('cus_snm', models.CharField(max_length=100, verbose_name='客户简称')),
  13. ('need_dd', models.CharField(max_length=100, verbose_name='订单交货期')),
  14. ('so_no', models.CharField(max_length=100, verbose_name='计划受订')),
  15. ('mrp_no', models.CharField(max_length=100, verbose_name='成品编码')),
  16. ('mrp_name', models.CharField(max_length=100, verbose_name='成品名称')),
  17. ('mo_no', models.CharField(max_length=100, verbose_name='制令单号')),
  18. ('pmc_dd', models.CharField(max_length=100, verbose_name='计划排产日期')),
  19. ('mo_dep_name', models.CharField(max_length=100, verbose_name='生产部门')),
  20. ('zx', models.CharField(max_length=100, verbose_name='IE组线')),
  21. ('mo_no_no', models.CharField(max_length=100, verbose_name='制令单代号')),
  22. ('mo_no_name', models.CharField(max_length=100, verbose_name='制令单名称')),
  23. ('qty', models.CharField(max_length=100, verbose_name='订单数量')),
  24. ('qty_fin', models.CharField(max_length=100, verbose_name='已缴库量')),
  25. ('w_qty', models.CharField(max_length=100, verbose_name='未完工量')),
  26. ('dcl', models.CharField(max_length=100, verbose_name='达成率')),
  27. ('jhwcrq', models.CharField(max_length=100, verbose_name='计划完成日期')),
  28. ('cn', models.CharField(max_length=100, verbose_name='产能')),
  29. ('ddjd', models.CharField(max_length=100, verbose_name='订单完成进度')),
  30. ('ymp', models.CharField(max_length=100, verbose_name='研磨品')),
  31. ('rq', models.CharField(max_length=100, verbose_name='容器')),
  32. ('bq', models.CharField(max_length=100, verbose_name='标签')),
  33. ('bc', models.CharField(max_length=100, verbose_name='包材')),
  34. ],
  35. options={
  36. 'verbose_name': 'PC月度生产计划',
  37. 'verbose_name_plural': 'PC月度生产计划',
  38. 'db_table': 'view_pcydscjh',
  39. 'managed': False,
  40. },
  41. ),
  42. migrations.CreateModel(
  43. name='view_tf_pos',
  44. fields=[
  45. ('id', models.CharField(max_length=50, primary_key=True, serialize=False, verbose_name='id')),
  46. ('so_no', models.CharField(max_length=100, verbose_name='订单号')),
  47. ('pmc_dd', models.CharField(max_length=100, verbose_name='pmc回复交期')),
  48. ('bom_no', models.CharField(max_length=100, verbose_name='bom编码')),
  49. ('est_itm', models.CharField(max_length=100, verbose_name='项次')),
  50. ('mo_dd', models.CharField(max_length=100, verbose_name='制令日期')),
  51. ('dl', models.CharField(max_length=100, verbose_name='成品大类')),
  52. ('gzwwgs', models.CharField(max_length=100, verbose_name='灌装未完工数量')),
  53. ('gzdep', models.CharField(max_length=100, verbose_name='灌装生产线')),
  54. ('ggsxrq', models.CharField(max_length=100, verbose_name='灌装上线日')),
  55. ('qty', models.CharField(max_length=100, verbose_name='现存量')),
  56. ('os_wfl', models.CharField(max_length=100, verbose_name='订单需求量(未领量)')),
  57. ('jcq', models.CharField(max_length=100, verbose_name='净需求')),
  58. ('jkwshl', models.CharField(max_length=100, verbose_name='缴库未审量')),
  59. ('llwsl', models.CharField(max_length=100, verbose_name='领料未审量')),
  60. ('mrp_name', models.CharField(max_length=100, verbose_name='研磨品名称')),
  61. ('dep', models.CharField(max_length=100, verbose_name='研磨品生产车间')),
  62. ('wfl', models.CharField(max_length=100, verbose_name='未发量')),
  63. ('zzl', models.CharField(max_length=100, verbose_name='在制量')),
  64. ('mrp_no', models.CharField(max_length=100, verbose_name='研磨品代号')),
  65. ('mo_no1', models.CharField(max_length=100, verbose_name='单号1')),
  66. ('mo_no2', models.CharField(max_length=100, verbose_name='单号2')),
  67. ('mo_no3', models.CharField(max_length=100, verbose_name='单号3')),
  68. ('mo_no4', models.CharField(max_length=100, verbose_name='单号4')),
  69. ('mo_no5', models.CharField(max_length=100, verbose_name='单号5')),
  70. ('mo_no6', models.CharField(max_length=100, verbose_name='单号6')),
  71. ('mo_no7', models.CharField(max_length=100, verbose_name='单号7')),
  72. ('qty1', models.CharField(max_length=100, verbose_name='数量1')),
  73. ('qty2', models.CharField(max_length=100, verbose_name='数量2')),
  74. ('qty3', models.CharField(max_length=100, verbose_name='数量3')),
  75. ('qty4', models.CharField(max_length=100, verbose_name='数量4')),
  76. ('qty5', models.CharField(max_length=100, verbose_name='数量5')),
  77. ('qty6', models.CharField(max_length=100, verbose_name='数量6')),
  78. ('qty7', models.CharField(max_length=100, verbose_name='数量7')),
  79. ],
  80. options={
  81. 'verbose_name': '研磨品需求计划',
  82. 'verbose_name_plural': '研磨品需求计划',
  83. 'db_table': 'view_tf_pos',
  84. 'managed': False,
  85. },
  86. ),
  87. migrations.CreateModel(
  88. name='View_ydzpcjh',
  89. fields=[
  90. ('id', models.CharField(max_length=50, primary_key=True, serialize=False, verbose_name='id')),
  91. ('need_dd', models.CharField(max_length=100, verbose_name='订单交货期')),
  92. ('cus_no', models.CharField(max_length=50, verbose_name='客户代码')),
  93. ('so_no', models.CharField(max_length=50, verbose_name='计划受订')),
  94. ('mo_no', models.CharField(max_length=50, verbose_name='制令单号')),
  95. ('knd', models.CharField(max_length=50, verbose_name='成品大类')),
  96. ('scx', models.CharField(max_length=50, verbose_name='scx')),
  97. ('mrp_no', models.CharField(max_length=50, verbose_name='货品代码')),
  98. ('name', models.CharField(max_length=50, verbose_name='货品名称')),
  99. ('qty', models.FloatField(verbose_name='制令数量')),
  100. ('gzwggs', models.FloatField(verbose_name='灌装未完工数量')),
  101. ('pmc_dd', models.CharField(max_length=100, verbose_name='计划完成日期')),
  102. ('ymppt_dd', models.CharField(max_length=50, verbose_name='研磨品齐套时间')),
  103. ('rqdh_dd', models.CharField(max_length=50, verbose_name='容器到货时间')),
  104. ('bcdh_dd', models.CharField(max_length=50, verbose_name='包材到货日期')),
  105. ('prdt1_qty', models.FloatField(verbose_name='当前库存')),
  106. ('iebz', models.FloatField(verbose_name='IE标准')),
  107. ('xqry', models.FloatField(verbose_name='需求人员')),
  108. ('id_no', models.CharField(max_length=200, verbose_name='BOM代号')),
  109. ('jhscrq', models.CharField(max_length=200, verbose_name='计划上线生产日期')),
  110. ],
  111. options={
  112. 'verbose_name': '月度主排产计划',
  113. 'verbose_name_plural': '月度主排产计划',
  114. 'db_table': 'view_ydzpcjh',
  115. 'managed': False,
  116. },
  117. ),
  118. ]