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
96eabf6f
Commit
96eabf6f
authored
May 28, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改支付传的内容
parent
f467178f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
5 deletions
+26
-5
allorderList.vue
pages/jiuzhai/allorderList.vue
+16
-4
allorderdetails.vue
pages/jiuzhai/allorderdetails.vue
+10
-1
No files found.
pages/jiuzhai/allorderList.vue
View file @
96eabf6f
...
...
@@ -176,7 +176,7 @@
v-if=
'item.IsApplyForCancel!=1 && (item.OrderStatus==1||item.OrderStatus==2 ||item.OrderStatus==3 ) && getquxiao(item)'
>
取消
</view>
<view
class=
"zailaiyidan"
v-if=
"item.OrderStatus == 1"
@
click
.
stop=
"queren(item
),payindex = index
"
>
<view
class=
"zailaiyidan"
v-if=
"item.OrderStatus == 1"
@
click
.
stop=
"queren(item
,index)
"
>
未付款
</view>
...
...
@@ -452,10 +452,22 @@
url
:
'/pages/jiuzhai/allorderdetails?OrderId='
+
item
.
OrderId
})
},
queren
(
data
){
queren
(
data
,
index
){
this
.
payindex
=
index
console
.
log
(
data
,
222
,
index
)
let
url
=
'/api/WeChatPay/GetDmcPayInfo'
let
GoodsName
=
data
.
OrderTypeName
+
data
.
CreateDate
GoodsName
=
GoodsName
.
slice
(
0
,
10
)
let
GoodsName
=
''
if
(
data
.
OrderType
==
1
){
GoodsName
=
data
.
HotelList
[
0
].
HotelName
}
else
if
(
data
.
OrderType
==
2
){
GoodsName
=
data
.
DiningList
[
0
].
MealName
}
else
if
(
data
.
OrderType
==
3
){
GoodsName
=
data
.
TicketList
[
0
].
TicketName
}
else
if
(
data
.
OrderType
==
4
){
GoodsName
=
data
.
CarList
[
0
].
DepartAddress
+
'-'
+
data
.
CarList
[
0
].
ArriveCityName
}
GoodsName
=
GoodsName
.
slice
(
0
,
10
)
this
.
request2
({
url
:
url
,
data
:
{
...
...
pages/jiuzhai/allorderdetails.vue
View file @
96eabf6f
...
...
@@ -451,7 +451,16 @@
queren
(
data
){
let
url
=
'/api/WeChatPay/GetDmcPayInfo'
let
GoodsName
=
data
.
OrderTypeName
+
data
.
CreateDate
let
GoodsName
=
''
if
(
data
.
OrderType
==
1
){
GoodsName
=
data
.
HotelList
[
0
].
HotelName
}
else
if
(
data
.
OrderType
==
2
){
GoodsName
=
data
.
DiningList
[
0
].
MealName
}
else
if
(
data
.
OrderType
==
3
){
GoodsName
=
data
.
TicketList
[
0
].
TicketName
}
else
if
(
data
.
OrderType
==
4
){
GoodsName
=
data
.
CarList
[
0
].
DepartAddress
+
'-'
+
data
.
CarList
[
0
].
ArriveCityName
}
GoodsName
=
GoodsName
.
slice
(
0
,
10
)
this
.
request2
({
url
:
url
,
...
...
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