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
79a369f2
Commit
79a369f2
authored
Jun 03, 2021
by
ZJG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3252adbe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
86 deletions
+52
-86
allorderList.vue
pages/jiuzhai/allorderList.vue
+52
-86
No files found.
pages/jiuzhai/allorderList.vue
View file @
79a369f2
...
...
@@ -376,9 +376,23 @@
})
return
}
uni
.
requestSubscribeMessage
({
tmplIds
:
[],
complete
(
res
)
{
that
.
request2
({
url
:
'/api/AppletOrder/CancelAppletMyOrder'
,
data
:
that
.
Cancelmsg
},
(
res
)
=>
{
that
.
showModal
=
false
;
if
(
that
.
msg
.
OrderStatus
==
0
){
//判断在全部列表的时候 改变他的状态
if
(
that
.
Cancelmsg
.
Type
==
1
){
uni
.
showToast
({
title
:
res
.
message
,
icon
:
'none'
})
that
.
g
[
index
].
OrderStatus
=
4
;
that
.
g
[
index
].
IsApplyForCancel
=
1
;
}
else
{
...
...
@@ -411,59 +425,11 @@
this
.
change
(
5
)
}
}
// uni.requestSubscribeMessage({
// tmplIds: [],
// complete(res) {
// that.request2({
// url: '/api/AppletOrder/CancelAppletMyOrder',
// data: that.Cancelmsg
// },
// (res) => {
// that.showModal = false;
// if(that.msg.OrderStatus==0){//判断在全部列表的时候 改变他的状态
// if(that.Cancelmsg.Type==1){
// uni.showToast({
// title: res.message,
// icon: 'none'
// })
// that.g[index].OrderStatus = 4;
// that.g[index].IsApplyForCancel = 1;
// }else{
// uni.showToast({
// title: "取消成功,请等待审核",
// position: "bottom",
// icon: "none",
// duration: 2000,
// });
// that.g[index].OrderStatus = 5;
// that.g[index].IsApplyForCancel = 1;
// }
// }else{//在待付款的页面时候的操作处理
// if (that.Cancelmsg.Type == 1) {
// uni.showToast({
// title: res.message,
// icon: 'none'
// })
// that.g.splice(that.index, 1);
// } else {
// uni.showToast({
// title: "取消成功,请等待审核",
// position: "bottom",
// icon: "none",
// duration: 2000,
// });
// // that.msg.pageIndex = 1;
// // that.g = [];
// // that.init();
// this.change(5)
// }
// }
//
}
//
);
//
}
//
})
}
);
}
})
},
getquxiao
(
item
){
//判断是否显示取消
let
show
=
true
...
...
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