feat: mioitem添加count_send字段
This commit is contained in:
parent
8b74d0b121
commit
168d917232
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.2.12 on 2025-11-17 06:33
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('inm', '0037_alter_materialbatch_material'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='mioitem',
|
||||
name='count_send',
|
||||
field=models.DecimalField(blank=True, decimal_places=3, max_digits=12, null=True, verbose_name='发出数量'),
|
||||
),
|
||||
]
|
||||
|
|
@ -161,6 +161,7 @@ class MIOItem(BaseModel):
|
|||
batch = models.TextField('批次号', db_index=True)
|
||||
unit_price = models.DecimalField('单价', max_digits=14, decimal_places=2, null=True, blank=True)
|
||||
count = models.DecimalField('出入数量', max_digits=12, decimal_places=3)
|
||||
count_send = models.DecimalField('发出数量', max_digits=12, decimal_places=3, null=True, blank=True)
|
||||
count_tested = models.PositiveIntegerField('已检数', null=True, blank=True)
|
||||
test_date = models.DateField('检验日期', null=True, blank=True)
|
||||
test_user = models.ForeignKey(
|
||||
|
|
|
|||
Loading…
Reference in New Issue