Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-points
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 025a9be6
authored
Nov 14, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
dd267a3d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
14 deletions
src/views/withdraw/detail.vue
src/views/withdraw/index.vue
src/views/withdraw/detail.vue
View file @
025a9be
...
...
@@ -37,7 +37,7 @@
<template
v-for=
"(record, recordIdx) in recordInfo.operationList"
>
<el-form
label-width=
"154px"
:inline=
"true"
:key=
"recordIdx"
>
<el-row
v-for=
"(item, index) in operationDataRow"
:key=
"index"
>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label
[record.type]
+ ':'"
class=
"row-item"
>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label
(record)
+ ':'"
class=
"row-item"
>
<span
v-if=
"subItem.addHtml"
class=
"flex_sc"
>
<div
class=
"table_point"
:style=
"
{ background: subItem.addHtml(record).color }">
</div>
{{
subItem
.
addHtml
(
record
).
status
}}
...
...
@@ -82,7 +82,6 @@ export default {
detailVisible
(
newVal
)
{
this
.
isVisible
=
newVal
this
.
getDetails
()
}
},
computed
:
{},
...
...
@@ -173,16 +172,17 @@ export default {
]
this
.
operationData
=
[
{
label
:
[
'审核'
,
'付款'
,
'驳回'
],
label
:
obj
=>
{
return
[
'审核'
,
'付款'
][
obj
.
type
]
},
name
:
'type'
,
addHtml
:
obj
=>
{
let
status
=
'--'
,
color
=
'#2CCA74'
if
(
obj
.
type
==
0
)
{
status
=
'通过'
}
else
if
(
obj
.
type
==
1
)
{
color
;
if
(
obj
.
result
==
0
)
{
status
=
'通过'
}
else
{
color
=
'#2CCA74'
}
else
if
(
obj
.
result
==
1
)
{
status
=
'驳回'
color
=
'#EB4E4E'
}
...
...
@@ -193,19 +193,39 @@ export default {
}
},
{
label
:
[
'审核人'
,
'付款人'
,
'操作人'
],
// label: ['审核人', '付款人', '操作人'],
label
:
obj
=>
{
let
arr
=
[
'审核人'
,
'付款人'
],
label
if
(
obj
.
result
==
0
)
{
label
=
arr
[
obj
.
type
]
}
else
if
(
obj
.
result
==
1
)
{
label
=
'操作人'
}
return
label
},
name
:
'createdBy'
},
{
label
:
[
'审核时间'
,
'付款时间'
,
'操作时间'
],
label
:
obj
=>
{
let
arr
=
[
'审核时间'
,
'付款时间'
],
label
if
(
obj
.
result
==
0
)
{
label
=
arr
[
obj
.
type
]
}
else
if
(
obj
.
result
==
1
)
{
label
=
'操作时间'
}
return
label
},
name
:
'createdDate'
},
{
label
:
[
'备注'
,
'备注'
,
'备注'
],
label
:
()
=>
{
return
'备注'
},
name
:
'remark'
}
]
console
.
log
(
this
.
recordInfo
,
'errorMessage'
)
if
(
this
.
recordInfo
.
status
!=
4
)
{
this
.
handleJudgment
(
this
.
paymentData
,
'errorMessage'
)
}
...
...
src/views/withdraw/index.vue
View file @
025a9be
...
...
@@ -497,7 +497,7 @@ export default {
this
.
ids
=
isRefuse
==
0
?
[
row
.
id
]
:
row
.
id
this
.
$refs
.
withdrawRef
.
clearMutiSelect
()
}
else
{
if
(
!
this
.
ids
)
{
if
(
!
this
.
ids
||
this
.
ids
.
length
==
0
)
{
this
.
$message
({
message
:
'请选择待审核的提现记录'
,
type
:
'error'
...
...
@@ -516,7 +516,7 @@ export default {
this
.
payForm
.
payMoney
=
(
row
.
payAmount
/
100
).
toFixed
(
2
)
this
.
$refs
.
withdrawRef
.
clearMutiSelect
()
}
else
{
if
(
!
this
.
ids
)
{
if
(
!
this
.
ids
||
this
.
ids
.
length
==
0
)
{
this
.
$message
({
message
:
'请选择已审核的提现记录'
,
type
:
'error'
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment