@@ -0,0 +1,20 @@ |
||
1 |
+# -*- coding: utf-8 -*- |
|
2 |
+# Generated by Django 1.11.26 on 2020-06-01 08:40 |
|
3 |
+from __future__ import unicode_literals |
|
4 |
+ |
|
5 |
+from django.db import migrations, models |
|
6 |
+ |
|
7 |
+ |
|
8 |
+class Migration(migrations.Migration): |
|
9 |
+ |
|
10 |
+ dependencies = [ |
|
11 |
+ ('mch', '0055_auto_20200601_1634'), |
|
12 |
+ ] |
|
13 |
+ |
|
14 |
+ operations = [ |
|
15 |
+ migrations.AlterField( |
|
16 |
+ model_name='distributorinfo', |
|
17 |
+ name='department_name', |
|
18 |
+ field=models.CharField(blank=True, db_index=True, help_text='\u4f01\u4e1a\u5fae\u4fe1\u90e8\u95e8\u540d\u79f0', max_length=32, verbose_name='department_name'), |
|
19 |
+ ), |
|
20 |
+ ] |
@@ -366,7 +366,7 @@ class DistributorInfo(BaseModelMixin): |
||
366 | 366 |
distributor_province_name = models.CharField(_(u'distributor_province_name'), max_length=3, choices=ProvinceShortModelMixin.PROVINCE_NAME_TUPLE, default=ProvinceShortModelMixin.PROVINCE_DEFAULT_NAME, blank=True, null=True, help_text=u'经销商所在省份名称') |
367 | 367 |
|
368 | 368 |
department_id = models.IntegerField(_(u'department_id'), default=-1, help_text=u'企业微信部门ID') |
369 |
- department_name = models.IntegerField(_(u'department_name'), default=-1, help_text=u'企业微信部门名称') |
|
369 |
+ department_name = models.CharField(_(u'department_name'), max_length=32, blank=True, help_text=u'企业微信部门名称', db_index=True) |
|
370 | 370 |
sr_id = models.CharField(_(u'sr_id'), max_length=32, blank=True, null=True, help_text=u'销售担当唯一标识', db_index=True) |
371 | 371 |
|
372 | 372 |
position = models.IntegerField(_(u'position'), default=1, help_text=u'排序') |