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 78547bc0
authored
Sep 01, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
积分优化
1 parent
ab133603
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
7 deletions
src/utils/constants.js
src/views/withdraw/approve.vue
src/views/withdraw/approveView.vue
src/views/withdraw/payApproval.vue
src/utils/constants.js
View file @
78547bc
export
const
colors
=
[
'#B8B8B8'
,
'#F59619'
,
'#2CCA74'
,
'#EB4E4EFF'
,
'#2CCA74FF'
,
'#EB4E4EFF'
]
export
const
colors
=
[
'#B8B8B8'
,
'#F59619'
,
'#2CCA74'
,
'#EB4E4EFF'
,
'#2CCA74FF'
,
'#
2CCA74FF'
,
'#
EB4E4EFF'
]
export
const
tableStatus
=
[
'待审批'
,
'审批中'
,
'审批通过'
,
'审批驳回'
,
'
已付款
'
,
'到账异常'
]
export
const
tableStatus
=
[
'待审批'
,
'审批中'
,
'审批通过'
,
'审批驳回'
,
'
渠道到账'
,
'用户到账
'
,
'到账异常'
]
export
const
operate_status
=
{
export
const
operate_status
=
{
1
:
'付款审核'
,
1
:
'付款审核'
,
2
:
'批次关闭'
,
2
:
'批次关闭'
,
...
...
src/views/withdraw/approve.vue
View file @
78547bc
...
@@ -217,10 +217,7 @@ export default {
...
@@ -217,10 +217,7 @@ export default {
{
{
label
:
'付款总额/元'
,
label
:
'付款总额/元'
,
prop
:
'paymentTotal'
,
prop
:
'paymentTotal'
,
width
:
120
,
width
:
120
formatter
:
cellValue
=>
{
return
cellValue
.
paymentTotal
?
(
cellValue
.
paymentTotal
/
100
).
toFixed
(
2
)
:
'--'
}
},
},
{
{
label
:
'付款渠道'
,
label
:
'付款渠道'
,
...
...
src/views/withdraw/approveView.vue
View file @
78547bc
<!-- 查看 -->
<!-- 查看 -->
<!-- 盘点详情弹窗弹窗 -->
<
template
>
<
template
>
<GLDialog
bigTitle=
"详细信息"
:visible
.
sync=
"isVisible"
:hasFooter=
"false"
:before-close=
"handleClose"
class=
"points"
mode=
"big"
okText=
"关闭"
@
onCancel=
"handleClose"
@
onOk=
"handleClose"
>
<GLDialog
bigTitle=
"详细信息"
:visible
.
sync=
"isVisible"
:hasFooter=
"false"
:before-close=
"handleClose"
class=
"points"
mode=
"big"
okText=
"关闭"
@
onCancel=
"handleClose"
@
onOk=
"handleClose"
>
<div
class=
"wrap edit-box"
>
<div
class=
"wrap edit-box"
>
...
...
src/views/withdraw/payApproval.vue
View file @
78547bc
...
@@ -161,6 +161,7 @@ export default {
...
@@ -161,6 +161,7 @@ export default {
calculateAmount
()
{
calculateAmount
()
{
let
{
taxRate
,
pointTotal
}
=
this
.
recordInfo
,
let
{
taxRate
,
pointTotal
}
=
this
.
recordInfo
,
rate
=
taxRate
.
split
(
'%'
)[
0
];
rate
=
taxRate
.
split
(
'%'
)[
0
];
console
.
log
(
rate
)
//本批次号积分提现总金额+渠道税点(积分总额×税点),保留小数点后 2位
//本批次号积分提现总金额+渠道税点(积分总额×税点),保留小数点后 2位
this
.
recordInfo
.
paymentTotal
=
(
pointTotal
+
pointTotal
*
(
rate
/
100
)).
toFixed
(
2
)
this
.
recordInfo
.
paymentTotal
=
(
pointTotal
+
pointTotal
*
(
rate
/
100
)).
toFixed
(
2
)
},
},
...
...
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