index.vue
27.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
<template>
<div class="activity">
<GLTabs v-model="activeName" :tabPaneList="tabPaneList" @tab-click="handleClick"></GLTabs>
<div class="purchase">
<div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="showFormData" :search-select-obj="searchSelectObj" @handleOk="handleSearch" @handleRest="handleReset(activeName)"></GLCombiForm>
<div class="table-header">
<span class="priceSpan">
<p>
合计: 收款:{{ totalObj.totalPrice }} 元, 毛利收益:{{
totalObj.totalYqGrossProfit
}}元
</p>
<p>
累计分账金额:导流方{{ totalObj.totalShopProfitMoney }} 元,
服务对接:{{ totalObj.totalYqProfitMoney }}元,平台方{{
totalObj.totalGlProfitMoney
}}
元,服务商{{ totalObj.totalFranchiseeProfitMoney }} 元
</p>
</span>
<el-button type="primary" class="btn" size="small" @click="exportExcel">导出</el-button>
</div>
<!-- 表格区域 开始 -->
<el-table :data="tableData" row-key="uniqueKey" :tree-props="{ children: 'subOrderProfitAllocations' }">
<el-table-column label="序号" prop="indexNum" align="center" minWidth="80" />
<el-table-column label="商品信息" align="center">
<el-table-column prop="orderCode" label="主订单编号" minWidth="170" align="center" />
<el-table-column prop="customerName" label="客户姓名" minWidth="90" align="center">
<template slot-scope="scope">
<span>{{ scope.row.customerName || '-' }}</span>
</template>
</el-table-column>
<el-table-column prop="sellerName" label="转化员" minWidth="90" align="center" v-if="sellerName_visible">
<template slot-scope="scope">
<span>{{ scope.row.sellerName || '-' }}</span>
</template>
</el-table-column>
<el-table-column prop="employeeName" label="销售顾问" minWidth="90" align="center">
<template slot-scope="scope">
<span>{{ scope.row.employeeName || '-' }}</span>
</template>
</el-table-column>
<el-table-column prop="tradeNo" label="交易参考号" align="center" minWidth="150" />
<el-table-column prop="goodsName" label="商品名称" minWidth="90" align="center">
<template slot-scope="scope">
<span>{{ scope.row.goodsName || '-' }}</span>
</template>
</el-table-column>
<el-table-column prop="upgradeGoodsAlias" label="商品别名" minWidth="90" align="center">
<template slot-scope="scope">
<span>{{ scope.row.goodsAlias || '-' }}</span>
</template>
</el-table-column>
<el-table-column prop="goodsCost" label="商品成本" minWidth="90" align="center" />
<el-table-column prop="recoveryCost" label="回收成本" minWidth="90" align="center" />
<el-table-column prop="virtualAccountCost" label="虚拟对账成本" align="center" minWidth="120" />
</el-table-column>
<el-table-column label="支付信息" align="center">
<el-table-column prop="payTimeStr" label="支付时间" minWidth="180" align="center" />
<el-table-column prop="payType" label="支付方式" align="center" minWidth="90">
<template slot-scope="scope">
<span>{{ payTypeOpts[scope.row.payType] }}</span>
</template>
</el-table-column>
<el-table-column prop="paidMoney" label="支付金额" minWidth="90" align="center" />
<el-table-column prop="serviceCharge" label="入账手续费" minWidth="110" align="center">
</el-table-column>
<el-table-column prop="userActualIncomeMoney " label="实收金额" minWidth="90" align="center">
<template slot-scope="scope">
<span>{{
scope.row.hasOwnProperty('subOrderProfitAllocations')
? scope.row.userActualIncomeMoney
: '-'
}}</span>
</template>
</el-table-column>
<el-table-column prop="distributeMoney" label="总分账金额" minWidth="110" align="center">
<template slot-scope="scope">
<span>{{
scope.row.distributeMoney === '¥0'
? '-'
: scope.row.distributeMoney
}}</span>
</template>
</el-table-column>
</el-table-column>
<el-table-column label="
4S店分账" align="center">
<el-table-column prop="shopMerchantName" label="流量方" width="170" align="center" />
<el-table-column prop="shopProfitType" label="流量方比例" width="120" align="center" v-if="shopProfitType_visible">
<template slot-scope="scope">
<span v-if="scope.row.shopProfitType">按{{ shopProfitTypeOpts[scope.row.shopProfitType]
}}{{ scope.row.shopProfitPer }}%</span>
<span v-else>-</span>
</template>
</el-table-column>
<el-table-column prop="shopProfitMoney" label="流量费" align="center">
<template slot-scope="scope">
<span>{{
scope.row.shopProfitMoney === '¥0'
? '-'
: scope.row.shopProfitMoney
}}</span>
</template>
</el-table-column>
</el-table-column>
<el-table-column label="服务对接" align="center" width="200" prop="yqMerchantName" v-if="yq_visible">
<!-- <el-table-column prop="yqMerchantName"
label="园区店名称"
width="170"
align="center" /> -->
<!-- 审计需求先屏蔽 -->
<!-- <el-table-column prop="yqProfitMoney"
label="园区店总金额"
align="center">
<template slot-scope="scope">
<span>{{
scope.row.yqProfitMoney === '¥0' ? '-' : scope.row.yqProfitMoney
}}</span>
</template>
</el-table-column>
<el-table-column prop="yqGrossProfit"
label="园区店毛利收益"
align="center" /> -->
</el-table-column>
<!-- <el-table-column prop="extraCost"
label="额外成本"
align="center">
</el-table-column> -->
<!-- <el-table-column label="服务商分账"
align="center"
v-show="userInfo.beSuper">
<el-table-column prop="franchiseeMerchantName"
label="分账对象"
align="center">
<template slot-scope="scope">
<span>{{ scope.row.franchiseeMerchantName || '-' }}</span>
</template>
</el-table-column>
<el-table-column prop="franchiseeProfitPer"
label="分账比例"
align="center">
<template slot-scope="scope">
<span>{{
scope.row.franchiseeProfitPer
? scope.row.franchiseeProfitPer + '%'
: '-'
}}</span>
</template>
</el-table-column>
<el-table-column prop="franchiseeProfitMoney"
label="分账金额"
align="center">
<template slot-scope="scope">
<span>{{
scope.row.franchiseeProfitMoney === '¥0'
? '-'
: scope.row.franchiseeProfitMoney
}}</span>
</template>
</el-table-column>
</el-table-column> -->
<!-- v-show="userInfo.beSuper" -->
<!-- <el-table-column prop="franchiseeProfitPer"
label="服务商比例"
width="100"
align="center">
<template slot-scope="scope">
<span>{{
scope.row.franchiseeProfitPer
? scope.row.franchiseeProfitPer + '%'
: '-'
}}</span>
</template>
</el-table-column> -->
<!-- 审计需求先屏蔽 -->
<!-- <el-table-column label="服务商"
align="center">
<el-table-column prop="franchiseeProfitMoney"
label="服务商总金额"
width="110"
align="center">
<template slot-scope="scope">
<span>{{
scope.row.franchiseeProfitMoney === '¥0'
? '-'
: scope.row.franchiseeProfitMoney
}}</span>
</template>
</el-table-column>
<el-table-column prop="installCost"
label="安装费金额"
width="100"
align="center">
<template slot-scope="scope">
<span>{{
!scope.row.installCost || scope.row.installCost === '¥0'
? '-'
: scope.row.installCost
}}</span>
</template>
</el-table-column>
<el-table-column prop="marketingCost"
label="营销费金额"
width="100"
align="center">
<template slot-scope="scope">
<span>{{
!scope.row.marketingCost || scope.row.marketingCost === '¥0'
? '-'
: scope.row.marketingCost
}}</span>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column label="平台方" width="200" prop="platformMerchantName" align="center">
<!-- 审计需求先屏蔽 -->
<!-- <el-table-column prop="glProfitMoney"
label="平台方金额"
width="100"
align="center" /> -->
<!-- <el-table-column prop="platformMerchantName"
label="平台方对象"
width="100"
align="center">
<template slot-scope="scope">
<span>{{ (scope.row.platformMerchantName || (scope.row.platformMerchantId && scope.row.platformMerchantId != '-1')) ? scope.row.platformMerchantName : '嘀加智慧云' }}</span>
</template>
</el-table-column> -->
</el-table-column>
<el-table-column label="订单类型" align="center" minWidth="90" prop="orderType">
<span slot-scope="scope">{{
scope.row.orderType
? baseData.orderTypeList.find(
item => +item.confId === scope.row.orderType
).confLabel
: ''
}}</span>
</el-table-column>
<el-table-column align="center" label="操作" width="120" fixed="right">
<template slot-scope="scope">
<el-button type="text" size="mini" style="margin-right: 10px;" @click="handleDetail(scope.row)">
查看明细
</el-button>
<auth-button :data="scope" />
</template>
</el-table-column>
</el-table>
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page.currentPage" :page-sizes="[10,20,30,40]" :page-size="page.pageSize" :total="total" layout="sizes,total,->,prev,pager,next,jumper" />
<!-- 表格区域 end -->
</div>
</div>
</div>
</template>
<script>
import * as dayjs from 'dayjs'
import url from '@/assets/empty.png'
import { Util } from '@/common/util'
import { divisionTypeList, payTypeList, orderTypeList, manageTypeList, payType, sceneList, exportFn } from '@/common/constant.js'
export default {
components: {
// Order,
// Crowdfunding
},
data() {
return {
activeName: "1",
tabPaneList: [
{
label: "精品升级",
name: "1"
},
{
label: "次新车转化",
name: "2"
},
{
label: "售后众筹",
name: "3"
},
{
label: "车损升级",
name: "0"
}
],
sessionInfo: this.$globalState.session,
size: 'small',
url: url,
searchForm: {
sceneType: '1',
time: '',
yqMerchantId: '',
merchantId: '',
orderCode: '',
divisionType: '',
},
searchSelectObj: {
orderOrTrade: {
attr: 'orderCode',
value: ''
}
},
// tableData: tableData,
showFormData: [
{
label: '按时间',
name: 'time',
type: 'datePicker',
isClear: true,
pickerOptions: 'beforeRangePickerOptions'
},
{
label: '服务对接',
name: 'yqMerchantId',
type: 'select',
optionList: [],
optionId: 'merchantId',
optionLabel: 'merchantName',
optionsName: 'parkServiceList',
changeAttr: (value, targetItem) => {
value
? this.getServiceStore(value)
: (this.baseData.storeIdList = [])
this.searchForm.merchantId = ''
this.getOptionsList()
}
}, {
label: '流量来源',
name: 'merchantId',
type: 'select',
noDataText: '请先选择服务对接',
optionList: [],
optionId: 'merchantId',
optionLabel: 'merchantName',
optionsName: 'storeIdList'
}, {
label: '商户名称',
name: 'merchantNameKeyWord',
type: 'input',
placeholder: '请输入服务商/服务对接/导流方名称',
isClear: true
}, {
label: '分账方式',
name: 'divisionType',
type: 'select',
optionList: [],
optionId: 'confId',
optionLabel: 'confLabel',
optionsName: 'divisionTypeList'
}, {
label: '支付方式',
name: 'payType',
type: 'select',
optionList: [],
optionId: 'confId',
optionLabel: 'confLabel',
optionsName: 'payTypeList'
}, {
label: '订单类型',
name: 'orderType',
type: 'select',
optionList: [],
optionId: 'confId',
optionLabel: 'confLabel',
optionsName: 'orderTypeList'
}, {
type: 'selectInput',
selectName: 'orderOrTrade',
isClear: true,
selectOption: [{
label: '主订单编号',
name: 'orderCode'
}, {
label: '交易参考号',
name: 'tradeNo'
}],
handleSelectChange: (value) => {
this.searchSelectObj.orderOrTrade.value = ''
}
}
],
// 表格
getListApi: this.$apis.account.getSeviceList,
// 表格
tableData: [],
// 基本数据
baseData: {
parkServiceList: [],
storeIdList: [],
divisionTypeList: Util.deepClone(divisionTypeList),
orderTypeList: Util.deepClone(orderTypeList),
payTypeList: Util.deepClone(payTypeList),
manageTypeList: Util.deepClone(manageTypeList),
},
page: {
pageSize: 10,
currentPage: 1
},
total: 0,
totalObj: {},
payTypeOpts: Util.deepClone(payType),
shopProfitTypeOpts: {
1: '毛利',
2: '收入'
},
sceneList: sceneList
}
},
mounted() {
this.$apis.public.getyqMerchantList({}).then(res => {
res.forEach(item => {
item.merchantId = item.merchantNo
})
this.baseData.parkServiceList = res
this.getOptionsList()
})
this.getServiceStore(this.sessionInfo.merchantId)
this.getBaseData()
this.handleSearch()
},
computed: {
},
watch: {
'activeName': {
handler(val) {
if (val == 0) {
/** 1.0场景(暂无业务支撑)
1)隐藏顶部统计区域部分;
2)隐藏园区店相关的筛选字段;
3)隐藏园区店相关字段及转化员;
4)隐藏流量方比例,流量费=流量方各项分账类目之和;
5)下载对账单隐藏园区店对账单入口 */
this.sellerName_visible = false
this.shopProfitType_visible = false
this.yq_visible = false
} else if (val == 1) {
/** 1.1场景
1)隐藏流量方比例,流量费=流量方各项分账类目之和 */
this.sellerName_visible = true
this.shopProfitType_visible = false
this.yq_visible = true
} else if (val == 2) {
/** 1.2场景(暂无业务支撑)
1)隐藏顶部统计区域部分;
2)隐藏流量方比例,流量费=流量方各项分账类目之和 */
this.sellerName_visible = true
this.shopProfitType_visible = false
} else if (val == 3) {
/** 1.3场景
1)隐藏顶部统计区域部分;
2)隐藏园区店相关的筛选字段;
3)隐藏园区店相关字段及转化员;
4)隐藏流量方比例,流量费=流量方各项分账类目之和;
5)下载对账单隐藏园区店对账单入口 */
this.sellerName_visible = false
this.shopProfitType_visible = false
this.yq_visible = false
}
this.handleReset(val)
// this.getList()
// this.getTotal()
},
immediate: true
}
},
methods: {
async getBaseData() {
this.getOptionsList()
},
getServiceStore(merchantId) {
this.$apis.public.getServiceStore({
yqMerchantId: merchantId
}).then(res => {
this.baseData.storeIdList = res || []
this.getOptionsList()
})
},
getOptionsList(formName = 'showFormData', hasAll = true, refreshSigle) {
if (refreshSigle) {
var item = this[formName].find(k => k.name == refreshSigle)
var index = this[formName].findIndex(k => k.name == refreshSigle)
this.$set(this[formName][index], 'optionList', this.$common.utils.deepClone(this.baseData[item.optionsName]))
if (hasAll && this.baseData[item.optionsName].length && this.baseData[item.optionsName][0][this[formName][index].optionLabel] !== '全部') {
const temp = {}
temp[this[formName][index].optionId] = ''
temp[this[formName][index].optionLabel] = '全部'
this[formName][index].optionList.unshift(temp)
}
} else {
this[formName].forEach((item, index) => {
if (item.type === 'select' && this.baseData[item.optionsName]?.length) {
this.$set(this[formName][index], 'optionList', this.$common.utils.deepClone(this.baseData[item.optionsName]))
if (hasAll && this.baseData[item.optionsName].length && this.baseData[item.optionsName][0][this[formName][index].optionLabel] !== '全部') {
const temp = {}
temp[this[formName][index].optionId] = ''
temp[this[formName][index].optionLabel] = '全部'
this[formName][index].optionList.unshift(temp)
}
}
})
}
},
// handleClick() {
// this.handleReset(this.activeName)
// },
handleReset(sceneType) {
this.searchForm = {
time: '',
yqMerchantId: '',
merchantId: '',
orderCode: '',
divisionType: '',
sceneType: sceneType
}
this.searchSelectObj = {
orderOrTrade: {
attr: 'orderCode',
value: ''
},
typeSelect: {
attr: 'divisionType',
value: ''
}
}
this.getOptionsList()
this.handleSearch()
},
getSelectInputParams() {
const list = Object.keys(this.searchSelectObj)
var params = {}
list.forEach(i => {
const item = this.searchSelectObj[i]
item.value && (params[item.attr] = item.value)
})
return params
},
getParams() {
// var params = this.getSelectInputParams()
// if (this.searchForm.yqMerchantId) {
// params.yqMerchantId = this.searchForm.yqMerchantId
// }
// if (this.searchForm.merchantId) {
// params.merchantId = this.searchForm.merchantId
// }
// if (this.searchForm.time) {
// params.payStartDateStr =
// new Date(this.searchForm.time[0])
// .toLocaleDateString()
// .replace(/\//g, '-') + ' 00:00:00'
// params.payEndDateStr =
// new Date(this.searchForm.time[1])
// .toLocaleDateString()
// .replace(/\//g, '-') + ' 23:59:59'
// }
// if (this.searchForm.merchantNameKeyWord) {
// params.merchantNameKeyWord = this.searchForm.merchantNameKeyWord
// }
// if (this.searchForm.sceneType) {
// params.sceneType = this.searchForm.sceneType
// }
var params = Util.deepClone(this.searchForm)
const tempParams = this.getSelectInputParams()
params = {
...params,
...tempParams
}
if (params.time && params.time.length) {
params.payStartDateStr = Util.dateFormate(this.searchForm.time[0], 'YYYY-MM-DD HH:mm:ss')
params.payEndDateStr = Util.dateFormate(this.searchForm.time[1], 'YYYY-MM-DD') + ' 23:59:59'
delete params.time
}
return params
},
getList() {
var params = this.getParams()
params = {
...this.page,
...params
}
this.tableData = []
this.$apis.finance.getList(params).then(res => {
if (params.sceneType == this.searchForm.sceneType) {
let temp = 1
this.tableData = res.list.map((item, index) => {
this.isSubOrder = !item.hasOwnProperty('subOrderProfitAllocations')
item.uniqueKey = temp++
if (
item.hasOwnProperty('subOrderProfitAllocations') &&
item.subOrderProfitAllocations
) {
item.subOrderProfitAllocations.forEach(subItem => {
subItem.uniqueKey = temp++
subItem = this.numAddPrefix(subItem)
})
}
item = this.numAddPrefix(item)
return item
})
this.page.currentPage = res.pageNum
this.page.pageSize = res.pageSize
this.total = res.total
}
})
},
numAddPrefix(item) {
const moneyLabels = [
'goodsCost',
'totalPrice',
'serviceCharge',
'userActualIncomeMoney',
'yqCost',
'distributeMoney',
'shopProfitMoney',
'yqProfitMoney',
'glProfitMoney',
'franchiseeProfitMoney',
'extraCost',
'yqGrossProfit',
'paidMoney',
'sellPrice',
'shopCost',
'installCost',
'marketingCost',
'rewardAndPenaltyCost',
'franchiseeProfitMoneyForAudit',
'glProfitMoneyForAudit'
]
const rateToFloat = [ // 分润比例整数补零字段
'franchiseeProfitPer',
'shopProfitPer',
'yqProfitPer',
'glProfitPer'
]
for (const key in item) {
if (moneyLabels.indexOf(key) > -1) {
item[key] = typeof item[key] === 'number' ? `¥${item[key]}` : '-'
}
if (rateToFloat.indexOf(key) > -1) {
item[key] = item[key] && Util.returnFloat(item[key])
}
}
return item
},
getTotal() {
this.$apis.finance.getListTotal(this.getParams()).then(res => {
this.totalObj = res
})
},
handleSearch() {
this.page.currentPage = 1
this.getList()
this.getTotal()
},
// 每页条数
handleSizeChange(value) {
this.page.pageSize = value
this.getList()
},
// 页码
handleCurrentChange(value) {
this.page.currentPage = value
this.getList()
},
// 查看明细
handleDetail(row) {
this.$router.push({
path: '/financeManage/financeDetail',
query: row
})
},
exportExcel() {
var params = this.getParams()
this.$apis.finance.exportExcel(params).then(res => {
// window.location.href = res
exportFn(res)
})
},
}
}
</script>
<style scoped lang="scss">
@import '@/assets/css/mixin.scss';
.activity {
/deep/ {
.el-select .el-tag {
max-width: 60% !important;
}
.el-form-item__content {
overflow: inherit !important;
}
}
.container {
margin-top: 16px;
.title {
height: 32px;
line-height: 32px;
margin-bottom: 10px;
.title-text {
font-weight: 600;
font-size: 16px;
color: #333333;
margin-left: 4px;
}
}
}
.empty-btn {
position: absolute;
right: -40px;
top: 0px;
font-size: 14px;
color: #5850ff;
}
.config-pannel {
background: #f9f9f9;
width: 520px;
height: 168px;
display: flex;
.config-item {
padding: 26px 20px;
}
.clear-btn {
cursor: pointer;
background: #f1f1f1;
width: 40px;
height: 100%;
line-height: 20px;
font-size: 14px;
color: #666666;
padding: 60px 13px;
box-sizing: border-box;
}
}
.input-tag-wrapper {
position: relative;
font-size: 14px;
background-color: #fff;
background-image: none;
border-radius: 4px;
border: 1px solid #dcdfe6;
box-sizing: border-box;
color: #666;
display: inline-block;
outline: none;
padding: 5px;
max-height: 68px;
overflow: auto;
flex-wrap: wrap;
transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
width: 450px;
display: flex;
align-items: center;
margin-top: 6px;
font-size: 14px;
i {
color: #75acff;
margin-right: 3px;
font-size: 14px;
}
/deep/ .el-tag {
background-color: #fff !important;
margin-bottom: 4px;
}
}
.select-wrap {
.common {
margin: 4px 0;
height: 40px !important;
overflow: hidden;
/deep/ .el-input {
height: 40px !important;
line-height: 40px !important;
}
/deep/ .el-input__suffix {
height: 40px !important;
margin-top: -4px;
.is-reverse {
transform: rotate(180deg);
}
}
}
}
}
.purchase {
.table-header {
display: flex;
align-items: center;
margin-bottom: 25px;
margin-top: 20px;
h2 {
font-weight: 600;
font-size: 16px;
color: #333;
}
.glbtn {
left: 46px;
position: absolute;
}
.btn {
right: 47px;
position: absolute;
}
}
.greenSpot {
@include dot;
background: $color-green;
}
.yellowSpot {
@include dot;
background: $color-yellow;
}
.ashSpot {
@include dot;
background: $color-gray;
}
.table-btns /deep/.el-button--text {
min-width: 0 !important;
padding: 0;
}
.priceSpan {
font-size: 14px;
color: #909399;
}
.count-txt {
font-weight: 700;
color: #2a58ad;
margin: 0 2px;
}
}
</style>