Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
沈志敏
9 years ago
Commit
6cf6640da5af117ad4013246d6e5106023a8922c
1 parent
1aa9650c
fix bug
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletions
apps/me/models/order.js
public/js/common/intercept-click.js
public/vue/me/refund.vue
apps/me/models/order.js
View file @
6cf6640
...
...
@@ -53,7 +53,7 @@ exports.cancelOrder = (orderCode, reasonId, reason) => {
method
:
'app.SpaceOrders.close'
,
order_code
:
orderCode
,
reason_id
:
reasonId
,
reason
:
reason
reason
:
reason
?
reason
:
''
});
};
...
...
public/js/common/intercept-click.js
View file @
6cf6640
...
...
@@ -130,6 +130,20 @@ const matchHeader = (path, qs, titleMap) => {
return
header
;
}
if
(
/
\/
me
\/
return
\/
refund$/
.
test
(
path
))
{
header
=
titleMap
[
3
];
header
.
title
.
des
=
'退货申请'
;
header
.
right
.
action
=
'submitForm'
;
return
header
;
}
if
(
/
\/
me
\/
return
\/
exchange$/
.
test
(
path
))
{
header
=
titleMap
[
3
];
header
.
title
.
des
=
'换货申请'
;
header
.
right
.
action
=
'submitForm'
;
return
header
;
}
if
(
/
\/
me
\/
return
\/
refund
\/
detail/
.
test
(
path
))
{
header
=
titleMap
[
1
];
header
.
title
.
des
=
'退货状态'
;
...
...
public/vue/me/refund.vue
View file @
6cf6640
...
...
@@ -93,6 +93,8 @@
}
},
created() {
yoho.addNativeMethod('submitForm', this.submit.bind(this));
$.ajax({
url: '/me/return/refund/order',
data: {
...
...
Please
register
or
login
to post a comment