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
088c517e
Commit
088c517e
authored
Mar 06, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
机票
parent
8da67fb3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
9 deletions
+26
-9
flightDetail.vue
pages/airTicket/flightDetail.vue
+6
-2
visa_SureOrder.vue
pages/visa/visa_SureOrder.vue
+20
-7
No files found.
pages/airTicket/flightDetail.vue
View file @
088c517e
...
...
@@ -488,9 +488,13 @@
}
else
if
(
this
.
contactPhone
==
''
||
this
.
contactPhone
.
length
!=
11
){
msg
=
'请输入11位联系电话'
}
else
if
(
this
.
Mailbox
==
''
){
// #ifdef MP-DI
msg
=
'请输入邮箱地址'
// #endif
}
else
if
(
!
email
.
test
(
this
.
Mailbox
))
{
// #ifdef MP-DI
msg
=
'请输入正确的邮箱地址'
// #endif
}
else
if
(
this
.
createBy
.
CreateBy
==
0
){
// #ifdef MP-AG
msg
=
'请选择与你对接的服务人员'
...
...
pages/visa/visa_SureOrder.vue
View file @
088c517e
...
...
@@ -584,6 +584,8 @@
showPayBtn
:
true
,
Refund
:
0
,
orderInfo
:
null
,
orderId
:
0
,
goodsType
:
0
,
OrderNo
:
''
,
};
},
...
...
@@ -591,11 +593,19 @@
onLoad
(
option
)
{
if
(
option
.
orderData
)
{
this
.
orderData
=
JSON
.
parse
(
decodeURIComponent
(
option
.
orderData
));
}
else
if
(
option
.
orderId
)
{
}
else
if
(
option
.
orderId
&&!
option
.
goodsType
)
{
this
.
initOrderInfo
(
option
.
orderId
);
}
else
if
(
option
.
OrderNo
){
}
else
if
(
option
.
OrderNo
||
(
option
.
orderId
&&
option
.
goodsType
)){
if
(
option
.
goodsType
){
this
.
goodsType
=
option
.
goodsType
}
if
(
option
.
orderId
){
this
.
orderId
=
option
.
orderId
}
if
(
option
.
orderId
){
this
.
OrderNo
=
option
.
OrderNo
this
.
getOrderInfoHandler
(
this
.
OrderNo
)
}
this
.
getOrderInfoHandler
()
}
},
methods
:
{
...
...
@@ -652,13 +662,16 @@
},
});
},
getOrderInfoHandler
(
OrderNo
){
this
.
apipost
(
"GetDetailsByOrderNo_post"
,{
OrderNo
},
res
=>
{
getOrderInfoHandler
(){
this
.
apipost
(
"GetDetailsByOrderNo_post"
,{
OrderNo
:
this
.
OrderNo
,
orderId
:
this
.
orderId
,
goodsType
:
this
.
goodsType
,
},
res
=>
{
if
(
res
.
resultCode
==
1
){
this
.
orderData
=
{
...
res
.
data
}
console
.
log
(
this
.
orderData
,
'---111111'
)
this
.
initOrderInfo
(
res
.
data
.
ErpOrderId
);
this
.
formatStatus
(
res
.
data
.
OrderStatus
,
...
...
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