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 19c29cf9
authored
Aug 25, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
积分提现审批
1 parent
9302a45a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
153 additions
and
209 deletions
src/api/modules/withdraw.js
src/assets/css/public.scss
src/views/withdraw/approve.vue
src/views/withdraw/approveDetail.vue
src/views/withdraw/approveEdit.vue
src/views/withdraw/approveView.vue
src/views/withdraw/list.vue
src/api/modules/withdraw.js
View file @
19c29cf
...
@@ -200,6 +200,17 @@ const checkRecordsTransferType = params => {
...
@@ -200,6 +200,17 @@ const checkRecordsTransferType = params => {
}
}
// 详情查询
const
approvalDetail
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.approval.detail`
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
// 积分提现 生成批次
// 积分提现 生成批次
const
integralorderBatch
=
params
=>
{
const
integralorderBatch
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.approval.generate`
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.approval.generate`
...
@@ -231,8 +242,7 @@ const getApprovalLog = params => {
...
@@ -231,8 +242,7 @@ const getApprovalLog = params => {
url
:
'rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
returnAll
:
true
})
})
}
}
// 积分提现审批分页查询
// 积分提现审批分页查询
...
@@ -242,8 +252,7 @@ const getApprovalPage = params => {
...
@@ -242,8 +252,7 @@ const getApprovalPage = params => {
url
:
'rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
returnAll
:
true
})
})
}
}
...
...
src/assets/css/public.scss
View file @
19c29cf
...
@@ -78,3 +78,6 @@ p{
...
@@ -78,3 +78,6 @@ p{
.el-message
{
.el-message
{
z-index
:
9999999
!
important
;
z-index
:
9999999
!
important
;
}
}
.el-message-box__content
{
height
:auto
!
important
;
}
\ No newline at end of file
\ No newline at end of file
src/views/withdraw/approve.vue
View file @
19c29cf
This diff is collapsed.
Click to expand it.
src/views/withdraw/approveDetail.vue
View file @
19c29cf
...
@@ -31,34 +31,36 @@ export default {
...
@@ -31,34 +31,36 @@ export default {
data
()
{
data
()
{
return
{
return
{
id
:
''
,
id
:
''
,
checkLoading
:
false
,
loading
:
false
,
colors
,
colors
,
tableStatus
,
tableStatus
,
size
:
'small'
,
size
:
'small'
,
url
:
url
,
url
:
url
,
settleAmount
:
{},
searchForm
:
{
searchForm
:
{
customerName
:
''
customerName
:
''
,
customerPhone
:
''
},
},
hasFooter
:
false
,
hasFooter
:
false
,
tableSearchForm
:
{},
tableSearchForm
:
{},
showFormData
:
[
showFormData
:
[
{
{
label
:
''
,
label
:
'客户名称'
,
labelWidth
:
'0'
,
name
:
'customerName'
,
name
:
'customerName'
,
placeholder
:
'客户名称/手机号'
,
type
:
'input'
,
type
:
'input'
,
isClear
:
true
,
isClear
:
true
,
maxlength
:
20
maxlength
:
20
},
{
label
:
'手机号'
,
name
:
'customerPhone'
,
type
:
'input'
,
isClear
:
true
,
maxlength
:
11
}
}
],
],
// 表格
// 表格
getListApi
:
this
.
$apis
.
withdraw
.
getList
,
getListApi
:
this
.
$apis
.
withdraw
.
getList
,
tableParams
:
{
tableParams
:
{
listName
:
'list'
,
listName
:
'list'
,
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'客户名称'
,
label
:
'客户名称'
,
...
@@ -68,11 +70,11 @@ export default {
...
@@ -68,11 +70,11 @@ export default {
{
{
label
:
'提现方式'
,
label
:
'提现方式'
,
prop
:
'mode'
,
prop
:
'mode'
,
width
:
'200px'
width
:
'200px'
,
//
formatter: cellValue => {
formatter
:
cellValue
=>
{
//
let arr = this.baseData.modeTypeList.filter(item => item.confId == cellValue.mode)
let
arr
=
this
.
baseData
.
modeTypeList
.
filter
(
item
=>
item
.
confId
==
cellValue
.
mode
)
//
return arr.length > 0 ? arr[0].confLabel : '--'
return
arr
.
length
>
0
?
arr
[
0
].
confLabel
:
'--'
//
}
}
},
},
{
{
label
:
'手机号'
,
label
:
'手机号'
,
...
@@ -155,6 +157,11 @@ export default {
...
@@ -155,6 +157,11 @@ export default {
}
}
},
},
{
{
label
:
'提现时间'
,
prop
:
'updatedDate'
,
width
:
150
},
{
label
:
'收款人姓名'
,
label
:
'收款人姓名'
,
prop
:
'name'
,
prop
:
'name'
,
width
:
'110px'
width
:
'110px'
...
@@ -179,54 +186,34 @@ export default {
...
@@ -179,54 +186,34 @@ export default {
label
:
'收款手机号'
,
label
:
'收款手机号'
,
prop
:
'mobile'
,
prop
:
'mobile'
,
width
:
'130px'
width
:
'130px'
},
{
label
:
'到账情况'
,
prop
:
'customerOpenId'
,
width
:
'130px'
},
{
label
:
'到账时间'
,
prop
:
'receiptDate'
,
width
:
'200px'
}
}
]
]
},
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
// 基本数据
// 基本数据
baseData
:
{}
baseData
:
{
modeTypeList
:
[
{
confId
:
'0'
,
confLabel
:
'银行卡'
},
{
confId
:
'1'
,
confLabel
:
'微信'
}
],
}
}
}
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
getParams
()
{
getParams
()
{
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
console
.
log
(
this
.
searchForm
)
if
(
this
.
searchForm
.
applyDateStr
)
{
params
.
applyDateStart
=
dayjs
(
this
.
searchForm
.
applyDateStr
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
params
.
applyDateEnd
=
dayjs
(
this
.
searchForm
.
applyDateStr
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
}
if
(
this
.
searchForm
.
payTimeStr
)
{
params
.
payDateStart
=
dayjs
(
this
.
searchForm
.
payTimeStr
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
params
.
payDateEnd
=
dayjs
(
this
.
searchForm
.
payTimeStr
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
}
if
(
this
.
searchForm
.
receiptDateStr
)
{
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
.
channel
)
{
params
.
channel
=
this
.
searchForm
.
channel
[
0
]
params
.
channelProvider
=
this
.
searchForm
.
channel
.
length
>
1
?
this
.
searchForm
.
channel
[
1
]
:
''
}
delete
params
.
payTimeStr
,
delete
params
.
applyDateStr
,
delete
params
.
receiptDateStr
return
params
return
params
},
},
beforeSearchFn
()
{
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
this
.
tableSearchForm
=
this
.
getParams
()
this
.
tableSearchForm
=
this
.
getParams
()
delete
this
.
tableSearchForm
.
payTimeStr
delete
this
.
tableSearchForm
.
applyDateStr
resolve
()
resolve
()
})
})
},
},
...
@@ -235,14 +222,8 @@ export default {
...
@@ -235,14 +222,8 @@ export default {
},
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
outSettleOrderId
:
''
,
customerName
:
''
,
customerName
:
''
,
customerPhone
:
''
,
customerPhone
:
''
status
:
''
,
channel
:
''
,
merchantName
:
''
,
mode
:
''
,
withdrawalSource
:
''
}
}
this
.
handleSearch
()
this
.
handleSearch
()
}
}
...
@@ -260,11 +241,7 @@ export default {
...
@@ -260,11 +241,7 @@ export default {
border-bottom
:
1px
solid
#e5e5e5
;
border-bottom
:
1px
solid
#e5e5e5
;
}
}
}
}
.gl-form-page
/
deep
/
.search-list
.search-item
.name
{
width
:
0px
!important
;
}
.gl-form-page
/
deep
/
.glsx-combi-form
.el-form-item--small
{
width
:
auto
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/withdraw/approveEdit.vue
View file @
19c29cf
...
@@ -6,9 +6,10 @@
...
@@ -6,9 +6,10 @@
<div
class=
"title"
>
编辑
</div>
<div
class=
"title"
>
编辑
</div>
</div>
</div>
<div
class=
"container gl-form-page"
>
<div
class=
"container gl-form-page"
>
<div
class=
"flex-sb"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<el-button
size=
"small"
@
click=
"handleCheck('', true)"
type=
"primary"
plain
>
全部驳回
</el-button>
<div
class=
"table-header flex-sb"
>
<h2>
积分提现明细
</h2>
<el-button
size=
"small"
@
click=
"handleDissolve(true)"
type=
"primary"
plain
>
解散批次
</el-button>
</div>
</div>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
...
@@ -56,7 +57,6 @@ export default {
...
@@ -56,7 +57,6 @@ export default {
id
:
''
,
id
:
''
,
isAll
:
true
,
isAll
:
true
,
checkLoading
:
false
,
checkLoading
:
false
,
showPassDialog
:
false
,
loading
:
false
,
loading
:
false
,
colors
,
colors
,
tableStatus
,
tableStatus
,
...
@@ -64,34 +64,40 @@ export default {
...
@@ -64,34 +64,40 @@ export default {
url
:
url
,
url
:
url
,
settleAmount
:
{},
settleAmount
:
{},
searchForm
:
{
searchForm
:
{
customerName
:
''
customerName
:
''
,
customerPhone
:
''
},
},
hasFooter
:
false
,
hasFooter
:
false
,
tableSearchForm
:
{},
tableSearchForm
:
{},
tableButtonList
:
[
tableButtonList
:
[
{
{
type
:
'el-button'
,
type
:
'el-button'
,
name
:
'
驳回
'
,
name
:
'
移除
'
,
attrs
:
{
attrs
:
{
type
:
'text'
,
type
:
'text'
,
fn
:
'
驳回
'
fn
:
'
移除
'
},
},
listeners
:
{
listeners
:
{
click
:
row
=>
{
click
:
row
=>
{
this
.
handle
Check
(
row
,
false
)
this
.
handle
Dissolve
(
false
,
row
)
}
}
}
}
}
}
],
],
showFormData
:
[
showFormData
:
[
{
{
label
:
''
,
label
:
'客户名称'
,
labelWidth
:
'0'
,
name
:
'customerName'
,
name
:
'customerName'
,
placeholder
:
'客户名称/手机号'
,
type
:
'input'
,
type
:
'input'
,
isClear
:
true
,
isClear
:
true
,
maxlength
:
20
maxlength
:
20
},
{
label
:
'手机号'
,
name
:
'customerPhone'
,
type
:
'input'
,
isClear
:
true
,
maxlength
:
11
}
}
],
],
// 表格
// 表格
...
@@ -110,11 +116,11 @@ export default {
...
@@ -110,11 +116,11 @@ export default {
{
{
label
:
'提现方式'
,
label
:
'提现方式'
,
prop
:
'mode'
,
prop
:
'mode'
,
width
:
'200px'
width
:
'200px'
,
//
formatter: cellValue => {
formatter
:
cellValue
=>
{
//
let arr = this.baseData.modeTypeList.filter(item => item.confId == cellValue.mode)
let
arr
=
this
.
baseData
.
modeTypeList
.
filter
(
item
=>
item
.
confId
==
cellValue
.
mode
)
//
return arr.length > 0 ? arr[0].confLabel : '--'
return
arr
.
length
>
0
?
arr
[
0
].
confLabel
:
'--'
//
}
}
},
},
{
{
label
:
'手机号'
,
label
:
'手机号'
,
...
@@ -197,6 +203,11 @@ export default {
...
@@ -197,6 +203,11 @@ export default {
}
}
},
},
{
{
label
:
'提现时间'
,
prop
:
'updatedDate'
,
width
:
150
},
{
label
:
'收款人姓名'
,
label
:
'收款人姓名'
,
prop
:
'name'
,
prop
:
'name'
,
width
:
'110px'
width
:
'110px'
...
@@ -221,16 +232,6 @@ export default {
...
@@ -221,16 +232,6 @@ export default {
label
:
'收款手机号'
,
label
:
'收款手机号'
,
prop
:
'mobile'
,
prop
:
'mobile'
,
width
:
'130px'
width
:
'130px'
},
{
label
:
'到账情况'
,
prop
:
'customerOpenId'
,
width
:
'130px'
},
{
label
:
'到账时间'
,
prop
:
'receiptDate'
,
width
:
'200px'
}
}
]
]
},
},
...
@@ -242,69 +243,40 @@ export default {
...
@@ -242,69 +243,40 @@ export default {
},
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
// 基本数据
// 基本数据
baseData
:
{}
baseData
:
{
modeTypeList
:
[
{
confId
:
'0'
,
confLabel
:
'银行卡'
},
{
confId
:
'1'
,
confLabel
:
'微信'
}
]
}
}
}
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
clearSelect
()
{
handleDissolve
(
isAll
,
row
)
{
this
.
ids
=
''
let
title
=
isAll
?
'解散批次提示'
:
'移除提示'
,
this
.
form
.
remark
=
''
cxt
=
isAll
?
'解散本批次,所有未驳回的积分提现记录将恢复「待审核」状态,如需重新生成批次,请选中后重新生成批次。'
:
'移除该记录,该条积分提现记录将恢复「待审核」状态,如需重新生成批次,请选中后重新生成批次。'
,
this
.
showPassDialog
=
false
params
=
{
},
type
:
isAll
?
2
:
1
comfirmCheck
()
{
this
.
$refs
.
form
.
validate
(
valid
=>
{
if
(
valid
)
{
// this.checkLoading = true
// this.$apis.withdraw[Methods](params)
// .then(res => {
// this.$message({
// message: res.code == '0' ? '操作成功' : res.message,
// type: res.code == '0' ? 'success' : 'error'
// })
// })
// .finally(() => {
// this.handleReset()
// this.clearSelect()
// this.checkLoading = false
// })
}
})
},
},
//驳回
Method
=
'removeApproval'
handleCheck
(
row
,
isAll
)
{
!
isAll
?
(
params
.
id
=
row
.
id
)
:
''
this
.
isAll
=
isAll
this
.
$utils
.
secondConfirm
(
this
,
title
,
cxt
,
'withdraw'
,
Method
,
params
)
this
.
form
.
id
=
!
this
.
isAll
?
row
.
id
:
''
this
.
showPassDialog
=
true
},
},
getParams
()
{
getParams
()
{
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
console
.
log
(
this
.
searchForm
)
if
(
this
.
searchForm
.
applyDateStr
)
{
params
.
applyDateStart
=
dayjs
(
this
.
searchForm
.
applyDateStr
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
params
.
applyDateEnd
=
dayjs
(
this
.
searchForm
.
applyDateStr
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
}
if
(
this
.
searchForm
.
payTimeStr
)
{
params
.
payDateStart
=
dayjs
(
this
.
searchForm
.
payTimeStr
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
params
.
payDateEnd
=
dayjs
(
this
.
searchForm
.
payTimeStr
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
}
if
(
this
.
searchForm
.
receiptDateStr
)
{
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
.
channel
)
{
params
.
channel
=
this
.
searchForm
.
channel
[
0
]
params
.
channelProvider
=
this
.
searchForm
.
channel
.
length
>
1
?
this
.
searchForm
.
channel
[
1
]
:
''
}
delete
params
.
payTimeStr
,
delete
params
.
applyDateStr
,
delete
params
.
receiptDateStr
return
params
return
params
},
},
beforeSearchFn
()
{
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
this
.
tableSearchForm
=
this
.
getParams
()
this
.
tableSearchForm
=
this
.
getParams
()
delete
this
.
tableSearchForm
.
payTimeStr
delete
this
.
tableSearchForm
.
applyDateStr
resolve
()
resolve
()
})
})
},
},
...
@@ -313,14 +285,8 @@ export default {
...
@@ -313,14 +285,8 @@ export default {
},
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
outSettleOrderId
:
''
,
customerName
:
''
,
customerName
:
''
,
customerPhone
:
''
,
customerPhone
:
''
status
:
''
,
channel
:
''
,
merchantName
:
''
,
mode
:
''
,
withdrawalSource
:
''
}
}
this
.
handleSearch
()
this
.
handleSearch
()
}
}
...
@@ -337,31 +303,14 @@ export default {
...
@@ -337,31 +303,14 @@ export default {
font-weight
:
600
;
font-weight
:
600
;
border-bottom
:
1px
solid
#e5e5e5
;
border-bottom
:
1px
solid
#e5e5e5
;
}
}
.remind
{
.table-header
{
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
width
:
680px
;
height
:
36px
;
h2
{
border-radius
:
3.6px
;
color
:
#333333
;
border
:
1px
solid
#5850ff
;
font-size
:
16px
;
background
:
#ebebff
;
padding-left
:
16px
;
box-sizing
:
border-box
;
color
:
#000000
a6
;
font-size
:
14px
;
margin-bottom
:
20px
;
.tip
{
width
:
14px
;
height
:
14px
;
margin-right
:
8px
;
}
}
}
}
}
}
.gl-form-page
/
deep
/
.search-list
.search-item
.name
{
width
:
0px
!important
;
}
.gl-form-page
/
deep
/
.glsx-combi-form
.el-form-item--small
{
width
:
auto
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/withdraw/approveView.vue
View file @
19c29cf
...
@@ -51,30 +51,33 @@
...
@@ -51,30 +51,33 @@
</div>
</div>
</div>
</div>
</GLDialog>
</GLDialog>
</template>
</template>
<
script
>
<
script
>
const
tableStatus
=
[
'待审核'
,
'已审核'
,
'第三方处理'
,
'成功'
,
'失败'
,
'驳回'
]
const
tableStatus
=
[
'待审核'
,
'已审核'
,
'第三方处理'
,
'成功'
,
'失败'
,
'驳回'
]
const
colors
=
[
'#FDB757'
,
'#2CCA74'
,
'#5850FF'
,
'#2CCA74'
,
'#999999'
,
'#EB4E4E'
]
const
colors
=
[
'#FDB757'
,
'#2CCA74'
,
'#5850FF'
,
'#2CCA74'
,
'#999999'
,
'#EB4E4E'
]
const
channelObj
=
{
const
channelObj
=
{
'TXIAT'
:
'熠轩-银行卡'
,
TXIAT
:
'熠轩-银行卡'
,
'ZX'
:
'中雄-银行卡'
,
ZX
:
'中雄-银行卡'
,
'YUNHUO'
:
'云获(嘀加)-银行卡'
,
YUNHUO
:
'云获(嘀加)-银行卡'
,
"YUNHUO-ZY"
:
'云获(中赢)-银行卡'
,
'YUNHUO-ZY'
:
'云获(中赢)-银行卡'
,
'YUNHUO-WX'
:
'云获(中赢)-微信'
,
'YUNHUO-WX'
:
'云获(中赢)-微信'
,
'SHENBIANYUN'
:
'身边云-银行卡'
SHENBIANYUN
:
'身边云-银行卡'
}
}
export
default
{
export
default
{
name
:
'DetailDialog'
,
name
:
'DetailDialog'
,
data
()
{
data
()
{
return
{
return
{
recordInfo
:
{},
recordInfo
:
{
detail
:{},
operationList
:[]
},
withdrawDataRow
:
[],
withdrawDataRow
:
[],
paymentDataRow
:
[],
paymentDataRow
:
[],
operationDataRow
:
[],
operationDataRow
:
[],
withdrawData
:
[],
withdrawData
:
[],
paymentData
:
[],
paymentData
:
[],
operationData
:
[],
operationData
:
[],
isVisible
:
this
.
detailVisible
,
isVisible
:
this
.
detailVisible
}
}
},
},
props
:
{
props
:
{
...
@@ -97,33 +100,35 @@
...
@@ -97,33 +100,35 @@
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
getDetails
()
{
getDetails
()
{
this
.
$apis
.
withdraw
.
getDetails
({
id
:
this
.
id
}).
then
(
res
=>
{
this
.
$apis
.
withdraw
.
approvalDetail
({
id
:
this
.
id
}).
then
(
res
=>
{
this
.
recordInfo
=
res
this
.
recordInfo
.
detail
=
res
this
.
getConfig
()
this
.
getConfig
()
})
})
},
},
getApprovalLog
()
{
this
.
$apis
.
withdraw
.
getApprovalLog
({
id
:
this
.
id
}).
then
(
res
=>
{
this
.
recordInfo
.
operationList
=
res
})
},
getConfig
()
{
getConfig
()
{
this
.
withdrawData
=
[
this
.
withdrawData
=
[
{
{
label
:
'批次号'
,
label
:
'批次号'
,
name
:
'outSettleOrderId
'
name
:
'batchNo
'
},
},
{
{
label
:
'客户数量'
,
label
:
'客户数量'
,
name
:
'transferType'
,
name
:
'customerCount'
addHtml
:
obj
=>
{
return
obj
.
transferType
==
0
?
'积分提现'
:
obj
.
transferType
==
1
?
'普通提现'
:
'阳光激励'
}
},
},
{
{
label
:
'积分总额:'
,
label
:
'积分总额:'
,
name
:
'integralAmount
'
name
:
'pointTotal
'
},
},
{
{
label
:
'付款总额/元:'
,
label
:
'付款总额/元:'
,
name
:
'payAmount
'
,
name
:
'paymentTotal
'
,
addHtml
:
obj
=>
{
addHtml
:
obj
=>
{
return
obj
.
payAmount
?
(
obj
.
payAmount
/
100
).
toFixed
(
2
)
:
'--'
return
obj
.
paymentTotal
?
(
obj
.
paymentTotal
/
100
).
toFixed
(
2
)
:
'--'
}
}
},
},
{
{
...
@@ -140,16 +145,16 @@
...
@@ -140,16 +145,16 @@
this
.
paymentData
=
[
this
.
paymentData
=
[
{
{
label
:
'付款渠道'
,
label
:
'付款渠道'
,
name
:
'name
'
name
:
'paymentChannel
'
},
},
{
{
label
:
'付款主体'
,
label
:
'付款主体'
,
name
:
'idCardNo
'
name
:
'paymentSubject
'
},
},
{
{
label
:
'渠道到账时间'
,
label
:
'渠道到账时间'
,
name
:
'receiptDat
e'
name
:
'channelSettleTim
e'
}
}
]
]
this
.
formToRow
(
'withdrawData'
)
this
.
formToRow
(
'withdrawData'
)
...
@@ -188,42 +193,42 @@
...
@@ -188,42 +193,42 @@
this
.
$emit
(
'dialogClose'
)
this
.
$emit
(
'dialogClose'
)
}
}
}
}
}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.edit-box
.row-item
{
.edit-box
.row-item
{
width
:
30%
;
width
:
30%
;
/deep/
{
/deep/
{
.el-form-item__content
{
.el-form-item__content
{
height
:
30px
;
height
:
30px
;
}
}
}
}
}
}
.detail-txt
{
.detail-txt
{
display
:
inline-block
;
display
:
inline-block
;
width
:
136px
;
width
:
136px
;
}
}
.edit-title
{
.edit-title
{
font-weight
:
600
;
font-weight
:
600
;
font-size
:
16px
;
font-size
:
16px
;
color
:
#000000
d9
;
color
:
#000000
d9
;
line-height
:
24px
;
line-height
:
24px
;
}
}
.m-b-20
{
.m-b-20
{
margin-top
:
20px
;
margin-top
:
20px
;
}
}
/
deep
/
.el-form-item
{
/
deep
/
.el-form-item
{
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
.table_point
{
.table_point
{
width
:
6px
;
width
:
6px
;
height
:
6px
;
height
:
6px
;
border-radius
:
50%
;
border-radius
:
50%
;
margin-right
:
8px
;
margin-right
:
8px
;
}
}
.copy
{
.copy
{
color
:
#5850ff
;
color
:
#5850ff
;
margin-left
:
20px
;
margin-left
:
20px
;
cursor
:
pointer
;
cursor
:
pointer
;
}
</
style
>
\ No newline at end of file
\ No newline at end of file
}
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/withdraw/list.vue
View file @
19c29cf
...
@@ -848,7 +848,8 @@ export default {
...
@@ -848,7 +848,8 @@ export default {
//全部生成批次
//全部生成批次
async
handleAllBatch
(
all
=
true
)
{
async
handleAllBatch
(
all
=
true
)
{
let
title
=
all
?
'全部生成批次提示'
:
'生成批次提示'
,
let
title
=
all
?
'全部生成批次提示'
:
'生成批次提示'
,
cxt
=
await
this
.
generateBatchCount
(
all
),
// cxt = await this.generateBatchCount(all),
cxt
=
'当前共 ${numberOfRecord}条未处理【积分提现】记录,付款金额共'
,
params
=
{
params
=
{
type
:
all
?
2
:
1
type
:
all
?
2
:
1
},
},
...
...
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