forked from erp-dev/erp
fix: query param of api_man
This commit is contained in:
18
basic_info/migrations/0020_product_mdy_image_url.py
Normal file
18
basic_info/migrations/0020_product_mdy_image_url.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.2.8 on 2025-12-09 06:34
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('basic_info', '0019_customer_mdy_fields'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='product',
|
||||
name='mdy_image_url',
|
||||
field=models.URLField(blank=True, help_text='来自明道云的图片链接', max_length=500, null=True, verbose_name='明道云图片URL'),
|
||||
),
|
||||
]
|
||||
18
basic_info/migrations/0021_alter_product_unit.py
Normal file
18
basic_info/migrations/0021_alter_product_unit.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.2.8 on 2025-12-09 07:51
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('basic_info', '0020_product_mdy_image_url'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='product',
|
||||
name='unit',
|
||||
field=models.IntegerField(choices=[(1, '米'), (2, '码'), (3, '公斤'), (4, '段')], default=1, verbose_name='单位'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 5.2.8 on 2025-12-09 07:55
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('basic_info', '0021_alter_product_unit'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='product',
|
||||
name='pieces',
|
||||
field=models.IntegerField(blank=True, null=True, verbose_name='件数'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='product',
|
||||
name='segment_size',
|
||||
field=models.IntegerField(blank=True, null=True, verbose_name='一段尺寸'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user