Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengke
jz_Travel
Commits
1fc19326
Commit
1fc19326
authored
Jun 03, 2021
by
ZJG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
07966cac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
allorderList.vue
pages/jiuzhai/allorderList.vue
+8
-7
allorderdetails.vue
pages/jiuzhai/allorderdetails.vue
+2
-1
No files found.
pages/jiuzhai/allorderList.vue
View file @
1fc19326
...
...
@@ -376,7 +376,6 @@
})
return
}
uni
.
requestSubscribeMessage
({
tmplIds
:
[],
complete
(
res
)
{
...
...
@@ -388,13 +387,14 @@
that
.
showModal
=
false
;
if
(
that
.
msg
.
OrderStatus
==
0
){
//判断在全部列表的时候 改变他的状态
if
(
that
.
Cancelmsg
.
Type
==
1
){
if
(
that
.
Cancelmsg
.
Type
==
1
){
//代付款的取消
uni
.
showToast
({
title
:
res
.
message
,
icon
:
'none'
})
that
.
g
[
index
].
OrderStatus
=
4
;
that
.
g
[
index
].
IsApplyForCancel
=
1
;
that
.
g
[
that
.
index
].
OrderStatus
=
4
;
that
.
g
[
that
.
index
].
OrderStatusName
=
'已取消'
;
that
.
g
[
that
.
index
].
IsApplyForCancel
=
1
;
}
else
{
uni
.
showToast
({
title
:
"取消成功,请等待审核"
,
...
...
@@ -402,8 +402,9 @@
icon
:
"none"
,
duration
:
2000
,
});
that
.
g
[
index
].
OrderStatus
=
5
;
that
.
g
[
index
].
IsApplyForCancel
=
1
;
that
.
g
[
that
.
index
].
OrderStatus
=
5
;
that
.
g
[
that
.
index
].
OrderStatusName
=
'待处理'
;
that
.
g
[
that
.
index
].
IsApplyForCancel
=
1
;
}
}
else
{
//在待付款的页面时候的操作处理
if
(
that
.
Cancelmsg
.
Type
==
1
)
{
...
...
@@ -422,7 +423,7 @@
// that.msg.pageIndex = 1;
// that.g = [];
// that.init();
th
is
.
change
(
5
)
th
at
.
change
(
5
)
}
}
...
...
pages/jiuzhai/allorderdetails.vue
View file @
1fc19326
...
...
@@ -497,7 +497,8 @@
fail
:
function
(
err
)
{
console
.
log
(
'fail:'
,
err
);
uni
.
showToast
({
title
:
"支付失败"
title
:
"支付失败"
,
icon
:
'none'
})
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment