Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
2fb5f94a
Commit
2fb5f94a
authored
Aug 04, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单详情开发
parent
33b5b1f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
albumOrderdetail.vue
pages/album/albumOrderdetail/albumOrderdetail.vue
+23
-1
No files found.
pages/album/albumOrderdetail/albumOrderdetail.vue
View file @
2fb5f94a
...
@@ -142,8 +142,13 @@ export default {
...
@@ -142,8 +142,13 @@ export default {
data
()
{
data
()
{
return
{
return
{
showPop
:
false
,
//弹窗显示隐藏
showPop
:
false
,
//弹窗显示隐藏
orderId
:
''
,
//订单编号
}
}
},
},
onLoad
(
option
)
{
this
.
orderId
=
option
.
orderId
||
''
this
.
getDetail
()
},
methods
:
{
methods
:
{
//---复制内容
//---复制内容
copyText
(
value
){
copyText
(
value
){
...
@@ -157,6 +162,23 @@ export default {
...
@@ -157,6 +162,23 @@ export default {
}
}
})
})
},
},
//---获取订单详情
getDetail
(){
let
data
=
{
orderId
:
this
.
orderId
,
//订单ID
userId
:
uni
.
getStorageSync
(
'openid'
)
||
''
,
//用户Id
}
this
.
$request
(
'order/userOrder/findOrderDetail'
,
data
).
then
(
res
=>
{
if
(
res
.
code
==
'00'
)
{
console
.
log
(
res
)
}
else
{
uni
.
showToast
({
title
:
res
.
message
,
icon
:
'none'
})
}
})
}
}
}
}
}
</
script
>
</
script
>
...
...
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