feat: visit增加来访事由
This commit is contained in:
parent
6b0e0fae3b
commit
73ade42f8d
|
@ -0,0 +1,18 @@
|
||||||
|
# Generated by Django 3.2.12 on 2023-06-30 07:11
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('vm', '0007_alter_visit_ticket'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='visit',
|
||||||
|
name='purpose',
|
||||||
|
field=models.PositiveSmallIntegerField(choices=[(2, '售后服务'), (4, '业务洽谈'), (10, '参观'), (20, '拜访'), (30, '面试'), (40, '开会'), (50, '拉送货'), (60, '其他')], verbose_name='来访事由'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -12,6 +12,8 @@ class Visit(CommonBDModel):
|
||||||
访问项目
|
访问项目
|
||||||
"""
|
"""
|
||||||
V_PURPOSE_CHOICES = (
|
V_PURPOSE_CHOICES = (
|
||||||
|
(2, '售后服务'),
|
||||||
|
(4, '业务洽谈'),
|
||||||
(10, '参观'),
|
(10, '参观'),
|
||||||
(20, '拜访'),
|
(20, '拜访'),
|
||||||
(30, '面试'),
|
(30, '面试'),
|
||||||
|
|
Loading…
Reference in New Issue