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 5304e2af
authored
Sep 02, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化
1 parent
5ca807fd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
13 deletions
src/utils/constants.js
src/views/withdraw/approve.vue
src/views/withdraw/detail.vue
src/views/withdraw/list.vue
src/utils/constants.js
View file @
5304e2a
...
...
@@ -83,7 +83,7 @@ export const statusList = [
},
{
confId
:
'4'
,
confLabel
:
'
已付款
'
confLabel
:
'
渠道到账
'
},
{
confId
:
'5'
,
...
...
src/views/withdraw/approve.vue
View file @
5304e2a
...
...
@@ -59,7 +59,7 @@ export default {
name
:
'batchNo'
,
type
:
'input'
,
isClear
:
true
,
maxlength
:
2
0
maxlength
:
1
0
},
{
label
:
'OA审批编号'
,
...
...
src/views/withdraw/detail.vue
View file @
5304e2a
...
...
@@ -10,7 +10,7 @@
<span
v-if=
"subItem.addHtml"
>
{{
subItem
.
addHtml
(
recordInfo
)
}}
</span>
<span
v-else
class=
"detail-txt ellipsis-1"
:title=
"recordInfo[subItem.name]"
>
{{
recordInfo
[
subItem
.
name
]
?
recordInfo
[
subItem
.
name
]
+
(
subItem
.
suffix
||
''
)
:
'-'
}}
</span>
<span
v-else
class=
"detail-txt ellipsis-1"
:title=
"recordInfo[subItem.name]"
>
{{
recordInfo
[
subItem
.
name
]
?
recordInfo
[
subItem
.
name
]
+
(
subItem
.
suffix
||
''
)
:
'-
-
'
}}
</span>
</el-form-item>
</el-row>
</el-form>
...
...
@@ -27,7 +27,7 @@
<div
class=
"table_point"
:style=
"
{ background: subItem.addStyle(recordInfo).color }">
</div>
{{
subItem
.
addStyle
(
recordInfo
).
status
}}
</span>
<span
v-else
class=
"detail-txt ellipsis-1"
:title=
"recordInfo[subItem.name]"
>
{{
recordInfo
[
subItem
.
name
]
?
recordInfo
[
subItem
.
name
]
+
(
subItem
.
suffix
||
''
)
:
'-'
}}
</span>
<span
v-else
class=
"detail-txt ellipsis-1"
:title=
"recordInfo[subItem.name]"
>
{{
recordInfo
[
subItem
.
name
]
?
recordInfo
[
subItem
.
name
]
+
(
subItem
.
suffix
||
''
)
:
'-
-
'
}}
</span>
</el-form-item>
</el-row>
<el-row
v-if=
"this.recordInfo.status == 4"
>
...
...
@@ -48,7 +48,7 @@
<div
class=
"table_point"
:style=
"
{ background: subItem.addHtml(record).color }">
</div>
{{
subItem
.
addHtml
(
record
).
status
}}
</span>
<span
v-else
class=
"detail-txt ellipsis-1"
:title=
"record[subItem.name]"
>
{{
record
[
subItem
.
name
]
?
record
[
subItem
.
name
]
+
(
subItem
.
suffix
||
''
)
:
'-'
}}
</span>
<span
v-else
class=
"detail-txt ellipsis-1"
:title=
"record[subItem.name]"
>
{{
record
[
subItem
.
name
]
?
record
[
subItem
.
name
]
+
(
subItem
.
suffix
||
''
)
:
'-
-
'
}}
</span>
</el-form-item>
</el-row>
</el-form>
...
...
@@ -207,6 +207,10 @@ export default {
}
},
{
label
:
'付款主体'
,
name
:
'paymentSubject'
},
{
label
:
'结算金额'
,
name
:
'settleAmount'
,
addHtml
:
obj
=>
{
...
...
src/views/withdraw/list.vue
View file @
5304e2a
...
...
@@ -182,8 +182,8 @@ import * as dayjs from 'dayjs'
import
url
from
'@/assets/empty.png'
import
util
from
'@/utils/index'
import
{
modeTypeList
,
auditStatusStatusList
,
sourceList
,
withdrawalTypeList
}
from
'@/utils/constants.js'
const
tableStatus
=
[
'待审核'
,
'已审核'
,
'第三方处理'
,
'成功'
,
'失败'
,
'驳回'
,
'受理失败'
]
const
colors
=
[
'#FDB757'
,
'#2CCA74'
,
'#5850FF'
,
'#2CCA74'
,
'#999999'
,
'#EB4E4E'
,
'#2CCA74'
]
const
tableStatus
=
[
'待审核'
,
'已审核'
,
'第三方处理'
,
'成功'
,
'失败'
,
'驳回'
,
'受理失败'
,
'批次处理中'
]
const
colors
=
[
'#FDB757'
,
'#2CCA74'
,
'#5850FF'
,
'#2CCA74'
,
'#999999'
,
'#EB4E4E'
,
'#2CCA74'
,
'#F59619FF'
]
const
tabelHeaderModel
=
[
'商户名称'
,
'商户号'
,
'客户名称'
,
'客户手机号'
,
'提现金额'
,
'收款人姓名'
,
'收款人身份证'
,
'收款银行卡号'
,
'收款银行'
,
'收款人手机号'
]
export
default
{
components
:
{
...
...
@@ -353,7 +353,7 @@ export default {
fn
:
'审核'
},
condition
:
row
=>
{
return
row
.
status
==
0
return
row
.
status
==
0
&&
row
.
transferType
!=
0
},
listeners
:
{
click
:
row
=>
{
...
...
@@ -514,11 +514,11 @@ export default {
{
label
:
'付款主体'
,
prop
:
'paymentSubject'
,
width
:
'200px'
,
formatter
:
cellValue
=>
{
// 类型为「积分提现」该提现记录所归属的提现批次审批时选择的付款主体(嘀加/数科),非「积分提现」类型,或「积分提现」待审批,则展示=“-”
cellValue
.
transferType
==
0
&&
cellValue
.
status
!=
0
?
cellValue
.
paymentSubject
:
'--'
}
width
:
'200px'
//
formatter: cellValue => {
//
// 类型为「积分提现」该提现记录所归属的提现批次审批时选择的付款主体(嘀加/数科),非「积分提现」类型,或「积分提现」待审批,则展示=“-”
//
cellValue.transferType ==0&&cellValue.status!=0?cellValue.paymentSubject:'--'
//
}
},
{
label
:
'付款时间'
,
...
...
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