jufubao-admin-library 1.1.108 → 1.1.110

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (18) hide show
  1. package/library/viewModules/viewStat/viewsStat/product/components/discount.vue +8 -0
  2. package/library/viewModules/viewStat/viewsStat/product/components/select-discount.vue +2 -2
  3. package/library/viewModules/viewStat/viewsStat/product/components/stat-all-m.vue +297 -0
  4. package/library/viewModules/viewStat/viewsStat/product/components/table-brand.vue +14 -6
  5. package/library/viewModules/viewStat/viewsStat/product/components/table-category.vue +14 -7
  6. package/library/viewModules/viewStat/viewsStat/product/components/table-product.vue +16 -8
  7. package/library/viewModules/viewStat/viewsStat/product/index.vue +14 -3
  8. package/library/viewModules/viewStat/viewsStat/supplier/components/discount.vue +13 -4
  9. package/library/viewModules/viewStat/viewsStat/supplier/components/stat-all-m.vue +355 -0
  10. package/library/viewModules/viewStat/viewsStat/supplier/components/stat-product.vue +37 -10
  11. package/library/viewModules/viewStat/viewsStat/supplier/components/stat-supplier.vue +33 -8
  12. package/library/viewModules/viewStat/viewsStat/supplier/components/table-category.vue +15 -8
  13. package/library/viewModules/viewStat/viewsStat/supplier/components/table-product.vue +15 -8
  14. package/library/viewModules/viewStat/viewsStat/supplier/components/table-store.vue +10 -3
  15. package/library/viewModules/viewStat/viewsStat/supplier/components/table-supplier.vue +16 -9
  16. package/library/viewModules/viewStat/viewsStat/supplier/components/up-new.vue +12 -4
  17. package/library/viewModules/viewStat/viewsStat/supplier/index.vue +9 -2
  18. package/package.json +1 -1
@@ -356,4 +356,12 @@ export default {
356
356
  }
357
357
  }
358
358
  }
359
+ @media screen and (max-width: 768px) {
360
+ ::v-deep .xd-stat-trade-date{
361
+ display: block!important;
362
+ .el-date-editor{
363
+ width: 200px!important;
364
+ }
365
+ }
366
+ }
359
367
  </style>
@@ -34,7 +34,7 @@
34
34
  </el-option>
35
35
  </el-select>
36
36
  </el-form-item> -->
37
- <el-form-item label="供应商">
37
+ <el-form-item label="供应商:">
38
38
  <el-select
39
39
  v-model="channel_code"
40
40
  filterable
@@ -72,7 +72,7 @@
72
72
  <!-- <el-form-item label="时间">
73
73
  <xd-stat-trade-date :isRangeMonth="true" v-model="tradeTime"></xd-stat-trade-date>
74
74
  </el-form-item> -->
75
- <el-form-item label="公共分类">
75
+ <el-form-item label="公共分类:">
76
76
  <el-cascader v-model="category_id" :props="categoryProps" clearable></el-cascader>
77
77
  </el-form-item>
78
78
  <el-form-item>
