index.vue
25.3 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
<!-- 转账管理 - 列表 -->
<template>
<div>
<!-- class="order-detail" -->
<d2-container>
<!-- <div class="offline-account"> -->
<div class="header"
slot="header"
style="padding: 10px 20px;">
<d2-search ref="showSearch"
class="show-search"
:search-form="searchForm"
:label-width="labelWidth"
:form-data="showFormData" />
<div class="up-btns">
<el-button @click="handleSearch"
size="small"
type="primary">
查询
</el-button>
<el-button size="small"
@click="handleReset">
重置
</el-button>
</div>
</div>
<!-- </d2-container>
<d2-container> -->
<div class="d2-container-content">
<d2-table-header>
<!-- -->
<span>
<auth-button category="Button"
:show-btn-ids="['9050501']" /></span>
<span class="tableHeaderBtn">
<auth-button category="Button"
:show-btn-ids="['9050512']" /></span>
<span class="tableHeaderBtn">
<auth-button category="Button"
:show-btn-ids="['9050502', '9050503', '9050504',]" /></span>
</d2-table-header>
<d2-table ref="recordTable"
:get-list-api="getListApi"
:search-form="searchFormSearch"
:table-params="tableParams"
:before-search-fn="beforeSearchFn">
<div slot="auth-button"
slot-scope="scope">
<!-- 查看 -->
<span style="margin-right: 10px;">
<auth-button :data="scope.scope"
:show-btn-ids="['9050505']" />
</span>
<!-- 审核 -->
<span style="margin-right: 10px;"
v-if="scope.scope.status == 0">
<auth-button :data="scope.scope"
:show-btn-ids="['9050511']" />
</span>
<!-- 审核 -->
<span style="margin-right: 10px;"
v-if="scope.scope.status == 1">
<auth-button :data="scope.scope"
:show-btn-ids="['9050506']" />
</span>
<!-- 确认 -->
<span style="margin-right: 10px;"
v-if="scope.scope.status == 2">
<auth-button :data="scope.scope"
:show-btn-ids="['9050507']" />
</span>
<!-- 驳回 -->
<span style="margin-right: 10px;"
v-if="[0, 1, 2].includes(scope.scope.status)">
<auth-button :data="scope.scope"
:show-btn-ids="['9050508']" />
</span>
<!-- 重新发起转账 -->
<span style="margin-right: 10px;"
v-if="scope.scope.status == 7">
<auth-button :data="scope.scope"
:show-btn-ids="['9050509']" />
</span>
<!-- 重新发起提现 -->
<span style="margin-right: 10px;"
v-if="scope.scope.status == 8">
<auth-button :data="scope.scope"
:show-btn-ids="['9050510']" />
</span>
</div>
</d2-table>
</div>
</d2-container>
<!-- 批量审核 -->
<leaderExamineDialog :examine-visible="leaderExamineDialogVisible"
:info-list="infos"
v-if="leaderExamineDialogVisible"
@dialogClose="examineDialogClose" />
<!-- 批量审核 -->
<examine-dialog :examine-visible="examineVisible"
:info-list="infos"
v-if="examineVisible"
@dialogClose="examineDialogClose" />
<!-- 驳回 -->
<reject-dialog :reject-visible="rejectVisible"
:params-obj="recordInfo"
v-if="rejectVisible"
@dialogClose="rejectDialogClose" />
<!-- 财务确认 -->
<finance-confirm-dialog :finance-confirm-visible="financeConfirmVisible"
:info-list="infos"
v-if="financeConfirmVisible"
@dialogClose="financeConfirmDialogClose" />
<!-- 详细信息 -->
<detail-dialog :visible.sync="detailVisible"
v-if="detailVisible"
:params-obj="recordInfo" />
<!-- 新增转账 -->
<add-dialog :add-visible="addVisible"
v-if="addVisible"
@dialogClose="addDialogClose" />
</div>
</template>
<script>
import { Util, deepClone } from '@/common/util'
import { mapActions, mapState } from 'vuex'
import { transferAccountsStatusList, transferTypeList, sceneCodeList, warningStatus } from '@/common/constants.js'
import { transferAccountsRecordPage, transferAccountsRecordUpdateStatus, reTransfer } from '@api/transferAccountsManage'
import { rewithdraw } from '@api/withdrawalManage'
import examineDialog from './components/examineDialog'
import rejectDialog from './components/rejectDialog'
import financeConfirmDialog from './components/financeConfirmDialog'
import detailDialog from './components/detailDialog'
import addDialog from './components/addDialog'
import leaderExamineDialog from './components/leaderExamineDialog'
import { getPlatformMerchantList } from '@api/index'
export default {
name: 'TransferAccountsList',
components: {
examineDialog,
rejectDialog,
financeConfirmDialog,
detailDialog,
addDialog,
leaderExamineDialog
},
data() {
return {
userInfo: this.$store.state.d2admin.user.info,
labelWidth: '100px',
searchForm: {
orderCode: '',
merchantName: '',
transferInMerchantName: '',
status: '',
statuses: [],
sceneType: '',
sceneTypes: [],
transferTrandeNo: '',
withdrawTradeNo: '',
transferAccountsDate: '',
transferType: '',
platformMerchantId: '',
warnStatus: ''
},
searchFormSearch: {},
showFormData: [{
label: '业务单号',
name: 'orderCode',
type: 'input',
maxlength: '20',
isClear: true
}, {
label: '对账方',
name: 'merchantName',
type: 'input',
maxlength: '50',
isClear: true
}, {
label: '转入方',
name: 'transferInMerchantName',
type: 'input',
maxlength: '50',
isClear: true
}, {
label: '状态',
name: 'status',
type: 'select',
isClear: true,
optionList: [],
optionId: 'confId',
optionLabel: 'confValue',
optionsName: 'statusList'
}, {
label: '业务场景',
name: 'sceneType',
type: 'select',
isClear: true,
optionList: [],
optionId: 'confId',
optionLabel: 'confValue',
optionsName: 'sceneTypeList'
}, {
label: '转账流水号',
name: 'transferTrandeNo',
type: 'input',
maxlength: '20',
isClear: true
}, {
label: '提现流水号',
name: 'withdrawTradeNo',
type: 'input',
maxlength: '20',
isClear: true
}, {
label: '转账时间',
name: 'transferAccountsDate',
type: 'datePicker',
isClear: true,
pickerOptions: 'rangePickerOptions'
}, {
label: '转账类型',
name: 'transferType',
type: 'select',
isClear: true,
optionList: [],
optionId: 'confId',
optionLabel: 'confValue',
optionsName: 'transferTypeList'
}, {
label: '所属平台方',
name: 'platformMerchantId',
type: 'select',
isClear: true,
optionList: [],
optionId: 'merchantId',
optionLabel: 'merchantName',
optionsName: 'PlatformMerchantList'
}, {
label: '预警状态',
name: 'warnStatus',
type: 'select',
isClear: true,
optionList: [],
optionId: 'confId',
optionLabel: 'confValue',
optionsName: 'warningStatusList'
}],
getListApi: transferAccountsRecordPage,
tableParams: {
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: 'list',
mutiSelectUniqueKey: 'id',
mutiSelectName: 'transferAccounts',
tableOption: { width: '200px' },
tableColumns: [{
label: '业务单号',
prop: 'orderCode',
width: '200px'
}, {
label: '所属平台方',
prop: 'platformMerchantName',
width: '160px',
formatter: (cellValue) => {
return cellValue.platformMerchantName ? cellValue.platformMerchantName : '-'
}
}, {
label: '业务场景',
prop: 'sceneType',
width: '100px',
formatter: (cellValue) => {
return this.baseData.sceneTypeList.find(item => item.confId === cellValue.sceneType)?.confValue
}
}, {
label: '转账类型',
prop: 'transferType',
width: '100px',
formatter: (cellValue) => {
return this.baseData.transferTypeList.find(item => item.confId === cellValue.transferType)?.confValue
}
}, {
label: '对账服务商',
prop: 'partnerMerchantName',
width: '160px'
}, {
label: '对账园区店',
prop: 'yqMerchantName',
width: '160px',
formatter: (cellValue) => {
let html = ''
if (cellValue.transferType == 1) { // 服务商款项时,无值显示为“全部”
html = cellValue.yqMerchantName ? cellValue.yqMerchantName : '全部'
} else {
html = cellValue.yqMerchantName ? cellValue.yqMerchantName : '-'
}
return html
}
}, {
label: '对账流量方',
prop: 'shopMerchantName',
width: '160px',
formatter: (cellValue) => {
let html = ''
if (cellValue.transferType == 1) { // 服务商款项时,无值显示为“全部”
html = cellValue.shopMerchantName ? cellValue.shopMerchantName : '全部'
} else {
html = cellValue.shopMerchantName ? cellValue.shopMerchantName : '-'
}
return html
}
}, {
label: '对账周期',
prop: 'cycle',
width: '200px',
formatter: (cellValue) => {
return cellValue.startTime + ' - ' + cellValue.endTime
}
}, {
label: '转出方',
prop: 'transferOutMerchantName',
width: '160px'
}, {
label: '转入方',
prop: 'transferInMerchantName',
width: '160px'
}, {
label: '转账金额/元',
prop: 'transferTotalAmount',
width: '100px',
formatter: (cellValue) => {
return cellValue.transferTotalAmount ? cellValue.transferTotalAmount : ''
}
}, {
label: '费用类型',
prop: 'costType',
width: '160px',
formatter: (cellValue) => {
var costTypeList = []
if (cellValue.installCost || cellValue.installCost == 0) {
costTypeList.push('安装费')
}
if (cellValue.rewardAndPenaltyCost || cellValue.rewardAndPenaltyCost == 0) {
costTypeList.push('奖惩费')
}
if (cellValue.marketingCost || cellValue.marketingCost == 0) {
costTypeList.push('营销费')
}
if (cellValue.shopTrafficMoney || cellValue.shopTrafficMoney == 0) {
costTypeList.push('流量费')
}
if (costTypeList.length > 0) {
return costTypeList.join(',')
} else {
return ''
}
}
}, {
label: '创建时间',
prop: 'createdDate',
width: '150px',
formatter: (cellValue) => {
return cellValue.createdDate ? Util.dateFormate(cellValue.createdDate, 'YYYY-MM-DD HH:mm:ss') : ''
}
},
{
label: '状态',
prop: 'status',
width: '100px',
formatter: (cellValue) => {
return this.baseData.statusList.find(item => item.confId === cellValue.status)?.confValue
},
className: (cellValue) => {
return {
0: 'blueSpot',
1: 'blueSpot',
2: 'blueSpot',
3: 'blueSpot',
4: 'greenSpot',
5: 'blueSpot',
6: 'greenSpot',
7: 'redSpot',
8: 'redSpot',
9: 'redSpot'
}[cellValue.status]
}
},
{
label: '预警状态',
prop: 'warnStatus',
width: '100px',
formatter: (cellValue) => {
return this.baseData.warningStatusList.find(item => item.confId === cellValue.warnStatus)?.confValue
}
},
{
label: '预警原因',
prop: 'warnReason',
width: '100px',
formatter: (cellValue) => {
return cellValue.warnReason ? cellValue.warnReason : '--'
}
},
{
label: '转账时间',
prop: 'transferTime',
width: '150px',
formatter: (cellValue) => {
return cellValue.transferTime ? Util.dateFormate(cellValue.transferTime, 'YYYY-MM-DD HH:mm:ss') : '--'
}
},
{
label: '转账流水号',
prop: 'transferTrandeNo',
width: '160px',
formatter: (cellValue) => {
return cellValue.transferTrandeNo ? cellValue.transferTrandeNo : '--'
}
},
{
label: '提现时间',
prop: 'withdrawTime',
width: '150px',
formatter: (cellValue) => {
return cellValue.withdrawTime ? Util.dateFormate(cellValue.withdrawTime, 'YYYY-MM-DD HH:mm:ss') : '--'
}
},
{
label: '提现流水号',
prop: 'withdrawTradeNo',
width: '160px',
formatter: (cellValue) => {
return cellValue.withdrawTradeNo ? cellValue.withdrawTradeNo : '--'
}
}
]
},
baseData: {
statusList: deepClone(transferAccountsStatusList),
sceneTypeList: deepClone(sceneCodeList),
transferTypeList: deepClone(transferTypeList),
warningStatusList: deepClone(warningStatus),
PlatformMerchantList: []
},
examineVisible: false,
infos: [],
rejectVisible: false,
recordInfo: null,
financeConfirmVisible: false,
detailVisible: false,
addVisible: false,
leaderExamineDialogVisible: false
}
},
computed: {
...mapState({
dowloadList: (state) => state.d2admin.user.dowloadList
})
},
mounted() {
this.getPlatformMerchantList()
this.getBaseData()
},
methods: {
...mapActions({
get: 'd2admin/base/get',
close: 'd2admin/page/close'
}),
...mapActions('d2admin/user', ['actionSetDownloadList']),
async getBaseData() {
this.getOptionsList()
},
beforeSearchFn() {
return new Promise(resolve => {
this.searchFormSearch = deepClone(this.searchForm)
if (this.searchFormSearch.transferAccountsDate) {
this.searchFormSearch.transferStartTimeStr = Util.dateFormate(this.searchFormSearch.transferAccountsDate[0], 'YYYY-MM-DD HH:mm:ss')
this.searchFormSearch.transferEndTimeStr = Util.dateFormate(this.searchFormSearch.transferAccountsDate[1], 'YYYY-MM-DD') + ' 23:59:59'
delete this.searchFormSearch.transferAccountsDate
}
if (this.searchFormSearch.status || this.searchFormSearch.status == '0') {
this.searchFormSearch.statuses[0] = this.searchFormSearch.status
delete this.searchFormSearch.status
}
if (this.searchFormSearch.sceneType || this.searchFormSearch.sceneType == '0') {
this.searchFormSearch.sceneTypes[0] = this.searchFormSearch.sceneType
delete this.searchFormSearch.sceneType
}
resolve()
})
},
getOptionsList() {
this.showFormData.forEach((item, index) => {
if (item.type === 'select') {
if (this.baseData[item.optionsName].length && this.baseData[item.optionsName][0][this.showFormData[index].optionLabel] !== '全部') {
const temp = {}
temp[this.showFormData[index].optionId] = ''
temp[this.showFormData[index].optionLabel] = '全部'
this.baseData[item.optionsName].unshift(temp)
}
this.$set(this.showFormData[index], 'optionList', this.baseData[item.optionsName])
}
})
},
handleSearch() {
this.$refs.recordTable.refreshTable(false, true)
},
handleReset() {
this.searchForm = {
orderCode: '',
merchantName: '',
transferInMerchantName: '',
status: '',
statuses: [],
sceneType: '',
sceneTypes: [],
transferTrandeNo: '',
withdrawTradeNo: '',
transferAccountsDate: '',
transferType: '',
platformMerchantId: '',
warnStatus: ''
}
this.$refs.recordTable.refreshTable(false, true)
},
handleAdd() {
this.addVisible = !this.addVisible
},
addDialogClose(obj) {
this[obj.attrName] = !this[obj.attrName]
if (obj.flag) {
this.$refs.recordTable.refreshTable()
}
},
handleExport() {
var params = this.searchFormSearch
if (params.statuses.length > 0) {
const statuses = `statuses[0]`
params[statuses] = params.statuses[0]
delete params.statuses
}
if (params.sceneTypes.length > 0) {
const sceneTypes = `sceneTypes[0]`
params[sceneTypes] = params.sceneTypes[0]
delete params.sceneTypes
}
// 去除为null的值
for (const key in params) {
if (params[key] === null || params[key] === '' || params[key].length == 0) {
delete params[key]
}
}
params.method = 'dj.api.smartcarlife.transferAccountsRecord.exportAsync'
const list = [
...this.dowloadList,
{
name: '转账记录',
exportParam: JSON.stringify(params),
status: 'waiting',
timeid: new Date().getTime()
}
]
this.actionSetDownloadList({ list, type: 'dowloadList' })
},
// 查看详情
handleDetail(row) {
this.recordInfo = row
this.detailVisible = !this.detailVisible
},
// 批量审核
handleBatchExamine() {
var selectedData = []
console.log(this.$refs.recordTable.mutiSelectArr.transferAccounts)
if (this.$refs.recordTable.mutiSelectArr.transferAccounts) {
selectedData = this.$refs.recordTable.mutiSelectArr.transferAccounts
}
this.handleBatchExamine_commit(selectedData)
},
handleLeaderAllExamine() {
var selectedData = []
console.log(this.$refs.recordTable.mutiSelectArr.transferAccounts)
if (this.$refs.recordTable.mutiSelectArr.transferAccounts) {
selectedData = this.$refs.recordTable.mutiSelectArr.transferAccounts
}
this.handleLeaderBatchExamine_commit(selectedData)
},
handleLeaderBatchExamine_commit(selectedData) {
if (!selectedData?.length) {
this.$message({
message: "请选择待商户领导审核的转账记录;本次操作无效",
type: "warning",
showClose: true
})
return false
}
let _flag = true
selectedData.forEach(item => {
if (item.status != 0) { // 非“运营审核”状态不允许批量审核
_flag = false
}
})
if (!_flag) {
// this.notice.warningTips('请选择待运营审核的转账记录;本次操作无效')
this.$message({
message: "请选择待商户领导审核的转账记录;本次操作无效",
type: "warning",
showClose: true
})
return
}
this.infos = deepClone(selectedData)
this.leaderExamineDialogVisible = !this.leaderExamineDialogVisible
},
handleBatchExamine_commit(selectedData) {
if (!selectedData?.length) {
this.$message({
message: "请选择待运营审核的转账记录;本次操作无效",
type: "warning",
showClose: true
})
return false
}
let _flag = true
selectedData.forEach(item => {
if (item.status != 1) { // 非“运营审核”状态不允许批量审核
_flag = false
}
})
if (!_flag) {
// this.notice.warningTips('请选择待运营审核的转账记录;本次操作无效')
this.$message({
message: "请选择待运营审核的转账记录;本次操作无效",
type: "warning",
showClose: true
})
return
}
this.infos = deepClone(selectedData)
this.examineVisible = !this.examineVisible
},
// 审核
handleExamine(row) {
console.log(row)
var selectedData = []
selectedData.push(row)
this.handleBatchExamine_commit(selectedData)
},
// 商务领导审核
handleLeaderExamine(row) {
console.log(row)
var selectedData = []
selectedData.push(row)
this.handleLeaderBatchExamine_commit(selectedData)
},
// 关闭审核弹窗
examineDialogClose(obj) {
this[obj.attrName] = !this[obj.attrName]
if (obj.flag) {
this.$refs.recordTable.refreshTable()
}
},
// 驳回
handleReject(row) {
this.recordInfo = row
this.rejectVisible = !this.rejectVisible
},
// 关闭驳回弹窗
rejectDialogClose(obj) {
this[obj.attrName] = !this[obj.attrName]
if (obj.flag) {
this.$refs.recordTable.refreshTable()
}
},
// 批量确认
handleBatchConfirm() {
var selectedData = []
console.log(this.$refs.recordTable.mutiSelectArr.transferAccounts)
if (this.$refs.recordTable.mutiSelectArr.transferAccounts) {
selectedData = this.$refs.recordTable.mutiSelectArr.transferAccounts
}
this.handleBatchConfirm_commit(selectedData)
},
handleBatchConfirm_commit(selectedData) {
if (!selectedData?.length) {
this.$message({
message: "请选择待财务确认的转账记录;本次操作无效",
type: "warning",
showClose: true
})
return false
}
let _flag = true
selectedData.forEach(item => {
if (item.status != 2) { // 非“财务确认”状态不允许批量确认
_flag = false
}
})
if (!_flag) {
// this.notice.warningTips('请选择待财务确认的转账记录;本次操作无效')
this.$message({
message: "请选择待财务确认的转账记录;本次操作无效",
type: "warning",
showClose: true
})
return
}
this.infos = deepClone(selectedData)
this.financeConfirmVisible = !this.financeConfirmVisible
},
handleConfirm(row) {
console.log(row)
var selectedData = []
selectedData.push(row)
this.handleBatchConfirm_commit(selectedData)
},
// 关闭确认弹窗
financeConfirmDialogClose(obj) {
this[obj.attrName] = !this[obj.attrName]
if (obj.flag) {
this.$refs.recordTable.refreshTable()
}
},
// 重新发起转账
handleReTransfer(row) {
this.$confirm('重新发起转账,系统自动向银盛平台重新发起转账请求,是否确定发起?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
closeOnClickModal: false
}).then(() => {
reTransfer({ orderCode: row.orderCode }).then(res => {
this.notice.okTips()
this.$refs.recordTable.refreshTable()
})
}).catch(err => {
console.log(err)
})
},
// 重新发起提现
handleReWithdrawal(row) {
this.$confirm('重新发起提现,系统自动向银盛平台重新发起提现请求,是否确定发起?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
closeOnClickModal: false
}).then(() => {
rewithdraw({ orderCode: row.withdrawOrderCode }).then(res => {
this.notice.okTips()
this.$refs.recordTable.refreshTable()
})
}).catch(err => {
console.log(err)
})
},
// 获取平台方数据
getPlatformMerchantList() {
getPlatformMerchantList({}).then(res => {
res.unshift({
merchantId: -1,
merchantName: '嘀加智慧云'
})
this.baseData.PlatformMerchantList = res
this.getOptionsList()
})
}
}
}
</script>
<style scoped>
.count-txt {
font-weight: 700;
color: #2a58ad;
margin: 0 2px;
}
.leftSpan {
display: inline-block;
box-sizing: border-box;
margin-right: 10px;
}
.tableHeaderBtn {
margin-left: 10px;
}
</style>