feat: inm batch textfield
This commit is contained in:
parent
47976de657
commit
62d2c8b21e
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.2.12 on 2025-03-04 08:00
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('inm', '0028_mioitem_count_tested'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='mioitem',
|
||||
name='batch',
|
||||
field=models.TextField(verbose_name='批次号'),
|
||||
),
|
||||
]
|
|
@ -116,7 +116,7 @@ class MIOItem(BaseModel):
|
|||
WareHouse, on_delete=models.CASCADE, verbose_name='仓库')
|
||||
material = models.ForeignKey(
|
||||
Material, verbose_name='物料', on_delete=models.CASCADE)
|
||||
batch = models.CharField('批次号', max_length=50)
|
||||
batch = models.TextField('批次号')
|
||||
count = models.DecimalField('出入数量', max_digits=12, decimal_places=3)
|
||||
count_tested = models.PositiveIntegerField('已检数', null=True, blank=True)
|
||||
test_date = models.DateField('检验日期', null=True, blank=True)
|
||||
|
|
Loading…
Reference in New Issue