@@ -0,0 +1,297 @@
1
+
2
+ <template>
3
+ <el-card class="stat_all_card">
4
+ <div slot="header" class="card_header">
5
+ <div>
6
+ <span class="b_tit">累计商品统计</span>
7
+ <span class="s_tit">数据截止:{{ statAll.last_updated_date_time }}</span>
8
+ </div>
9
+ <!-- <i class="el-icon-refresh" @click="toRefresh"></i> -->
10
+ </div>
11
+ <div class="stat_list">
12
+ <div class="stat_item">
13
+ <p class="_title">
14
+ <i class="el-icon-shopping-bag-1 i_blue"></i>
15
+ 商品总数
16
+ <el-tooltip effect="light" placement="right">
17
+ <div slot="content">取对应业务线已选商品统计<br/>同一商品多业务线选用按多次计</div>
18
+ <i class="xdicon_question-circle xd_admin_iconfont"></i>
19
+ </el-tooltip>
20
+ <span class="c0">{{ statAll.product_total_count }}</span>
21
+ </p>
22
+ <div class="_cont">
23
+ <div class="_left"></div>
24
+ <div class="_right">
25
+ <div class="right_i right_top">
26
+ <div class="one_line">
27
+ {{statAll.product_self_manual_count}}
28
+ </div>
29
+ <div class="m5">自营-人工</div>
30
+ <div class="two_line">
31
+ <div>上架{{statAll.product_self_manual_online_count}}</div>
32
+ <div>下架{{ statAll.product_self_manual_offline_count }}</div>
33
+ </div>
34
+ </div>
35
+ <div class="right_i right_middle">
36
+ <div class="one_line">
37
+ {{statAll.product_self_channel_count}}
38
+ </div>
39
+ <div class="m5">自营-接口</div>
40
+ <div class="two_line">
41
+ <div>上架{{statAll.product_self_channel_online_count}}</div>
42
+ <div>下架{{ statAll.product_self_channel_offline_count }}</div>
43
+ </div>
44
+ </div>
45
+ <div class="right_i right_bottom">
46
+ <div class="one_line">
47
+ {{statAll.product_other_count}}
48
+ </div>
49
+ <div class="m5">非自营</div>
50
+ <div class="two_line">
51
+ <div>上架{{statAll.product_other_online_count}}</div>
52
+ <div>下架{{statAll.product_other_offline_count}}</div>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </div>
57
+ </div>
58
+ <div class="stat_item">
59
+ <p class="_title">
60
+ <i class="el-icon-shopping-bag-1 i_blue"></i>
61
+ SKU总数
62
+ <el-tooltip effect="light" placement="right">
63
+ <div slot="content">取对应业务线已选商品统计<br/>同一商品多业务线选用按多次计<br/>同一商品多规格按多次计</div>
64
+ <i class="xdicon_question-circle xd_admin_iconfont"></i>
65
+ </el-tooltip>
66
+ <span class="c0">{{statAll.sku_total_count}}</span>
67
+ </p>
68
+ <div class="_cont">
69
+ <div class="_left"></div>
70
+ <div class="_right">
71
+ <div class="right_i right_top">
72
+ <div class="one_line">
73
+ {{statAll.sku_self_manual_count}}
74
+ </div>
75
+ <div>自营-人工</div>
76
+ <div class="two_line">
77
+ <div>上架{{statAll.sku_self_manual_online_count}}</div>
78
+ <div>下架{{statAll.sku_self_manual_offline_count}}</div>
79
+ </div>
80
+ </div>
81
+ <div class="right_i right_middle">
82
+ <div class="one_line">
83
+ {{statAll.sku_self_channel_count}}
84
+ </div>
85
+ <div>自营-接口</div>
86
+ <div class="two_line">
87
+ <div>上架{{statAll.sku_self_channel_online_count}}</div>
88
+ <div>下架{{statAll.sku_self_channel_offline_count}}</div>
89
+ </div>
90
+ </div>
91
+ <div class="right_i right_bottom">
92
+ <div class="one_line">
93
+ {{statAll.sku_other_count}}
94
+ </div>
95
+ <div>非自营</div>
96
+ <div class="two_line">
97
+ <div>上架{{statAll.sku_other_online_count}}</div>
98
+ <div>下架{{statAll.sku_other_offline_count}}</div>
99
+ </div>
100
+ </div>
101
+ </div>
102
+ </div>
103
+ </div>
104
+ </div>
105
+
106
+ </el-card>
107
+ </template>
108
+ <script>
109
+
110
+ import {mapActions} from 'vuex';
111
+
112
+ export default {
113
+ data(){
114
+ return {
115
+ statAll: {}
116
+ }
117
+ },
118
+ props: {
119
+ site_id: {
120
+ type: Number|String,
121
+ default: null
122
+ },
123
+ business_code: {
124
+ type: Number|String,
125
+ default: null
126
+ },
127
+ sub_business_code:{
128
+ type: Number|String,
129
+ default: null
130
+ },
131
+ },
132
+ watch: {
133
+ site_id(n,o) {
134
+ console.log(n,o,'askjdkasjdaksl');
135
+ this.p_totalCounts()
136
+ },
137
+ business_code(n,o) {
138
+ console.log(n,o,'askjdkasjdaksl');
139
+ this.p_totalCounts()
140
+ },
141
+ sub_business_code(n,o) {
142
+ console.log(n,o,'askjdkasjdaksl');
143
+ this.p_totalCounts()
144
+ }
145
+ },
146
+ created(){
147
+ console.log('sub_business_codeStat',this.sub_business_code)
148
+ this.p_totalCounts();
149
+ },
150
+ methods: {
151
+ ...mapActions("productStat", ["totalProductCounts"]),
152
+ toRefresh(){
153
+ this.p_totalCounts();
154
+ },
155
+ p_totalCounts(){
156
+ let loading = this.$loading({});
157
+ this.totalProductCounts({
158
+ filter_site_id: this.site_id?this.site_id:null,
159
+ filter_business_code: this.business_code?this.business_code:null,
160
+ filter_lv2_business_code: this.sub_business_code
161
+ }).then(res => {
162
+ this.statAll = res.data;
163
+ loading.close();
164
+ }).catch(err => {
165
+ loading.close();
166
+ })
167
+ }
168
+ }
169
+ }
170
+ </script>
171
+
172
+ <style lang="less" scoped>
173
+
174
+ .stat_all_card{
175
+ /deep/ .el-card__body{
176
+ overflow: auto;
177
+ }
178
+ }
179
+ .card_header{
180
+ display: flex;
181
+ align-items: center;
182
+ justify-content: space-between;
183
+ & > i{
184
+ font-size: 24px;
185
+ cursor: pointer;
186
+ }
187
+ }
188
+ .b_tit{
189
+ font-size: 18px;
190
+ font-weight: 400;
191
+ color:#2E3033;
192
+ }
193
+ .s_tit{
194
+ font-size: 12px;
195
+ color: #A1A7B3;
196
+ margin-left: 10px;
197
+ vertical-align: bottom;
198
+ }
199
+ .stat_list{
200
+ width: 100%;
201
+ .stat_item{
202
+ width: 96% !important;
203
+ margin: 0 auto;
204
+ border: 1px solid #efefef;
205
+ border-radius: 5px;
206
+ margin-bottom: 10px;
207
+ padding: 10px;
208
+ ._title{
209
+ margin: 0;
210
+ font-size: 14px;
211
+ font-weight: 400;
212
+ color: #6B7280;
213
+ display: flex;
214
+ // margin-bottom: 10px;
215
+
216
+ i{
217
+ cursor: pointer;
218
+ margin-left: 4px;
219
+ color: #A1A7B3;
220
+ margin-right: 6px;
221
+ }
222
+ }
223
+ ._cont{
224
+ // display: flex;
225
+ align-items: center;
226
+ color: #1A66FF;
227
+ font-weight: 500;
228
+ }
229
+ ._left{
230
+ // font-size: 20px;
231
+ // font-weight: 500;
232
+ // color: #000000 ;
233
+ // height: 30px;
234
+ // line-height: 30px;
235
+ }
236
+ ._right{
237
+ display: flex;
238
+ // flex-direction: column;
239
+ // &.one_level{
240
+ // .right_i{
241
+ // background: none !important;
242
+ // padding-bottom: 0 !important;
243
+ // padding-top: 0 !important;
244
+ // }
245
+ // }
246
+ .one_line{
247
+ font-size: 20px;
248
+ color: #000000;
249
+ height: 30px;
250
+ line-height: 30px;
251
+ }
252
+ .right_i{
253
+ // display: flex;
254
+ font-size: 12px;
255
+ color: #6B7280;
256
+
257
+ &.right_top{
258
+ flex: 1;
259
+ text-align: center;
260
+ }
261
+ &.right_bottom{
262
+ flex: 1;
263
+ text-align: center;
264
+ }
265
+ &.right_middle{
266
+ flex: 1;
267
+ text-align: center;
268
+ }
269
+
270
+ .two_line{
271
+ // width: 80px;
272
+ display: flex;
273
+ & > div{
274
+ margin: 2px 0;
275
+ font-size: 12px;
276
+ text-align: left;
277
+ margin: auto;
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
284
+ .mr10{
285
+ margin-right: 20px;
286
+ }
287
+ .m5{
288
+ margin: 5px 0;
289
+ }
290
+ .c0{
291
+ color: #000000;
292
+ margin-left: 20px;
293
+ }
294
+ .i_blue{
295
+ color: #4F46E5!important;
296
+ }
297
+ </style>
@@ -134,7 +134,7 @@ export default {
134
134
  label: "品牌名称",
135
135
  },
136
136
  { "type": "normal", "prop": "total_view", "align": "center", "width": 150, "label": "总访问量",notice: {
137
- data: ["按查看时间统计用户查看商品详情的总次数 用户多次查看或刷新按多次计"],
137
+ data: ["按查看时间统计用户查看商品详情的总次数","用户多次查看或刷新按多次计"],
138
138
  }, },
139
139
  {
140
140
  type: "normal",
@@ -144,7 +144,7 @@ export default {
144
144
  label: "销量",
145
145
  sort: "custom",
146
146
  notice: {
147
- data: ["按支付时间统计已支付客户订单中商品的总件数 一个订单多件商品按多个计"],
147
+ data: ["按支付时间统计已支付客户订单中商品的总件数","一个订单多件商品按多个计"],
148
148
  },
149
149
  },
150
150
  {
@@ -156,7 +156,7 @@ export default {
156
156
  unit: "元",
157
157
  sort: "custom",
158
158
  notice: {
159
- data: ["按支付时间统计已支付客户订单总金额 包含商品售价"],
159
+ data: ["按支付时间统计已支付客户订单总金额","包含商品售价"],
160
160
  },
161
161
  },
162
162
  {
@@ -168,7 +168,7 @@ export default {
168
168
  unit: "元",
169
169
  sort: "custom",
170
170
  notice: {
171
- data: ["按支付时间统计已支付客户订单进货价金额 包含商品进货价 自有商品按货源进货价,非自有商品按平台进货价计"],
171
+ data: ["按支付时间统计已支付客户订单进货价金额","包含商品进货价","自有商品按货源进货价,","非自有商品按平台进货价计"],
172
172
  },
173
173
  },
174
174
  {
@@ -202,7 +202,7 @@ export default {
202
202
  label: "售后次数",
203
203
  sort: "custom",
204
204
  notice: {
205
- data: ["按审核时间统计客服对应业务线的售后订单中商品的总件数;同一订单售后多件商品按多次计;同一商品多次售后按多次计;仅统计线上订单且全部处理方式的售后订单;"],
205
+ data: ["按审核时间统计客服对应业务线的售后订单中商品的总件数;","同一订单售后多件商品按多次计;","同一商品多次售后按多次计;","仅统计线上订单且全部处理方式的售后订单"],
206
206
  },
207
207
  },
208
208
  {
@@ -214,7 +214,7 @@ export default {
214
214
  unit: "元",
215
215
  sort: "custom",
216
216
  notice: {
217
- data: ["按审核时间统计客服对应业务线的售后订单中商品退款金额 同一订单售后多件商品按多次计 同一商品多次售后按多次计 仅统计线上订单且处理方式为退款、换购的售后订单"],
217
+ data: ["按审核时间统计客服对应业务线的售后订单中商品退款金额","同一订单售后多件商品按多次计","同一商品多次售后按多次计","仅统计线上订单且处理方式为退款、换购的售后订单"],
218
218
  },
219
219
  },
220
220
  ],
@@ -491,5 +491,13 @@ export default {
491
491
  }
492
492
  }
493
493
  }
494
+ @media screen and (max-width: 768px) {
495
+ ::v-deep .xd-stat-trade-date{
496
+ display: block!important;
497
+ .el-date-editor{
498
+ width: 200px!important;
499
+ }
500
+ }
501
+ }
494
502
  </style>
495
503
 
@@ -130,7 +130,7 @@ export default {
130
130
  { "type": "normal", "prop": "category_id", "align": "left", "width": 80, "label": "分类ID" },
131
131
  { "type": "normal", "prop": "category_name", "align": "center", "minWidth": 200, "label": "分类名称" },
132
132
  { "type": "normal", "prop": "total_view", "align": "center", "width": 150, "label": "总访问量",notice: {
133
- data: ["按查看时间统计用户查看商品详情的总次数 用户多次查看或刷新按多次计"],
133
+ data: ["按查看时间统计用户查看商品详情的总次数","用户多次查看或刷新按多次计"],
134
134
  }, },
135
135
  {
136
136
  type: "normal",
@@ -140,7 +140,7 @@ export default {
140
140
  label: "销量",
141
141
  sort: "custom",
142
142
  notice: {
143
- data: ["按支付时间统计已支付客户订单中商品的总件数 一个订单多件商品按多个计"],
143
+ data: ["按支付时间统计已支付客户订单中商品的总件数","一个订单多件商品按多个计"],
144
144
  },
145
145
  },
146
146
  {
@@ -152,7 +152,7 @@ export default {
152
152
  unit: "元",
153
153
  sort: "custom",
154
154
  notice: {
155
- data: ["按支付时间统计已支付客户订单总金额 包含商品售价"],
155
+ data: ["按支付时间统计已支付客户订单总金额","包含商品售价"],
156
156
  },
157
157
  },
158
158
  {
@@ -164,7 +164,7 @@ export default {
164
164
  unit: "元",
165
165
  sort: "custom",
166
166
  notice: {
167
- data: ["按支付时间统计已支付客户订单进货价金额 包含商品进货价 自有商品按货源进货价,非自有商品按平台进货价计"],
167
+ data: ["按支付时间统计已支付客户订单进货价金额","包含商品进货价","自有商品按货源进货价,","非自有商品按平台进货价计"],
168
168
  },
169
169
  },
170
170
  {
@@ -198,7 +198,7 @@ export default {
198
198
  label: "售后次数",
199
199
  sort: "custom",
200
200
  notice: {
201
- data: ["按审核时间统计客服对应业务线的售后订单中商品的总件数;同一订单售后多件商品按多次计;同一商品多次售后按多次计;仅统计线上订单且全部处理方式的售后订单;"],
201
+ data: ["按审核时间统计客服对应业务线的售后订单中商品的总件数;","同一订单售后多件商品按多次计;","同一商品多次售后按多次计;","仅统计线上订单且全部处理方式的售后订单;"],
202
202
  },
203
203
  },
204
204
  {
@@ -210,7 +210,7 @@ export default {
210
210
  unit: "元",
211
211
  sort: "custom",
212
212
  notice: {
213
- data: ["按审核时间统计客服对应业务线的售后订单中商品退款金额 同一订单售后多件商品按多次计 同一商品多次售后按多次计 仅统计线上订单且处理方式为退款、换购的售后订单"],
213
+ data: ["按审核时间统计客服对应业务线的售后订单中商品退款金额","同一订单售后多件商品按多次计","同一商品多次售后按多次计","仅统计线上订单且处理方式为退款、换购的售后订单"],
214
214
  },
215
215
  },
216
216
  ],
@@ -494,6 +494,13 @@ export default {
494
494
  }
495
495
 
496
496
  }
497
-
497
+ @media screen and (max-width: 768px) {
498
+ ::v-deep .xd-stat-trade-date{
499
+ display: block!important;
500
+ .el-date-editor{
501
+ width: 200px!important;
502
+ }
503
+ }
504
+ }
498
505
  </style>
499
506
 
@@ -155,7 +155,7 @@ export default {
155
155
  label: "所属供应商",
156
156
  },
157
157
  { "type": "normal", "prop": "total_view", "align": "center", "width": 150, "label": "总访问量",notice: {
158
- data: ["按查看时间统计用户查看商品详情的总次数 用户多次查看或刷新按多次计"],
158
+ data: ["按查看时间统计用户查看商品详情的总次数","用户多次查看或刷新按多次计"],
159
159
  }, },
160
160
  {
161
161
  type: "normal",
@@ -165,7 +165,7 @@ export default {
165
165
  label: "销量",
166
166
  sort: "custom",
167
167
  notice: {
168
- data: ["按支付时间统计已支付客户订单中商品的总件数 一个订单多件商品按多个计"],
168
+ data: ["按支付时间统计已支付客户订单中商品的总件数","一个订单多件商品按多个计"],
169
169
  },
170
170
  },
171
171
  {
@@ -189,7 +189,7 @@ export default {
189
189
  unit: "元",
190
190
  sort: "custom",
191
191
  notice: {
192
- data: ["按支付时间统计已支付客户订单进货价金额 包含商品进货价 自有商品按货源进货价,非自有商品按平台进货价计"],
192
+ data: ["按支付时间统计已支付客户订单进货价金额","包含商品进货价","自有商品按货源进货价","非自有商品按平台进货价计"],
193
193
  },
194
194
  },
195
195
  {
@@ -223,7 +223,7 @@ export default {
223
223
  label: "售后次数",
224
224
  sort: "custom",
225
225
  notice: {
226
- data: ["按审核时间统计客服对应业务线的售后订单中商品的总件数;同一订单售后多件商品按多次计;同一商品多次售后按多次计;仅统计线上订单且全部处理方式的售后订单;"],
226
+ data: ["按审核时间统计客服对应业务线的售后订单中商品的总件数;","同一订单售后多件商品按多次计;","同一商品多次售后按多次计;","仅统计线上订单且全部处理方式的售后订单",],
227
227
  },
228
228
  },
229
229
  {
@@ -235,7 +235,7 @@ export default {
235
235
  unit: "元",
236
236
  sort: "custom",
237
237
  notice: {
238
- data: ["按审核时间统计客服对应业务线的售后订单中商品退款金额 同一订单售后多件商品按多次计 同一商品多次售后按多次计 仅统计线上订单且处理方式为退款、换购的售后订单"],
238
+ data: ["按审核时间统计客服对应业务线的售后订单中商品退款金额","同一订单售后多件商品按多次计","同一商品多次售后按多次计","仅统计线上订单且处理方式为退款、换购的售后订单"],
239
239
  },
240
240
  },
241
241
  ],
@@ -464,7 +464,7 @@ export default {
464
464
  slot: "trade-date",
465
465
  },
466
466
  {
467
- label: "商品ID",
467
+ label: "商品ID:",
468
468
  ele: "el-input",
469
469
  valueKey: "product_id",
470
470
  value: "",
@@ -510,7 +510,7 @@ export default {
510
510
  },
511
511
  },
512
512
  {
513
- label: "商品类型",
513
+ label: "商品类型:",
514
514
  ele: "xd-select-list",
515
515
  valueKey: "product_type",
516
516
  value: "",
@@ -529,7 +529,7 @@ export default {
529
529
  slot: "time",
530
530
  },
531
531
  {
532
- label: "供应商归属",
532
+ label: "供应商归属:",
533
533
  ele: "xd-select-list",
534
534
  valueKey: "supplier_belong",
535
535
  value: "",
@@ -569,5 +569,13 @@ export default {
569
569
  }
570
570
  }
571
571
  }
572
+ @media screen and (max-width: 768px) {
573
+ ::v-deep .xd-stat-trade-date{
574
+ display: block!important;
575
+ .el-date-editor{
576
+ width: 200px!important;
577
+ }
578
+ }
579
+ }
572
580
  </style>
573
581
 
@@ -30,12 +30,19 @@
30
30
  </el-select>
31
31
  </div>
32
32
  <stat-all
33
- v-if="site_id&&business_code==='mall'&&status"
33
+ v-if="site_id&&business_code==='mall'&&status&&isPC"
34
34
  :site_id="site_id"
35
35
  :business_code="business_code"
36
36
  :sub_business_code="sub_business_code"
37
37
  v-permission="[Role.totalCounts]"
38
38
  ></stat-all>
39
+ <stat-all-m
40
+ v-if="site_id&&business_code==='mall'&&status&&!isPC"
41
+ :site_id="site_id"
42
+ :business_code="business_code"
43
+ :sub_business_code="sub_business_code"
44
+ v-permission="[Role.totalCounts]"
45
+ ></stat-all-m>
39
46
  <select-discount
40
47
  v-if="site_id&&isSelectProdDis"
41
48
  :site_id="site_id"
@@ -99,6 +106,7 @@ import checkPermission from "@/utils/permission";
99
106
  import Role from "@/constant/modules/supplierStat";
100
107
  import selectDiscount from "./components/select-discount.vue";
101
108
  import { getOptions } from "@/utils/options";
109
+ import statAllM from "./components/stat-all-m.vue"
102
110
 
103
111
  export default {
104
112
  name: "AppDashboard",
@@ -109,7 +117,8 @@ export default {
109
117
  tableCategory,
110
118
  statAllGift,
111
119
  XdStatTableGroup,
112
- selectDiscount
120
+ selectDiscount,
121
+ statAllM,
113
122
  },
114
123
  data() {
115
124
  return {
@@ -173,7 +182,9 @@ export default {
173
182
  },
174
183
 
175
184
  created() {
176
- //partner-admin/v1/site/options
185
+ if ($xdHelper && typeof $xdHelper.isPC === 'function') {
186
+ if (!$xdHelper.isPC()) this.isPC = false;
187
+ }
177
188
  this.getSitesList().then((res) => {
178
189
  this.siteList = res.data.list.map(item=>{
179
190
  return {
@@ -17,7 +17,7 @@
17
17
  </div>
18
18
  <div>
19
19
  <el-form ref="form" :inline="true" :model="form" label-width="80px">
20
- <el-form-item label="折扣类型">
20
+ <el-form-item label="折扣类型:">
21
21
  <el-select
22
22
  v-model="discount_type"
23
23
  filterable
@@ -34,7 +34,7 @@
34
34
  </el-option>
35
35
  </el-select>
36
36
  </el-form-item>
37
- <el-form-item label="供应商">
37
+ <el-form-item label="供应商:">
38
38
  <el-select
39
39
  v-model="channel_code"
40
40
  filterable
@@ -69,10 +69,10 @@
69
69
  </el-option>
70
70
  </el-select>
71
71
  </el-form-item>
72
- <el-form-item label="时间">
72
+ <el-form-item label="时间:">
73
73
  <xd-stat-trade-date :isRangeMonth="true" v-model="tradeTime"></xd-stat-trade-date>
74
74
  </el-form-item>
75
- <el-form-item label="公共分类">
75
+ <el-form-item label="公共分类:">
76
76
  <el-cascader v-model="category_id" :props="categoryProps" clearable></el-cascader>
77
77
  </el-form-item>
78
78
  <el-form-item>
@@ -333,4 +333,13 @@ export default {
333
333
  .dis_f{
334
334
  display: flex;
335
335
  }
336
+ @media screen and (max-width: 768px) {
337
+ ::v-deep .xd-stat-trade-date{
338
+ display: block!important;
339
+ .el-date-editor{
340
+ width: 200px!important;
341
+ }
342
+ }
343
+ }
344
+
336
345
  </style>