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 ba7bfae8
authored
Oct 21, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
积分管理
1 parent
d6609fe1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
44 deletions
src/views/withdraw/approve.vue
src/views/withdraw/list.vue
src/views/withdraw/payApproval.vue
src/views/withdraw/approve.vue
View file @
ba7bfae
...
...
@@ -4,7 +4,7 @@
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
>
<template
slot=
"channelHtml"
>
<el-cascader
style=
"width: 100%"
:props=
"props"
v-model=
"searchForm.channelList"
:placeholder=
"'请选择'"
filterable
@
change=
"selectAddAttr($event, 'searchForm')"
></el-cascader>
<el-cascader
style=
"width: 100%"
:props=
"props"
v-model=
"searchForm.channelList"
:placeholder=
"'请选择'"
filterable
@
change=
"selectAddAttr($event, 'searchForm')"
></el-cascader>
</
template
>
</GLCombiForm>
<!-- 表格区域 开始 -->
...
...
@@ -74,7 +74,7 @@ export default {
maxlength
:
20
},
{
label
:
'付款
主体
'
,
label
:
'付款
渠道
'
,
name
:
'channelList'
,
type
:
'select'
,
addHtml
:
'channelHtml'
,
...
...
@@ -371,7 +371,6 @@ export default {
return
list
},
selectAddAttr
(
e
,
formName
)
{
console
.
log
(
e
)
let
[
value1
,
value2
,
value3
]
=
e
if
(
value2
)
this
[
formName
].
paymentSubjectId
=
value2
...
...
@@ -430,7 +429,6 @@ export default {
params
.
userSettleTimeStart
=
dayjs
(
this
.
searchForm
.
userSettleTime
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
params
.
userSettleTimeEnd
=
dayjs
(
this
.
searchForm
.
userSettleTime
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
}
console
.
log
(
this
.
searchForm
.
oaApprovalTime
)
if
(
this
.
searchForm
.
oaApprovalTime
&&
this
.
searchForm
.
oaApprovalTime
.
length
)
{
params
.
oaApprovalTimeStart
=
dayjs
(
this
.
searchForm
.
oaApprovalTime
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
params
.
oaApprovalTimeEnd
=
dayjs
(
this
.
searchForm
.
oaApprovalTime
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
...
...
@@ -453,6 +451,7 @@ export default {
batchNo
:
''
,
oaSpNo
:
''
,
paymentSubjectId
:
''
,
channelList
:[],
paymentChannelId
:
''
,
approvalTime
:
[],
oaApprovalTime
:
[],
...
...
src/views/withdraw/list.vue
View file @
ba7bfae
...
...
@@ -4,7 +4,7 @@
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
>
<template
slot=
"channel"
>
<el-cascader
:options=
"baseData.channelList"
:props=
"props"
style=
"width: 100%"
v-model=
"searchForm.channelList"
:placeholder=
"'请选择'"
filterable
@
change=
"selectAddAttr($event, 'searchForm')"
></el-cascader>
<el-cascader
:options=
"baseData.channelList"
:props=
"props"
style=
"width: 100%"
v-model=
"searchForm.channelList"
:placeholder=
"'请选择'"
filterable
@
change=
"selectAddAttr($event, 'searchForm')"
></el-cascader>
</
template
>
</GLCombiForm>
<div
class=
"statistics"
>
...
...
@@ -18,10 +18,10 @@
</div>
</div>
</div>
<div
class=
"fold"
@
click=
"isMore
=
true"
>
<div
class=
"fold"
@
click=
"isMore
=
true"
>
查看更多
<i
class=
"el-icon-arrow-right"
></i>
</div>
<i
class=
"el-icon-arrow-right"
></i>
</div>
<!-- <div :class="['content', !isFold ? 'dynamic' : '']">
累计结算金额:熠轩-银行卡
<span class="price">{{ settleAmount.yiXuanSettleAmount }}</span>
...
...
@@ -48,7 +48,6 @@
元, 薪享云-银行卡
<span class="price">{{ settleAmount.xinXiangYunSettleAmount }}</span>
</div> -->
</div>
<div
class=
"table-header"
>
<h2>
积分提现列表
</h2>
...
...
@@ -198,14 +197,14 @@
<!-- 累计结算金额 -->
<GLDialog
class=
"settleAmount-dialog"
title=
"累计结算金额"
mode=
"big"
:visible
.
sync=
"isMore"
:close-on-click-modal=
"false"
:hasFooter=
"hasFooter"
>
<div
class=
"content"
>
<div
class=
"content-item"
v-for=
"(item, index) in statisticsTypeList"
:key=
"index"
>
<div
class=
"content-item-title"
>
{{ item.confLabel }}
</div>
<div
class=
"content-item-price"
>
{{ settleAmount[item.confId] }}
<span
class=
"unit"
>
元
</span>
</div>
<div
class=
"content-item"
v-for=
"(item, index) in statisticsTypeList"
:key=
"index"
>
<div
class=
"content-item-title"
>
{{ item.confLabel }}
</div>
<div
class=
"content-item-price"
>
{{ settleAmount[item.confId] }}
<span
class=
"unit"
>
元
</span>
</div>
</div>
</div>
</GLDialog>
</div>
</template>
...
...
@@ -226,7 +225,7 @@ export default {
},
data
()
{
return
{
isMore
:
false
,
isMore
:
false
,
statisticsTypeList
,
props
:
{
value
:
'code'
,
...
...
@@ -457,7 +456,7 @@ export default {
{
label
:
'提现类型'
,
prop
:
'transferType'
,
width
:
'
20
0px'
,
width
:
'
12
0px'
,
formatter
:
cellValue
=>
{
let
arr
=
this
.
baseData
.
withdrawalTypeList
.
filter
(
item
=>
item
.
confId
==
cellValue
.
transferType
)
return
arr
.
length
>
0
?
arr
[
0
].
confLabel
:
'--'
...
...
@@ -466,7 +465,7 @@ export default {
{
label
:
'提现方式'
,
prop
:
'mode'
,
width
:
'
2
00px'
,
width
:
'
1
00px'
,
formatter
:
cellValue
=>
{
let
arr
=
this
.
baseData
.
modeTypeList
.
filter
(
item
=>
item
.
confId
==
cellValue
.
mode
)
return
arr
.
length
>
0
?
arr
[
0
].
confLabel
:
'--'
...
...
@@ -511,7 +510,7 @@ export default {
label
:
'收款人身份证'
,
prop
:
'idCardNo'
,
addHtml
:
'idCardNo'
,
width
:
'
18
0px'
width
:
'
20
0px'
},
{
label
:
'收款银行卡号'
,
...
...
@@ -566,12 +565,14 @@ export default {
{
label
:
'付款主体'
,
prop
:
'paymentEntityName'
,
width
:
'200px'
width
:
200
,
line
:
1
},
{
label
:
'代征主体'
,
prop
:
'levyName'
,
width
:
'200px'
width
:
200
,
line
:
1
},
{
label
:
'付款时间'
,
...
...
@@ -783,7 +784,6 @@ export default {
return
arr
.
map
(
item
=>
{
// 如果有 child 字段,递归处理
if
(
item
.
child
)
{
console
.
log
(
this
)
item
.
child
=
this
.
removeEmptyChild
(
item
.
child
)
}
...
...
@@ -885,7 +885,22 @@ export default {
return
null
},
selectAddAttr
(
e
,
formName
)
{
let
[
value1
,
value2
,
value3
]
=
e
let
[
value1
,
value2
,
value3
]
=
e
||
[
''
,
''
,
''
]
// 处理清除情况
if
(
!
e
||
e
.
length
===
0
)
{
this
[
formName
].
channel
=
''
this
[
formName
].
levyCode
=
''
this
[
formName
].
channelProvider
=
''
this
[
formName
].
paymentEntityCode
=
''
this
[
formName
].
channelList
=
[]
this
.
$nextTick
(()
=>
{
// 手动触发重新渲染
this
.
$forceUpdate
()
})
return
}
this
[
formName
].
channel
=
value1
?
value1
:
''
this
[
formName
].
levyCode
=
value3
?
value3
:
''
//代征主体
...
...
@@ -1024,10 +1039,7 @@ export default {
params
.
receiptDateStart
=
dayjs
(
this
.
searchForm
.
receiptDateStr
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
params
.
receiptDateEnd
=
dayjs
(
this
.
searchForm
.
receiptDateStr
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
}
if
(
this
.
searchForm
.
channelList
.
length
)
{
delete
params
.
channelList
}
delete
params
.
channelList
delete
params
.
payTimeStr
,
delete
params
.
applyDateStr
,
delete
params
.
receiptDateStr
return
params
},
...
...
@@ -1056,7 +1068,8 @@ export default {
channelProvider
:
''
,
paymentEntityCode
:
''
,
levyCode
:
''
,
channel
:
''
channel
:
''
,
transferType
:
''
}
this
.
handleSearch
()
},
...
...
@@ -1356,6 +1369,9 @@ export default {
this
.
form
.
remark
=
''
this
.
showPassDialog
=
false
this
.
$refs
.
withdrawRef
.
clearMutiSelect
()
if
(
this
.
$refs
.
payFormRef
&&
this
.
$refs
.
payFormRef
.
$refs
.
payChildRef
)
{
this
.
$refs
.
payFormRef
.
$refs
.
payChildRef
.
resetFields
()
}
},
dialogClose
()
{
this
.
detailVisible
=
false
...
...
@@ -1390,15 +1406,17 @@ export default {
this
.
loading
=
true
this
.
$apis
.
withdraw
[
Methods
](
params
)
.
then
(
res
=>
{
if
(
res
.
code
==
'0'
)
{
this
.
handleReset
()
this
.
getSettleAmount
()
this
.
cancelPay
()
}
this
.
$message
({
message
:
res
.
code
==
'0'
?
'付款成功'
:
res
.
message
,
type
:
res
.
code
==
'0'
?
'success'
:
'error'
})
})
.
finally
(()
=>
{
this
.
handleReset
()
this
.
getSettleAmount
()
this
.
cancelPay
()
this
.
loading
=
false
})
}
...
...
@@ -1419,6 +1437,9 @@ export default {
clearInterval
(
this
.
timer
)
this
.
timer
=
null
this
.
$refs
.
withdrawRef
.
clearMutiSelect
()
if
(
this
.
$refs
.
payFormRef
&&
this
.
$refs
.
payFormRef
.
$refs
.
payChildRef
)
{
this
.
$refs
.
payFormRef
.
$refs
.
payChildRef
.
resetFields
()
}
},
getCode
()
{
...
...
@@ -1512,16 +1533,16 @@ export default {
color
:
#999999
;
line-height
:
18px
;
margin-bottom
:
16px
;
position
:
relative
;
position
:
relative
;
.content
{
display
:
flex
;
align-items
:
center
;
margin-right
:
140px
;
margin-right
:
140px
;
.content-item
{
padding
:
20px
;
background
:
#f7f9fa
;
flex
:
1
;
margin-right
:
16px
;
flex
:
1
;
margin-right
:
16px
;
&-title
{
color
:
#333333
;
font-size
:
14px
;
...
...
@@ -1560,9 +1581,9 @@ position: relative;
align-items
:
center
;
white-space
:
nowrap
;
margin-left
:
16px
;
position
:
absolute
;
bottom
:
0
;
right
:
58px
;
position
:
absolute
;
bottom
:
0
;
right
:
58px
;
}
}
.price
{
...
...
@@ -1573,7 +1594,7 @@ position: relative;
font-size
:
12px
;
margin-left
:
154px
;
color
:
#999999
;
margin-top
:
-
2
0px
;
margin-top
:
-
1
0px
;
.price
{
color
:
#333333
;
}
...
...
@@ -1738,18 +1759,18 @@ position: relative;
}
}
}
.settleAmount-dialog
{
.settleAmount-dialog
{
.content
{
display
:
flex
;
align-items
:
center
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
.content-item
{
width
:
calc
((
100%
-
16px
*
4
)
/
4
);
padding
:
20px
;
background
:
#f7f9fa
;
margin-right
:
16px
;
margin-right
:
16px
;
box-sizing
:
border-box
;
margin-bottom
:
16px
;
margin-bottom
:
16px
;
&-title
{
color
:
#333333
;
font-size
:
14px
;
...
...
src/views/withdraw/payApproval.vue
View file @
ba7bfae
...
...
@@ -209,7 +209,7 @@ export default {
async
getListPayLevy
(
value
)
{
this
.
baseData
.
paymentEntityList
=
await
this
.
$apis
.
withdraw
.
getListPayLevy
({
paymentEntityId
:
value
,
channel
:
this
.
payForm
.
channel
channel
:
this
.
payForm
.
channel
})
let
list
=
this
.
baseData
.
paymentEntityList
.
map
(
item
=>
{
return
{
...
...
@@ -352,6 +352,9 @@ export default {
clearInterval
(
this
.
timer
)
this
.
timer
=
null
this
.
$emit
(
'cancelPay'
)
if
(
this
.
$refs
.
payFormRef
&&
this
.
$refs
.
payFormRef
.
$refs
.
payChildRef
)
{
this
.
$refs
.
payFormRef
.
$refs
.
payChildRef
.
resetFields
()
}
},
getCode
()
{
...
...
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