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 ab133603
authored
Aug 29, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
流程修复
1 parent
e6767cea
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
src/utils/constants.js
src/views/withdraw/list.vue
src/views/withdraw/payApproval.vue
src/utils/constants.js
View file @
ab13360
...
@@ -129,6 +129,10 @@ export const auditStatusStatusList = [
...
@@ -129,6 +129,10 @@ export const auditStatusStatusList = [
{
{
confId
:
'6'
,
confId
:
'6'
,
confLabel
:
'受理失败'
confLabel
:
'受理失败'
},
{
confId
:
'7'
,
confLabel
:
'批次处理中'
}
}
]
]
export
const
channelObj
=
{
export
const
channelObj
=
{
...
...
src/views/withdraw/list.vue
View file @
ab13360
...
@@ -785,7 +785,7 @@ export default {
...
@@ -785,7 +785,7 @@ export default {
this
.
$apis
.
withdraw
.
generateBatchCount
(
params
).
then
(
res
=>
{
this
.
$apis
.
withdraw
.
generateBatchCount
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
numberOfRecord
=
res
.
data
.
numberOfRecord
numberOfRecord
=
res
.
data
.
numberOfRecord
paymentTotal
=
res
.
data
.
paymentTotal
paymentTotal
=
(
res
.
data
.
paymentTotal
/
100
).
toFixed
(
2
)
txt
=
all
txt
=
all
?
`当前共
${
numberOfRecord
}
条未处理【积分提现】记录,付款金额共
${
paymentTotal
}
元,是否确认生成批次?`
?
`当前共
${
numberOfRecord
}
条未处理【积分提现】记录,付款金额共
${
paymentTotal
}
元,是否确认生成批次?`
:
`将对您选择的
${
numberOfRecord
}
条【积分提现】记录生成批次,
:
`将对您选择的
${
numberOfRecord
}
条【积分提现】记录生成批次,
...
...
src/views/withdraw/payApproval.vue
View file @
ab13360
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
loading
:
false
,
isVisible
:
false
,
isVisible
:
false
,
count
:
''
,
count
:
''
,
timer
:
null
,
timer
:
null
,
...
@@ -48,8 +48,10 @@ export default {
...
@@ -48,8 +48,10 @@ export default {
optionLabel
:
'channelInfo'
,
optionLabel
:
'channelInfo'
,
changeAttr
:
val
=>
{
changeAttr
:
val
=>
{
this
.
payForm
.
channel
=
this
.
baseData
.
payChannelList
.
find
(
item
=>
item
.
id
===
val
).
channel
this
.
payForm
.
channel
=
this
.
baseData
.
payChannelList
.
find
(
item
=>
item
.
id
===
val
).
channel
this
.
recordInfo
.
taxRate
=
this
.
baseData
.
payChannelList
.
find
(
item
=>
item
.
id
===
val
).
tax
+
'%'
this
.
getAdmin
()
this
.
getAdmin
()
this
.
getPaymentEntityList
()
this
.
getPaymentEntityList
()
this
.
calculateAmount
()
this
.
isCodeDisabled
=
false
this
.
isCodeDisabled
=
false
clearInterval
(
this
.
timer
)
clearInterval
(
this
.
timer
)
this
.
timer
=
null
this
.
timer
=
null
...
@@ -156,6 +158,12 @@ export default {
...
@@ -156,6 +158,12 @@ export default {
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
calculateAmount
()
{
let
{
taxRate
,
pointTotal
}
=
this
.
recordInfo
,
rate
=
taxRate
.
split
(
'%'
)[
0
];
//本批次号积分提现总金额+渠道税点(积分总额×税点),保留小数点后 2位
this
.
recordInfo
.
paymentTotal
=
(
pointTotal
+
pointTotal
*
(
rate
/
100
)).
toFixed
(
2
)
},
//积分提现获取业务对应的付款渠道
//积分提现获取业务对应的付款渠道
getChannel
(
transferType
)
{
getChannel
(
transferType
)
{
let
arr
=
[]
let
arr
=
[]
...
@@ -175,6 +183,8 @@ export default {
...
@@ -175,6 +183,8 @@ export default {
if
(
this
.
baseData
.
payChannelList
.
length
>
0
)
{
if
(
this
.
baseData
.
payChannelList
.
length
>
0
)
{
this
.
payForm
.
paymentChannelId
=
this
.
baseData
.
payChannelList
[
0
].
id
this
.
payForm
.
paymentChannelId
=
this
.
baseData
.
payChannelList
[
0
].
id
this
.
payForm
.
channel
=
this
.
baseData
.
payChannelList
[
0
].
channel
this
.
payForm
.
channel
=
this
.
baseData
.
payChannelList
[
0
].
channel
this
.
recordInfo
.
taxRate
=
this
.
baseData
.
payChannelList
[
0
].
tax
+
'%'
this
.
calculateAmount
()
}
}
this
.
getPaymentEntityList
()
this
.
getPaymentEntityList
()
this
.
getAdmin
()
this
.
getAdmin
()
...
@@ -228,7 +238,8 @@ export default {
...
@@ -228,7 +238,8 @@ export default {
explain
:
this
.
payForm
.
explain
,
explain
:
this
.
payForm
.
explain
,
remark
:
this
.
payForm
.
remark
remark
:
this
.
payForm
.
remark
}
}
this
.
$apis
.
withdraw
.
applyApprovalOA
(
params
)
this
.
$apis
.
withdraw
.
applyApprovalOA
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
this
.
$message
({
this
.
$message
({
message
:
res
.
code
==
'0'
?
'付款审批成功'
:
res
.
message
,
message
:
res
.
code
==
'0'
?
'付款审批成功'
:
res
.
message
,
...
...
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