viewDetail.vue
22.1 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
<!-- 查看详情 -->
<template>
<div class="view-detail">
<div class="header-block">
<el-row>
<el-col :span="8">
分账类型:{{ form.autoFlag === 'N' ? '线下对账' : '线上分账' }}
</el-col>
<el-col :span="8">
自动打款:{{ form.autoFlag === 'N' ? '关闭' : '开启' }}
</el-col>
<el-col v-show="form.settleTimeType && form.autoFlag !== 'N'" :span="8">
分账周期:
<span v-if="form.settleTimeType === 1">T+{{ form.settleTime }}</span>
<span v-else>每月{{ form.settleTime }}号</span>
</el-col>
</el-row>
<!-- -->
<el-row v-show="hasDivision && form.autoFlag !== 'N'">
<el-col :span="3">
<p>金额分配设置:</p>
</el-col>
<el-col :span="21">
<p>
<span class="blue">{{ divisionForm.realityPlatformMerchantName }}:</span>平台方分账金额
<span v-show="divisionList.realityPlatformMerchantName.length">,{{
divisionList.realityPlatformMerchantName.join(',') }}</span>
</p>
<p v-if="merchantInfo.partnerSettleAccountModel == 1">
<span class="blue">{{ merchantInfo.singlePartnerMerchant ? merchantInfo.singlePartnerMerchant.merchantName :
'' }}{{ merchantInfo.singlePartnerMerchant ? ('(' + merchantInfo.singlePartnerMerchant.merchantId + ')') :
'' }}:</span>
{{ divisionList.singlePartnerMerchant.join(',') }}
</p>
<p v-if="merchantInfo.partnerSettleAccountModel == 2">
<span class="blue">{{ merchantInfo.installCostPartnerMerchant ?
merchantInfo.installCostPartnerMerchant.merchantName : '' }}{{ merchantInfo.installCostPartnerMerchant ? (
'(' + merchantInfo.installCostPartnerMerchant.merchantId + ')') : '' }}:</span>
{{ divisionList.installCostPartnerMerchant.join(',') }}
</p>
<p v-if="merchantInfo.partnerSettleAccountModel == 2">
<span class="blue">{{ merchantInfo.marketingCostPartnerMerchant ?
merchantInfo.marketingCostPartnerMerchant.merchantName : '' }}{{ merchantInfo.marketingCostPartnerMerchant ?
('(' + merchantInfo.marketingCostPartnerMerchant.merchantId + ')') : '' }}:</span>
{{ divisionList.marketingCostPartnerMerchant.join(',') }}
</p>
<!-- v-show="divisionList.realityShopMerchantName.length" -->
<p>
<span class="blue">{{ divisionForm.realityShopMerchantName }}:</span>{{
divisionList.realityShopMerchantName.join(',') }}
</p>
</el-col>
</el-row>
</div>
<table style="margin-top: -8px;" cellpadding="0" cellspacing="0">
<tr>
<th style="width: 20%;">
分润计算<span class="blue">(仅针对POS机收款订单)</span>
</th>
<th style="text-align: center;color:red;">
{{ baseData.shop4sDeductChargeFlagObj[merchantInfo.shop4sDeductChargeFlag] }};
{{ baseData.partnerDeductChargeFlagObj[merchantInfo.partnerDeductChargeFlag] }};
<!-- {{merchantInfo.deductChargeFlag ? baseData.deductChargeFlagObj[merchantInfo.deductChargeFlag] : '无'}} -->
</th>
</tr>
</table>
<p class="edit-sub-title">
<!-- 导流方(4S店)基础信息 -->
流量方基础信息及分润规则
</p>
<table cellpadding="0" cellspacing="0">
<tr>
<th>商户编号:{{ merchantInfo.merchantId }}</th>
<th class="ellipsis w-298" :title="$$(merchantInfo.merchant, 'merchantName')">
商户名称:{{ $$(merchantInfo.merchant, 'merchantName') }}
</th>
<th class="w-140">
联系人:{{ merchantInfo.merchant ? merchantInfo.merchant.contactName : '' }}
</th>
<th>联系电话:{{ merchantInfo.merchant ? merchantInfo.merchant.phone : '' }}</th>
</tr>
<tr>
<td colspan="3">
地址:{{ needTransformObj.addr }}
</td>
<td>创建时间:{{ needTransformObj.createdDate }}</td>
</tr>
<tr>
<td>登录账户:{{ merchantInfo.merchant ? merchantInfo.merchant.accountName : '' }}</td>
<td>
商户类型:{{ baseData[$$(merchantInfo.merchant, 'channelType') === 2 ? 'ghUserTypeList' :
'userTypeList'][$$(merchantInfo.merchant, 'userType')] }}
</td>
<td>
商户分类:{{ $$(merchantInfo.merchant, 'merchantType') ? baseData.merchantClassifyList.find(item => item.confId ===
merchantInfo.merchant.merchantType).confLabel : '' }}
</td>
<td class="dateContainer noPddingRight">
入驻日期:
<el-date-picker v-model="needTransformObj.entryDate" type="datetime" class="datePicker" style="width:0"
ref="datePicker" value-format="yyyy-MM-dd" placeholder="选择日期" @change="changeDate" />
<div>{{ needTransformObj.entryDate }}</div>
<div class="date" v-if="isGetDetail">
<div class="dateBtn" @click="chooseDate">
编辑
</div>
</div>
</td>
<!-- <td>阳光激励费:{{merchantInfo.incentiveType ? merchantInfo.incentiveValue : '' }}{{merchantInfo.incentiveType ? (merchantInfo.incentiveType === 1 ? '%' : '元') : ''}}</td> -->
</tr>
</table>
<table cellpadding="0" cellspacing="0" style="border-width: 0px 0px 1px 1px;">
<tr class="txt-center">
<td>分账品类</td>
<td>分账模式</td>
<td>分润比例</td>
</tr>
<tr class="txt-center" v-show="!settleRuleList.length">
<td>无</td>
<td>无</td>
<td>无</td>
</tr>
<tr v-for="(item, index) in settleRuleList" :key="index" class="txt-center">
<td>{{ item.goodsTypeName }}</td>
<td>
{{ merchantSettleTypeList.find(i => i.confId === item.merchantSettleType).confLabel }}
</td>
<td>{{ item.merchantProfitValue }}%</td>
</tr>
</table>
<p class="edit-sub-title m-t-10">
关联的园区店基础信息
</p>
<table cellpadding="0" cellspacing="0">
<tr>
<th>园区店编号:{{ merchantInfo.yqMerchant ? merchantInfo.yqMerchant.merchantId : '' }}</th>
<th class="ellipsis w-298" :title="merchantInfo.yqMerchant ? merchantInfo.yqMerchant.merchantName : ''">
园区店名称:{{ merchantInfo.yqMerchant ? merchantInfo.yqMerchant.merchantName : '' }}
</th>
<th class="w-140">
联系人:{{ merchantInfo.yqMerchant ? merchantInfo.yqMerchant.contactName : '' }}
</th>
<th>联系电话:{{ merchantInfo.yqMerchant ? merchantInfo.yqMerchant.phone : '' }}</th>
</tr>
<tr>
<td colspan="3">
地址:{{ needTransformObj.yqAddr }}
</td>
<td>创建时间:{{ needTransformObj.yqCreatedDate }}</td>
</tr>
</table>
<!-- <div v-show="merchantInfo.partnerMerchants"> -->
<p class="edit-sub-title m-t-10">
关联的服务商基础信息及分润规则
</p>
<table cellpadding="0" cellspacing="0" style="border-width: 0px 0px 1px 1px;">
<tr class="txt-center">
<td>分账品类</td>
<td>分润比例</td>
</tr>
<tr class="txt-center" v-show="!settleRuleList.length">
<td>无</td>
<td>无</td>
</tr>
<tr v-for="(item, index) in settleRuleList" :key="index" class="txt-center">
<td>{{ item.goodsTypeName }}</td>
<td>{{ item.partnerProfitPer }}%</td>
</tr>
</table>
<!-- 单服务商店回显 -->
<table cellpadding="0" v-if="merchantInfo.partnerSettleAccountModel == 1" cellspacing="0">
<tr>
<th>
商户编号:{{ merchantInfo.singlePartnerMerchant ? merchantInfo.singlePartnerMerchant.merchantId : '' }}
</th>
<th class="ellipsis w-298"
:title="merchantInfo.singlePartnerMerchant ? merchantInfo.singlePartnerMerchant.merchantName : ''">
商户名称:{{ merchantInfo.singlePartnerMerchant ? merchantInfo.singlePartnerMerchant.merchantName : '' }}
</th>
<th class="w-140">
联系人:{{ merchantInfo.partnerMerchant ? merchantInfo.partnerMerchant.contactName : '' }}
</th>
<th>
联系电话:{{ merchantInfo.singlePartnerMerchant ? merchantInfo.singlePartnerMerchant.phone : '' }}
</th>
</tr>
<tr>
<td colspan="3">
地址:{{ needTransformObj.parentAddr }}
</td>
<td>创建时间:{{ needTransformObj.parentCreatedDate }}</td>
</tr>
</table>
<!-- 多园区店回显 -->
<div v-if="merchantInfo.partnerSettleAccountModel == 2">
<p>
安装费用:
{{ merchantInfo.partnerMerchantMultiSettleAccountRule.installCostCalculateType |
filterCostLabel(merchantInfo.partnerMerchantMultiSettleAccountRule.installCostSettleType, merchantInfo.partnerMerchantMultiSettleAccountRule.installCostValue)
}}
</p>
<!-- v-if="merchantInfo.partnerSettleAccountModel == 1" -->
<table cellpadding="0" cellspacing="0">
<tr>
<th>
商户编号:{{ merchantInfo.installCostPartnerMerchant ? merchantInfo.installCostPartnerMerchant.merchantId : '' }}
</th>
<th class="ellipsis w-298"
:title="merchantInfo.installCostPartnerMerchant.merchantName ? merchantInfo.installCostPartnerMerchant.merchantName : ''">
商户名称:{{ merchantInfo.installCostPartnerMerchant.merchantName ?
merchantInfo.installCostPartnerMerchant.merchantName : '' }}
</th>
<th class="w-140">
联系人:{{ merchantInfo.installCostPartnerMerchant ? merchantInfo.installCostPartnerMerchant.contactName : '' }}
</th>
<th>
联系电话:{{ merchantInfo.installCostPartnerMerchant ? merchantInfo.installCostPartnerMerchant.phone : '' }}
</th>
</tr>
<tr>
<td colspan="3">
地址:{{ merchantInfo.installCostPartnerMerchant | createTimeFormat }}
</td>
<td>创建时间:{{ merchantInfo.installCostPartnerMerchant | address }}</td>
</tr>
</table>
<!-- v-if="merchantInfo.partnerSettleAccountModel == 1" -->
<p>
<span class="m-r-50">营销费用:{{ merchantInfo.partnerMerchantMultiSettleAccountRule.marketingCostCalculateType |
filterCostLabel(merchantInfo.partnerMerchantMultiSettleAccountRule.marketingCostSettleType, merchantInfo.partnerMerchantMultiSettleAccountRule.marketingCostValue)
}}</span>
<span>奖惩费用:服务商总分润-安装费用-营销费用</span>
</p>
<table cellpadding="0" cellspacing="0">
<tr>
<th>
商户编号:{{ merchantInfo.marketingCostPartnerMerchant ? merchantInfo.marketingCostPartnerMerchant.merchantId : ''
}}
</th>
<th class="ellipsis w-298"
:title="merchantInfo.marketingCostPartnerMerchant ? merchantInfo.marketingCostPartnerMerchant.merchantName : ''">
商户名称:{{ merchantInfo.marketingCostPartnerMerchant ? merchantInfo.marketingCostPartnerMerchant.merchantName :
'' }}
</th>
<th class="w-140">
联系人:{{ merchantInfo.marketingCostPartnerMerchant ? merchantInfo.marketingCostPartnerMerchant.contactName : ''
}}
</th>
<th>
联系电话:{{ merchantInfo.marketingCostPartnerMerchant ? merchantInfo.marketingCostPartnerMerchant.phone : '' }}
</th>
</tr>
<tr>
<td colspan="3">
地址:{{ merchantInfo.marketingCostPartnerMerchant | createTimeFormat }}
</td>
<td>创建时间:{{ merchantInfo.marketingCostPartnerMerchant | address }}</td>
</tr>
</table>
</div>
</div>
<!-- </div> -->
</template>
<script>
import { Util, returnFloat, deepClone } from '@/common/util'
// import { deepClone } from '@/libs/util'
// import { Util, deepClone, returnFloat } from '@/common/util'
import { getAccountRule, getDivisionRuleApi, entrydateUpdate } from '@api/merchant'
// deductChargeFlagObj
import { userType, ghUserType, merchantClassifyList, partnerDeductChargeFlagObj, shop4sDeductChargeFlagObj } from '@/common/constants'
export default {
name: 'ViewDetail',
props: {
viewDetailVisible: {
type: Boolean,
default: false
},
merchantInfo: {
type: Object,
default: () => { }
},
isGetDetail: {
type: Boolean,
default: true
}
},
data() {
return {
form: {
autoFlag: 'N'
},
needTransformObj: {
addr: '',
createdDate: '',
yqAddr: '',
yqCreatedDate: '',
parentAddr: '',
parentCreatedDate: '',
entryDate: ''
},
// dj - 嘀加智慧云;partnerMerchant:服务商;merchant - 4S店
// divisionList: {
// dj: [],
// partnerMerchant: [],
// merchant: []
// },
divisionList: {
realityPlatformMerchantName: [], // 平台方
singlePartnerMerchant: [], // 单服务商
realityShopMerchantName: [], // 导流方
installCostPartnerMerchant: [], // 安装服务商
marketingCostPartnerMerchant: [] // 营销服务商
},
divisionForm: {
realityShopMerchantName: ''
},
flagTodivisionObj: {
shopProfitDivisionFlag: '导流方分账金额',
partnerProfitDivisionFlag: '服务商分账金额',
goodsCostDivisionFlag: '产品成本',
extraCostDivisionFlag: '额外成本',
installCostDivisionFlag: '安装费用',
marketingCostDivisionFlag: '营销费用',
singlePartnerProfitDivisionFlag: '服务商分账金额'
// incentiveCostDivisionFlag: '市场费'
},
hasDivision: false,
// 分账列表
settleRuleList: [],
baseData: {
userTypeList: userType,
ghUserTypeList: ghUserType,
merchantClassifyList: merchantClassifyList,
// deductChargeFlagObj: deductChargeFlagObj
shop4sDeductChargeFlagObj: shop4sDeductChargeFlagObj,
partnerDeductChargeFlagObj: partnerDeductChargeFlagObj
},
merchantSettleTypeList: [{
confId: 1,
confLabel: '毛利分润'
}, {
confId: 2,
confLabel: '收入分润'
}]
}
},
// 定义组件过滤器
filters: {
filterMerchanName(id, list) {
// console.log(this.merchantSelectOptions)
const obj = list.find(item => item.merchantId == id)
// console.log(obj ? obj.merchantName : 0)
return obj ? obj.merchantName : ''
},
filterCostLabel(op, type, value) {
// console.log(op, type, value)
// let a =
// let a = op ==1? ''
if (op == 1) {
return '固定金额' + value
} else {
// const name = type == 1 ? '按订单收入' : '按订单毛利'
const name = type == 1 ? '按订单毛利' : '按订单收入'
return name + value + '%'
}
},
createTimeFormat(obj) {
return (obj.entryDate ? Util.dateFormate(obj.entryDate, 'YYYY-MM-DD') : '')
},
address(obj) {
return (obj.provinceName || '') + (obj.cityName || '') + (obj.areaName || '') + (obj.address || '')
}
},
computed: {
severType: {
get() {
const list = this.merchantInfo.partnerMerchants
const type = this.merchantInfo.partnerSettleAccountModel
// this.merchantInfo.partnerMerchants.length
if (list && list.length && type) {
return type
} else {
return false
}
},
set(val) {
// this.$emit('update:isShow', false)
}
}
},
watch: {
// viewDetailVisible(newVal, val) {
// console.log(newVal)
// newVal && this.getDetail()
// }
},
mounted() {
// console.log(this.isGetDetail)
this.setNeedTransformObj()
if (this.isGetDetail) {
this.getDetail()
} else {
this.setAccountRule(this.merchantInfo.settleRule)
console.log(this.merchantInfo.divisionRule)
this.setDivisionRule(deepClone(this.merchantInfo.divisionRule))
// const res = Object.assign(this.merchantInfo.settleRule, this.merchantInfo.divisionRule)
// this.setDivisionRule(res)
}
},
methods: {
getDetail() {
// console.log(this.merchantInfo)
// console.log(Util.dateFormate(this.merchantInfo.merchant.entryDate, 'YYYY-MM-DD'))
getDivisionRuleApi({ merchantId: this.merchantInfo.merchantId }).then(res => {
// console.log(res)
// this.hasDivision = !!res
this.setDivisionRule(res)
})
getAccountRule({ merchantId: this.merchantInfo.merchantId }).then(res => {
this.setAccountRule(res)
})
},
setNeedTransformObj() {
this.needTransformObj = {
addr: this.merchantInfo.merchant ? ((this.merchantInfo.merchant.provinceName || '') + (this.merchantInfo.merchant.cityName || '') + (this.merchantInfo.merchant.areaName || '') + (this.merchantInfo.merchant.address || '')) : '',
createdDate: this.merchantInfo.merchant ? (this.merchantInfo.merchant.createdDate ? Util.dateFormate(this.merchantInfo.merchant.createdDate, 'YYYY-MM-DD HH:mm:ss') : '') : '',
yqAddr: this.merchantInfo.yqMerchant ? ((this.merchantInfo.yqMerchant.provinceName || '') + (this.merchantInfo.yqMerchant.cityName || '') + (this.merchantInfo.yqMerchant.areaName || '') + (this.merchantInfo.yqMerchant.address || '')) : '',
yqCreatedDate: this.merchantInfo.yqMerchant ? (this.merchantInfo.yqMerchant.createdDate ? Util.dateFormate(this.merchantInfo.yqMerchant.createdDate, 'YYYY-MM-DD HH:mm:ss') : '') : '',
parentAddr: this.merchantInfo.singlePartnerMerchant ? ((this.merchantInfo.singlePartnerMerchant.provinceName || '') + (this.merchantInfo.singlePartnerMerchant.cityName || '') + (this.merchantInfo.singlePartnerMerchant.areaName || '') + (this.merchantInfo.singlePartnerMerchant.address || '')) : '',
parentCreatedDate: this.merchantInfo.singlePartnerMerchant ? (this.merchantInfo.singlePartnerMerchant.createdDate ? Util.dateFormate(this.merchantInfo.singlePartnerMerchant.createdDate, 'YYYY-MM-DD HH:mm:ss') : '') : '',
entryDate: this.merchantInfo.merchant ? (this.merchantInfo.merchant.entryDate ? Util.dateFormate(this.merchantInfo.merchant.entryDate, 'YYYY-MM-DD') : '') : ''
}
},
setDivisionRule(res) {
this.hasDivision = res ?? ''
this.divisionForm = res || {}
// console.log(this.divisionForm)
Object.assign(this.form, res)
var flagList = Object.keys(this.flagTodivisionObj)
var numToDivisionList = {
1: 'realityPlatformMerchantName',
2: 'singlePartnerMerchant',
3: 'realityShopMerchantName',
4: 'installCostPartnerMerchant',
5: 'marketingCostPartnerMerchant'
}
// console.log(res)
res && flagList.forEach(item => {
// console.log(numToDivisionList[res[item]])
// console.log(this.flagTodivisionObj[item])
// console.log(numToDivisionList[res[item]])
numToDivisionList[res[item]] && this.divisionList[numToDivisionList[res[item]]].push(this.flagTodivisionObj[item])
})
},
setAccountRule(res) {
// console.log('478', res)
Object.assign(this.merchantInfo, res)
// console.log(this.settleRuleList)
// debugger
// console.log('483', res)
if (res) {
// console.log('483', deepClone(res.goodsTypeSettleRuleList))
// console.log('483', util.deepClone(res.goodsTypeSettleRuleList))
res.goodsTypeSettleRuleList && res.goodsTypeSettleRuleList.forEach(val => {
if (val.merchantProfitValue) val.merchantProfitValue = returnFloat(val.merchantProfitValue)
if (val.partnerProfitPer) val.partnerProfitPer = returnFloat(val.partnerProfitPer)
})
this.settleRuleList = deepClone(res.goodsTypeSettleRuleList)
// console.log(this.settleRuleList)
// console.log(deepClone(res.goodsTypeSettleRuleList))
// debugger
// console.log(res.goodsTypeSettleRuleList)
this.merchantInfo.deductChargeFlag = res.deductChargeFlag
this.settleRuleList.unshift({
goodsTypeName: '全部',
merchantSettleType: res.merchantSettleType,
merchantProfitValue: returnFloat(res.merchantProfitValue),
partnerProfitPer: returnFloat(res.partnerProfitPer)
})
}
// console.log(this.settleRuleList)
},
chooseDate() {
this.$refs.datePicker.focus()
},
changeDate(date) {
console.log(date)
var params = {}
params.merchantId = this.merchantInfo.merchantId
params.entryDate = date
entrydateUpdate(params).then(res => {
this.notice.okTips()
})
}
}
}
</script>
<style scoped>
.edit-sub-title {
margin-bottom: 10px;
}
.m-t-10 {
margin-top: 10px;
}
.header-block {
box-sizing: border-box;
width: 100%;
color: #666666;
border: 1px solid #e5e6e7;
padding: 10px;
margin-bottom: 7px;
}
table {
width: 100%;
color: #666666;
border: 1px solid #e5e6e7;
border-width: 1px 0 0 1px;
}
table tr {
height: 30px;
line-height: 30px;
}
table th,
table td {
font-size: 12px;
font-weight: normal;
padding: 0px 10px;
border: 1px solid #e5e6e7;
border-width: 0px 1px 1px 0px;
border-spacing: 0;
text-align: left;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.txt-center td {
text-align: center;
}
.blue {
color: #0947c6;
}
.ellipsis {
height: 32px;
line-height: 32px;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
}
.w-298 {
width: 292px;
}
.w-140 {
width: 163px;
}
.dateContainer {
display: flex;
position: relative;
}
.date {
flex: 1;
height: 100%;
position: relative;
}
.datePicker {
position: absolute;
/* top: 0; */
z-index: -1;
left: 0;
/* display: none; */
}
.dateBtn {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 1;
color: #0947c6;
cursor: pointer;
text-align: center;
}
.noPddingRight {
padding-right: 0;
}
.m-r-50 {
margin-right: 50px;
}
</style>