|
|
@@ -23,19 +23,19 @@ class SaleStatisticInfoAdmin(admin.ModelAdmin):
|
23
|
23
|
|
24
|
24
|
class ModelSaleStatisticInfoAdmin(admin.ModelAdmin):
|
25
|
25
|
list_display = ('brand_id', 'model_id', 'model_name', 'ymd', 'num', 'status', 'created_at', 'updated_at')
|
26
|
|
- list_filter = ('brand_id', 'model_name', 'status')
|
|
26
|
+ list_filter = ('brand_id', 'status')
|
27
|
27
|
search_fields = ('brand_id', 'model_id', 'model_name', 'ymd')
|
28
|
28
|
|
29
|
29
|
|
30
|
30
|
class DistributorSaleStatisticInfoAdmin(admin.ModelAdmin):
|
31
|
31
|
list_display = ('brand_id', 'distributor_id', 'distributor_name', 'ymd', 'num', 'status', 'created_at', 'updated_at')
|
32
|
|
- list_filter = ('brand_id', 'distributor_name', 'status')
|
|
32
|
+ list_filter = ('brand_id', 'status')
|
33
|
33
|
search_fields = ('brand_id', 'distributor_id', 'distributor_name', 'ymd')
|
34
|
34
|
|
35
|
35
|
|
36
|
36
|
class ProvinceSaleStatisticInfoAdmin(admin.ModelAdmin):
|
37
|
37
|
list_display = ('brand_id', 'province_code', 'province_name', 'ymd', 'num', 'position', 'status', 'created_at', 'updated_at')
|
38
|
|
- list_filter = ('brand_id', 'province_code', 'province_name', 'status')
|
|
38
|
+ list_filter = ('brand_id', 'status')
|
39
|
39
|
search_fields = ('brand_id', 'province_code', 'province_name', 'ymd')
|
40
|
40
|
|
41
|
41
|
|
|
|
@@ -47,7 +47,7 @@ class ConsumeSaleStatisticInfoAdmin(admin.ModelAdmin):
|
47
|
47
|
|
48
|
48
|
class ConsumeModelSaleStatisticInfoAdmin(admin.ModelAdmin):
|
49
|
49
|
list_display = ('brand_id', 'model_id', 'model_name', 'ymd', 'num', 'status', 'created_at', 'updated_at')
|
50
|
|
- list_filter = ('brand_id', 'model_name', 'status')
|
|
50
|
+ list_filter = ('brand_id', 'status')
|
51
|
51
|
search_fields = ('brand_id', 'model_id', 'model_name', 'ymd')
|
52
|
52
|
|
53
|
53
|
|
|
|
@@ -59,7 +59,7 @@ class ConsumeDistributorSaleStatisticInfoAdmin(admin.ModelAdmin):
|
59
|
59
|
|
60
|
60
|
class ConsumeProvinceSaleStatisticInfoAdmin(admin.ModelAdmin):
|
61
|
61
|
list_display = ('brand_id', 'province_code', 'province_name', 'ymd', 'num', 'position', 'status', 'created_at', 'updated_at')
|
62
|
|
- list_filter = ('brand_id', 'province_code', 'province_name', 'status')
|
|
62
|
+ list_filter = ('brand_id', 'status')
|
63
|
63
|
search_fields = ('brand_id', 'province_code', 'province_name', 'ymd')
|
64
|
64
|
|
65
|
65
|
|