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 e6767cea
authored
Aug 29, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
积分提现审批
1 parent
be2248ba
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
62 additions
and
58 deletions
src/views/pointsList/components/ConfirmDialog.vue
src/views/pointsList/components/pointDetailDialog.vue
src/views/pointsList/components/revocationDialog.vue
src/views/withdraw/approve.vue
src/views/withdraw/list.vue
src/views/pointsList/components/ConfirmDialog.vue
View file @
e6767ce
...
...
@@ -41,7 +41,7 @@ export default {
},
dataInfo
:
{
type
:
Object
,
default
:
{}
default
:
()
=>
{}
}
},
computed
:
{
...
...
src/views/pointsList/components/pointDetailDialog.vue
View file @
e6767ce
...
...
@@ -133,8 +133,8 @@ export default {
default
:
false
},
id
:
{
type
:
Number
,
default
:
""
type
:
String
,
default
:
''
}
},
computed
:
{
...
...
@@ -149,7 +149,7 @@ export default {
},
watch
:
{
id
(
val
)
{
if
(
val
)
this
.
getDetail
()
//
if (val) this.getDetail()
}
},
mounted
()
{
...
...
@@ -176,29 +176,29 @@ export default {
handleDetailClose
()
{
this
.
dialogShow
=
false
},
getDetail
()
{
getScoreDetail
({
id
:
this
.
id
}).
then
((
res
)
=>
{
if
(
res
)
{
//
res.updatedTime = res.updatedTime
//
? Util.dateFormate(res.updatedTime, "YYYY-MM-DD HH:mm:ss")
//
: "--"
//
res.withdrawalTime = res.withdrawalTime
//
? Util.dateFormate(res.withdrawalTime, "YYYY-MM-DD HH:mm:ss")
//
: "--"
//
res.refundTime = res.refundTime
//
? Util.dateFormate(res.refundTime, "YYYY-MM-DD HH:mm:ss")
//
: "--"
//
res.failTime = res.failTime
//
? Util.dateFormate(res.failTime, "YYYY-MM-DD HH:mm:ss")
//
: "--"
//
res.revokeTime = res.revokeTime
//
? Util.dateFormate(res.revokeTime, "YYYY-MM-DD HH:mm:ss")
//
: "--"
//
getDetail() {
//
getScoreDetail({ id: this.id }).then((res) => {
//
if (res) {
//
res.updatedTime = res.updatedTime
//
? Util.dateFormate(res.updatedTime, "YYYY-MM-DD HH:mm:ss")
//
: "--"
//
res.withdrawalTime = res.withdrawalTime
//
? Util.dateFormate(res.withdrawalTime, "YYYY-MM-DD HH:mm:ss")
//
: "--"
//
res.refundTime = res.refundTime
//
? Util.dateFormate(res.refundTime, "YYYY-MM-DD HH:mm:ss")
//
: "--"
//
res.failTime = res.failTime
//
? Util.dateFormate(res.failTime, "YYYY-MM-DD HH:mm:ss")
//
: "--"
//
res.revokeTime = res.revokeTime
//
? Util.dateFormate(res.revokeTime, "YYYY-MM-DD HH:mm:ss")
//
: "--"
this
.
detailInfo
=
res
}
})
}
//
this.detailInfo = res
//
}
//
})
//
}
}
}
</
script
>
...
...
src/views/pointsList/components/revocationDialog.vue
View file @
e6767ce
...
...
@@ -60,7 +60,7 @@ export default {
default
:
false
},
id
:
{
type
:
Number
,
type
:
String
,
default
:
""
}
},
...
...
@@ -76,24 +76,24 @@ export default {
mounted
()
{},
methods
:
{
handleAddConfirm
()
{
this
.
$refs
.
formRef
.
$refs
[
this
.
rejectRef
].
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
let
detailData
=
await
getScoreDetail
({
id
:
this
.
id
})
let
params
=
{}
params
.
remark
=
this
.
infoForm
.
remark
params
.
orderCode
=
detailData
.
orderCode
params
.
scoreId
=
this
.
id
cancelDeduct
(
params
).
then
((
res
)
=>
{
console
.
log
(
res
)
if
(
res
)
{
this
.
$emit
(
"handleConfirm"
,
false
)
this
.
notice
.
okTips
(
"操作成功"
)
}
})
}
})
},
//
handleAddConfirm() {
//
this.$refs.formRef.$refs[this.rejectRef].validate(async (valid) => {
//
if (valid) {
//
let detailData = await getScoreDetail({ id: this.id })
//
let params = {}
//
params.remark = this.infoForm.remark
//
params.orderCode = detailData.orderCode
//
params.scoreId = this.id
//
cancelDeduct(params).then((res) => {
//
console.log(res)
//
if (res) {
//
this.$emit("handleConfirm", false)
//
this.notice.okTips("操作成功")
//
}
//
})
//
}
//
})
//
},
handleClose
()
{
this
.
$emit
(
"dialogClose"
,
false
)
}
...
...
src/views/withdraw/approve.vue
View file @
e6767ce
...
...
@@ -104,7 +104,7 @@ export default {
},
{
label
:
'OA审批时间'
,
name
:
'oaApprovalTime
Start
'
,
name
:
'oaApprovalTime'
,
type
:
'datePicker'
,
isClear
:
true
,
pickerOptions
:
'beforeRangePickerOptions'
...
...
@@ -149,9 +149,9 @@ export default {
type
:
'text'
,
fn
:
'付款审批'
},
//
condition: row => {
// return row.status == 0
//
},
condition
:
row
=>
{
return
row
.
status
==
0
||
row
.
status
==
3
},
listeners
:
{
click
:
row
=>
{
this
.
handleCheck
(
row
)
...
...
@@ -242,7 +242,7 @@ export default {
{
label
:
'批次生成时间'
,
prop
:
'createdDate'
,
width
:
1
5
0
width
:
1
8
0
},
{
label
:
'审批人'
,
...
...
@@ -252,7 +252,7 @@ export default {
{
label
:
'审批时间'
,
prop
:
'approvalTime'
,
width
:
'200px'
width
:
180
},
{
label
:
'OA审批编号'
,
...
...
@@ -262,19 +262,18 @@ export default {
{
label
:
'OA审批时间'
,
prop
:
'oaApprovalTime'
,
line
:
1
,
width
:
150
width
:
180
},
{
label
:
'渠道到账时间'
,
prop
:
'channelSettleTime'
,
width
:
1
5
0
width
:
1
8
0
},
{
label
:
'用户到账时间'
,
prop
:
'userSettleTime'
,
width
:
1
5
0
width
:
1
8
0
}
]
},
...
...
@@ -311,7 +310,12 @@ export default {
this
.
detailVisible
=
true
},
//导出
handleExport
(
row
)
{},
handleExport
(
row
)
{
const
params
=
{
approvalId
:
row
.
id
}
this
.
$apis
.
withdraw
.
orderExport
(
params
).
then
(
res
=>
{
this
.
$utils
.
aToExport
(
res
)
})
},
//到账明细
handleParticulars
(
row
)
{
this
.
$router
.
push
({
...
...
@@ -341,6 +345,7 @@ 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'
...
...
src/views/withdraw/list.vue
View file @
e6767ce
...
...
@@ -800,8 +800,7 @@ export default {
//全部生成批次
async
handleAllBatch
(
all
=
true
)
{
let
title
=
all
?
'全部生成批次提示'
:
'生成批次提示'
,
// cxt = await this.generateBatchCount(all),
cxt
=
'当前共 ${numberOfRecord}条未处理【积分提现】记录,付款金额共'
,
cxt
=
await
this
.
generateBatchCount
(
all
),
params
=
{
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