Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-activity-center
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 c90345a7
authored
Dec 22, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
退款类型
1 parent
bbe32f96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
src/views/orderManage/index.vue
src/views/orderManage/index.vue
View file @
c90345a
...
@@ -369,6 +369,7 @@
...
@@ -369,6 +369,7 @@
title=
"退款"
title=
"退款"
:visible
.
sync=
"refundVisible"
:visible
.
sync=
"refundVisible"
@
onCancel=
"refundVisible = !refundVisible"
@
onCancel=
"refundVisible = !refundVisible"
@
onOk=
"refundFun"
>
>
<div
class=
"gl-form-page gl-form-min"
>
<div
class=
"gl-form-page gl-form-min"
>
<el-form
<el-form
...
@@ -376,21 +377,18 @@
...
@@ -376,21 +377,18 @@
label-width=
"154px"
label-width=
"154px"
>
>
<el-form-item
label=
"退款类型:"
>
<el-form-item
label=
"退款类型:"
>
<el-radio-group
<el-radio-group
v-model=
"refundParams.afterSaleType"
>
v-model=
"refundType"
@
change=
"changeType"
>
<div
class=
"refund-item"
>
<div
class=
"refund-item"
>
<el-radio
<el-radio
v-model=
"radio"
v-model=
"radio"
label=
"
1
"
label=
"
2
"
>
退定金
</el-radio>
>
退定金
</el-radio>
<div
class=
"refund-tips"
>
选择此项不会扣减实际订单数
</div>
<div
class=
"refund-tips"
>
选择此项不会扣减实际订单数
</div>
</div>
</div>
<div
class=
"refund-item"
>
<div
class=
"refund-item"
>
<el-radio
<el-radio
v-model=
"radio"
v-model=
"radio"
label=
"
2
"
label=
"
1
"
>
退订单
</el-radio>
>
退订单
</el-radio>
<div
class=
"refund-tips"
>
选择此项会扣减实际订单数
</div>
<div
class=
"refund-tips"
>
选择此项会扣减实际订单数
</div>
</div>
</div>
...
@@ -826,6 +824,10 @@ export default {
...
@@ -826,6 +824,10 @@ export default {
listeners
:
{
listeners
:
{
click
:
row
=>
{
click
:
row
=>
{
this
.
refundVisible
=
true
this
.
refundVisible
=
true
this
.
refundParams
=
{
orderCode
:
row
.
orderCode
,
afterSaleType
:
'2'
}
// this.secondConfirm('退款', '请确定是否发起退款?', 'orderManage', 'crowdFundRefundApi', { orderCode: row.orderCode }, () => { }, this.searchForm.requestSource != 0)
// this.secondConfirm('退款', '请确定是否发起退款?', 'orderManage', 'crowdFundRefundApi', { orderCode: row.orderCode }, () => { }, this.searchForm.requestSource != 0)
}
}
}
}
...
@@ -1129,7 +1131,7 @@ export default {
...
@@ -1129,7 +1131,7 @@ export default {
requestSourceList
:
[
'全部订单'
,
'已付款'
,
'未付款'
,
'已退款'
,
'售后订单'
,
'待审批'
],
requestSourceList
:
[
'全部订单'
,
'已付款'
,
'未付款'
,
'已退款'
,
'售后订单'
,
'待审批'
],
batchRefundVisible
:
false
,
batchRefundVisible
:
false
,
refundVisible
:
false
,
refundVisible
:
false
,
refund
Type
:
'1'
,
refund
Params
:
{}
,
selectList
:
[],
selectList
:
[],
refundTips
:
true
,
refundTips
:
true
,
selectTableParams
:
{
selectTableParams
:
{
...
@@ -1527,6 +1529,13 @@ export default {
...
@@ -1527,6 +1529,13 @@ export default {
this
.
selectList
=
selectList
.
filter
(
e
=>
e
.
orderCode
)
this
.
selectList
=
selectList
.
filter
(
e
=>
e
.
orderCode
)
},
},
async
refundFun
()
{
let
{
refundParams
}
=
this
const
res
=
this
.
$apis
.
orderManage
.
crowdFundRefundApi
(
refundParams
)
this
.
refundVisible
=
false
this
.
searchForm
.
requestSource
!=
0
?
this
.
handleSearch
()
:
this
.
$refs
.
allOrderRef
.
refreshTable
(
false
)
},
async
getCrowdfundingParams
()
{
async
getCrowdfundingParams
()
{
/**参数类型 1:众筹活动名称(返回类型String),2:众筹活动门店 */
/**参数类型 1:众筹活动名称(返回类型String),2:众筹活动门店 */
const
activity
=
await
this
.
$apis
.
seckillActivity
.
getCrowdfundingParams
({
const
activity
=
await
this
.
$apis
.
seckillActivity
.
getCrowdfundingParams
({
...
...
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