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 bd384c2e
authored
Sep 06, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式修改
1 parent
9aa7c14c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
src/views/withdraw/approveView.vue
src/views/withdraw/list.vue
src/views/withdraw/payApproval.vue
src/views/withdraw/approveView.vue
View file @
bd384c2
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"wrap edit-box"
>
<div
class=
"wrap edit-box"
>
<div>
<div>
<p
class=
"edit-title"
>
订单信息
</p>
<p
class=
"edit-title"
>
订单信息
</p>
<el-form
label-width=
"1
5
0px"
:inline=
"true"
>
<el-form
label-width=
"1
2
0px"
:inline=
"true"
>
<el-row
v-for=
"(item, index) in withdrawDataRow"
:key=
"index"
>
<el-row
v-for=
"(item, index) in withdrawDataRow"
:key=
"index"
>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label + ':'"
class=
"row-item"
>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label + ':'"
class=
"row-item"
>
<span
v-if=
"subItem.addHtml"
>
<span
v-if=
"subItem.addHtml"
>
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
</div>
</div>
<div>
<div>
<p
class=
"edit-title"
>
付款信息
</p>
<p
class=
"edit-title"
>
付款信息
</p>
<el-form
label-width=
"1
54
px"
:inline=
"true"
>
<el-form
label-width=
"1
20
px"
:inline=
"true"
>
<el-row
v-for=
"(item, index) in paymentDataRow"
:key=
"index"
>
<el-row
v-for=
"(item, index) in paymentDataRow"
:key=
"index"
>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label + ':'"
class=
"row-item"
>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label + ':'"
class=
"row-item"
>
<span
v-if=
"subItem.addHtml"
>
<span
v-if=
"subItem.addHtml"
>
...
@@ -217,7 +217,7 @@ export default {
...
@@ -217,7 +217,7 @@ export default {
}
}
.detail-txt
{
.detail-txt
{
display
:
inline-block
;
display
:
inline-block
;
width
:
1
36
px
;
width
:
1
90
px
;
}
}
.edit-title
{
.edit-title
{
font-weight
:
600
;
font-weight
:
600
;
...
...
src/views/withdraw/list.vue
View file @
bd384c2
...
@@ -856,7 +856,7 @@ export default {
...
@@ -856,7 +856,7 @@ export default {
}
}
}
else
{
}
else
{
if
(
!
this
.
ids
||
this
.
ids
.
length
==
0
)
{
if
(
!
this
.
ids
||
this
.
ids
.
length
==
0
)
{
this
.
$message
.
error
(
'请选择需要生成批次的【
提现积分
】记录'
)
this
.
$message
.
error
(
'请选择需要生成批次的【
积分提现
】记录'
)
return
return
}
}
//批量生成批次
//批量生成批次
...
...
src/views/withdraw/payApproval.vue
View file @
bd384c2
...
@@ -48,7 +48,7 @@ export default {
...
@@ -48,7 +48,7 @@ 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
.
recordInfo
.
taxRate
=
this
.
baseData
.
payChannelList
.
find
(
item
=>
item
.
id
===
val
).
tax
+
'%'
this
.
getAdmin
()
this
.
getAdmin
()
this
.
getPaymentEntityList
()
this
.
getPaymentEntityList
()
this
.
calculateAmount
()
this
.
calculateAmount
()
...
@@ -160,11 +160,11 @@ export default {
...
@@ -160,11 +160,11 @@ export default {
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
calculateAmount
()
{
calculateAmount
()
{
let
{
taxRate
,
pointTotal
}
=
this
.
recordInfo
,
let
{
taxRate
,
pointTotal
}
=
this
.
recordInfo
,
rate
=
taxRate
.
split
(
'%'
)[
0
];
rate
=
taxRate
.
split
(
'%'
)[
0
]
console
.
log
(
rate
)
console
.
log
(
rate
)
//本批次号积分提现总金额+渠道税点(积分总额×税点),保留小数点后 2位
//本批次号积分提现总金额+渠道税点(积分总额×税点),保留小数点后 2位
this
.
recordInfo
.
paymentTotal
=
(
pointTotal
+
pointTotal
*
(
rate
/
100
)).
toFixed
(
2
)
this
.
recordInfo
.
paymentTotal
=
(
pointTotal
+
pointTotal
*
(
rate
/
100
)).
toFixed
(
2
)
},
},
//积分提现获取业务对应的付款渠道
//积分提现获取业务对应的付款渠道
getChannel
(
transferType
)
{
getChannel
(
transferType
)
{
...
@@ -185,7 +185,7 @@ export default {
...
@@ -185,7 +185,7 @@ 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
.
recordInfo
.
taxRate
=
this
.
baseData
.
payChannelList
[
0
].
tax
+
'%'
this
.
calculateAmount
()
this
.
calculateAmount
()
}
}
this
.
getPaymentEntityList
()
this
.
getPaymentEntityList
()
...
@@ -239,17 +239,19 @@ export default {
...
@@ -239,17 +239,19 @@ export default {
explain
:
this
.
payForm
.
explain
,
explain
:
this
.
payForm
.
explain
,
remark
:
this
.
payForm
.
remark
remark
:
this
.
payForm
.
remark
}
}
params
.
approver
=
this
.
baseData
.
adminList
.
find
(
item
=>
item
.
adminId
==
this
.
payForm
.
approverId
).
name
params
.
approver
=
this
.
baseData
.
adminList
.
find
(
item
=>
item
.
adminId
==
this
.
payForm
.
approverId
).
name
this
.
$apis
.
withdraw
this
.
$apis
.
withdraw
.
applyApprovalOA
(
params
)
.
applyApprovalOA
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
res
.
code
==
'0'
)
{
this
.
cancelPay
()
}
this
.
$message
({
this
.
$message
({
message
:
res
.
code
==
'0'
?
'付款审批成功'
:
res
.
message
,
message
:
res
.
code
==
'0'
?
'付款审批成功'
:
res
.
message
,
type
:
res
.
code
==
'0'
?
'success'
:
'error'
type
:
res
.
code
==
'0'
?
'success'
:
'error'
})
})
})
})
.
finally
(()
=>
{
.
finally
(()
=>
{
this
.
cancelPay
()
this
.
loading
=
false
this
.
loading
=
false
})
})
}
}
...
...
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