|
|
@@ -81,7 +81,7 @@ class SalesResponsibilityInfoModelsSaleStatisticInfo(BaseModelMixin):
|
81
|
81
|
brand_id = models.CharField(_(u'brand_id'), max_length=32, blank=True, null=True, help_text=u'品牌唯一标识', db_index=True)
|
82
|
82
|
|
83
|
83
|
# 销售担当,供 SuperSalesResponsibilityInfoModelsSaleStatisticInfo 统计使用
|
84
|
|
- sr_id = models.CharField(_(u'sr_id'), max_length=32, help_text=u'销售担当唯一标识', db_index=True)
|
|
84
|
+ sr_id = models.CharField(_(u'sr_id'), max_length=32, blank=True, null=True, help_text=u'销售担当唯一标识', db_index=True)
|
85
|
85
|
|
86
|
86
|
# 经销商
|
87
|
87
|
distributor_id = models.CharField(_(u'distributor_id'), max_length=32, help_text=u'经销商唯一标识', db_index=True)
|
|
|
@@ -125,7 +125,7 @@ class SuperSalesResponsibilityInfoModelsSaleStatisticInfo(BaseModelMixin):
|
125
|
125
|
brand_id = models.CharField(_(u'brand_id'), max_length=32, blank=True, null=True, help_text=u'品牌唯一标识', db_index=True)
|
126
|
126
|
|
127
|
127
|
# 销售担当
|
128
|
|
- sr_id = models.CharField(_(u'sr_id'), max_length=32, help_text=u'销售担当唯一标识', db_index=True)
|
|
128
|
+ sr_id = models.CharField(_(u'sr_id'), max_length=32, blank=True, null=True, help_text=u'销售担当唯一标识', db_index=True)
|
129
|
129
|
sr_name = models.CharField(_(u'sr_name'), max_length=255, blank=True, null=True, help_text=u'销售担当名称')
|
130
|
130
|
|
131
|
131
|
ymd = models.IntegerField(_(u'ymd'), default=0, help_text=u'年月日', db_index=True) # 例:20171208, tc.local_string(format='%Y%m%d'), 0 为全部
|