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
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
47 additions
and
43 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 {
...
@@ -41,7 +41,7 @@ export default {
},
},
dataInfo
:
{
dataInfo
:
{
type
:
Object
,
type
:
Object
,
default
:
{}
default
:
()
=>
{}
}
}
},
},
computed
:
{
computed
:
{
...
...
src/views/pointsList/components/pointDetailDialog.vue
View file @
e6767ce
...
@@ -133,8 +133,8 @@ export default {
...
@@ -133,8 +133,8 @@ export default {
default
:
false
default
:
false
},
},
id
:
{
id
:
{
type
:
Number
,
type
:
String
,
default
:
""
default
:
''
}
}
},
},
computed
:
{
computed
:
{
...
@@ -149,7 +149,7 @@ export default {
...
@@ -149,7 +149,7 @@ export default {
},
},
watch
:
{
watch
:
{
id
(
val
)
{
id
(
val
)
{
if
(
val
)
this
.
getDetail
()
//
if (val) this.getDetail()
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -176,9 +176,9 @@ export default {
...
@@ -176,9 +176,9 @@ export default {
handleDetailClose
()
{
handleDetailClose
()
{
this
.
dialogShow
=
false
this
.
dialogShow
=
false
},
},
getDetail
()
{
//
getDetail() {
getScoreDetail
({
id
:
this
.
id
}).
then
((
res
)
=>
{
//
getScoreDetail({ id: this.id }).then((res) => {
if
(
res
)
{
//
if (res) {
// res.updatedTime = res.updatedTime
// res.updatedTime = res.updatedTime
// ? Util.dateFormate(res.updatedTime, "YYYY-MM-DD HH:mm:ss")
// ? Util.dateFormate(res.updatedTime, "YYYY-MM-DD HH:mm:ss")
// : "--"
// : "--"
...
@@ -195,10 +195,10 @@ export default {
...
@@ -195,10 +195,10 @@ export default {
// ? Util.dateFormate(res.revokeTime, "YYYY-MM-DD HH:mm:ss")
// ? Util.dateFormate(res.revokeTime, "YYYY-MM-DD HH:mm:ss")
// : "--"
// : "--"
this
.
detailInfo
=
res
//
this.detailInfo = res
}
//
}
})
//
})
}
//
}
}
}
}
}
</
script
>
</
script
>
...
...
src/views/pointsList/components/revocationDialog.vue
View file @
e6767ce
...
@@ -60,7 +60,7 @@ export default {
...
@@ -60,7 +60,7 @@ export default {
default
:
false
default
:
false
},
},
id
:
{
id
:
{
type
:
Number
,
type
:
String
,
default
:
""
default
:
""
}
}
},
},
...
@@ -76,24 +76,24 @@ export default {
...
@@ -76,24 +76,24 @@ export default {
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
handleAddConfirm
()
{
//
handleAddConfirm() {
this
.
$refs
.
formRef
.
$refs
[
this
.
rejectRef
].
validate
(
async
(
valid
)
=>
{
//
this.$refs.formRef.$refs[this.rejectRef].validate(async (valid) => {
if
(
valid
)
{
//
if (valid) {
let
detailData
=
await
getScoreDetail
({
id
:
this
.
id
})
//
let detailData = await getScoreDetail({ id: this.id })
let
params
=
{}
//
let params = {}
params
.
remark
=
this
.
infoForm
.
remark
//
params.remark = this.infoForm.remark
params
.
orderCode
=
detailData
.
orderCode
//
params.orderCode = detailData.orderCode
params
.
scoreId
=
this
.
id
//
params.scoreId = this.id
cancelDeduct
(
params
).
then
((
res
)
=>
{
//
cancelDeduct(params).then((res) => {
console
.
log
(
res
)
//
console.log(res)
if
(
res
)
{
//
if (res) {
this
.
$emit
(
"handleConfirm"
,
false
)
//
this.$emit("handleConfirm", false)
this
.
notice
.
okTips
(
"操作成功"
)
//
this.notice.okTips("操作成功")
}
//
}
})
//
})
}
//
}
})
//
})
},
//
},
handleClose
()
{
handleClose
()
{
this
.
$emit
(
"dialogClose"
,
false
)
this
.
$emit
(
"dialogClose"
,
false
)
}
}
...
...
src/views/withdraw/approve.vue
View file @
e6767ce
...
@@ -104,7 +104,7 @@ export default {
...
@@ -104,7 +104,7 @@ export default {
},
},
{
{
label
:
'OA审批时间'
,
label
:
'OA审批时间'
,
name
:
'oaApprovalTime
Start
'
,
name
:
'oaApprovalTime'
,
type
:
'datePicker'
,
type
:
'datePicker'
,
isClear
:
true
,
isClear
:
true
,
pickerOptions
:
'beforeRangePickerOptions'
pickerOptions
:
'beforeRangePickerOptions'
...
@@ -149,9 +149,9 @@ export default {
...
@@ -149,9 +149,9 @@ export default {
type
:
'text'
,
type
:
'text'
,
fn
:
'付款审批'
fn
:
'付款审批'
},
},
//
condition: row => {
condition
:
row
=>
{
// return row.status == 0
return
row
.
status
==
0
||
row
.
status
==
3
//
},
},
listeners
:
{
listeners
:
{
click
:
row
=>
{
click
:
row
=>
{
this
.
handleCheck
(
row
)
this
.
handleCheck
(
row
)
...
@@ -242,7 +242,7 @@ export default {
...
@@ -242,7 +242,7 @@ export default {
{
{
label
:
'批次生成时间'
,
label
:
'批次生成时间'
,
prop
:
'createdDate'
,
prop
:
'createdDate'
,
width
:
1
5
0
width
:
1
8
0
},
},
{
{
label
:
'审批人'
,
label
:
'审批人'
,
...
@@ -252,7 +252,7 @@ export default {
...
@@ -252,7 +252,7 @@ export default {
{
{
label
:
'审批时间'
,
label
:
'审批时间'
,
prop
:
'approvalTime'
,
prop
:
'approvalTime'
,
width
:
'200px'
width
:
180
},
},
{
{
label
:
'OA审批编号'
,
label
:
'OA审批编号'
,
...
@@ -262,19 +262,18 @@ export default {
...
@@ -262,19 +262,18 @@ export default {
{
{
label
:
'OA审批时间'
,
label
:
'OA审批时间'
,
prop
:
'oaApprovalTime'
,
prop
:
'oaApprovalTime'
,
line
:
1
,
width
:
180
width
:
150
},
},
{
{
label
:
'渠道到账时间'
,
label
:
'渠道到账时间'
,
prop
:
'channelSettleTime'
,
prop
:
'channelSettleTime'
,
width
:
1
5
0
width
:
1
8
0
},
},
{
{
label
:
'用户到账时间'
,
label
:
'用户到账时间'
,
prop
:
'userSettleTime'
,
prop
:
'userSettleTime'
,
width
:
1
5
0
width
:
1
8
0
}
}
]
]
},
},
...
@@ -311,7 +310,12 @@ export default {
...
@@ -311,7 +310,12 @@ export default {
this
.
detailVisible
=
true
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
)
{
handleParticulars
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -341,6 +345,7 @@ export default {
...
@@ -341,6 +345,7 @@ export default {
params
.
userSettleTimeStart
=
dayjs
(
this
.
searchForm
.
userSettleTime
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
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'
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
)
{
if
(
this
.
searchForm
.
oaApprovalTime
&&
this
.
searchForm
.
oaApprovalTime
.
length
)
{
params
.
oaApprovalTimeStart
=
dayjs
(
this
.
searchForm
.
oaApprovalTime
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
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'
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 {
...
@@ -800,8 +800,7 @@ 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