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
63a903c1
Commit
63a903c1
authored
Mar 06, 2025
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'B2C' of
http://gitlab.oytour.com/zk123/jz_travel
into B2C
parents
37430cb0
791b6f3e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
69 additions
and
49 deletions
+69
-49
TicketOrderList.vue
pages/airTicket/components/TicketOrderList.vue
+38
-27
flightDetail.vue
pages/airTicket/flightDetail.vue
+3
-4
jz_MyOrder.vue
pages/jiuzhai/jz_MyOrder.vue
+27
-18
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+1
-0
No files found.
pages/airTicket/components/TicketOrderList.vue
View file @
63a903c1
...
@@ -223,16 +223,20 @@
...
@@ -223,16 +223,20 @@
if
(
this
.
DataLists
[
this
.
i
].
loading
){
if
(
this
.
DataLists
[
this
.
i
].
loading
){
return
return
}
}
//未付款-调用后台取消
uni
.
showLoading
({
title
:
"请稍等片刻..."
,
})
this
.
DataLists
[
this
.
i
].
loading
=
true
if
(
if
(
(
item
.
paymentTime
==
null
||
item
.
paymentTime
==
""
)
&&
(
item
.
paymentTime
==
null
||
item
.
paymentTime
==
""
)
&&
(
item
.
orderState
==
1
||
item
.
orderState
==
2
)
(
item
.
orderState
==
1
||
item
.
orderState
==
2
)
)
{
)
{
this
.
apipost
(
wx
.
showModal
({
title
:
'提示'
,
content
:
'确定取消订单?'
,
success
:
(
tip
)
=>
{
if
(
tip
.
confirm
)
{
uni
.
showLoading
({
title
:
"请稍等片刻..."
,
})
that
.
DataLists
[
that
.
i
].
loading
=
true
that
.
apipost
(
"GetCancelOrder_post"
,
"GetCancelOrder_post"
,
{
{
OrderNo
:
''
,
OrderNo
:
''
,
...
@@ -248,13 +252,20 @@
...
@@ -248,13 +252,20 @@
that
.
$emit
(
'research'
,
that
.
dataMsg
.
orderState
)
that
.
$emit
(
'research'
,
that
.
dataMsg
.
orderState
)
}
}
uni
.
hideLoading
()
uni
.
hideLoading
()
this
.
DataLists
[
this
.
i
].
loading
=
false
that
.
DataLists
[
that
.
i
].
loading
=
false
},
},
(
err
)
=>
{
(
err
)
=>
{
uni
.
hideLoading
()
uni
.
hideLoading
()
this
.
DataLists
[
this
.
i
].
loading
=
false
that
.
DataLists
[
that
.
i
].
loading
=
false
}
}
);
);
}
else
{
this
.
DataLists
[
this
.
i
].
loading
=
false
uni
.
hideLoading
()
}
}
})
}
}
},
},
getDetail
(
orderId
,
s
){
getDetail
(
orderId
,
s
){
...
...
pages/airTicket/flightDetail.vue
View file @
63a903c1
...
@@ -517,7 +517,7 @@
...
@@ -517,7 +517,7 @@
return
n
return
n
})
})
let
PriceNum
=
0
let
PriceNum
=
0
var
CreateBy
=
0
var
CreateBy
=
this
.
createBy
.
CreateBy
var
DirectCustomerId
=
0
var
DirectCustomerId
=
0
var
CustomerId
=
0
var
CustomerId
=
0
//#ifdef MP-DI
//#ifdef MP-DI
...
@@ -526,7 +526,6 @@
...
@@ -526,7 +526,6 @@
//#endif
//#endif
//#ifdef MP-AG
//#ifdef MP-AG
PriceNum
=
this
.
flight
.
B2CPrice
PriceNum
=
this
.
flight
.
B2CPrice
CreateBy
=
this
.
createBy
.
CreateBy
CustomerId
=
this
.
customer
.
customerId
CustomerId
=
this
.
customer
.
customerId
//#endif
//#endif
const
p
=
{
const
p
=
{
...
@@ -570,8 +569,8 @@
...
@@ -570,8 +569,8 @@
// #ifdef MP-AG
// #ifdef MP-AG
ClientType
:
1
,
ClientType
:
1
,
// #endif
// #endif
CreateBy
:
CreateBy
,
//同行联系人创建人 CustomerCreateBy
DirectCustomerId
:
DirectCustomerId
,
//直客Id
DirectCustomerId
:
DirectCustomerId
,
//直客Id
orderForm
:
4
,
// 订单来源 4-小程序
}
}
return
p
return
p
},
},
...
...
pages/jiuzhai/jz_MyOrder.vue
View file @
63a903c1
...
@@ -410,7 +410,12 @@
...
@@ -410,7 +410,12 @@
(
item
.
paymentTime
==
null
||
item
.
paymentTime
==
""
)
&&
(
item
.
paymentTime
==
null
||
item
.
paymentTime
==
""
)
&&
(
item
.
orderState
==
2
||
item
.
orderState
==
3
)
(
item
.
orderState
==
2
||
item
.
orderState
==
3
)
)
{
)
{
this
.
apipost
(
wx
.
showModal
({
title
:
'提示'
,
content
:
'确定取消订单?'
,
success
:
(
tip
)
=>
{
if
(
tip
.
confirm
)
{
that
.
apipost
(
"GetCancelOrder_post"
,
{
"GetCancelOrder_post"
,
{
OrderNo
:
''
,
OrderNo
:
''
,
ErpOrderId
:
item
.
orderId
,
ErpOrderId
:
item
.
orderId
,
...
@@ -424,9 +429,13 @@
...
@@ -424,9 +429,13 @@
});
});
that
.
research
();
that
.
research
();
}
}
that
.
submitCancel
=
false
},
},
(
err
)
=>
{}
(
err
)
=>
{}
);
);
}
else
that
.
submitCancel
=
false
}
})
}
}
},
},
//付款
//付款
...
...
pages/jiuzhai/jz_Reserve.vue
View file @
63a903c1
...
@@ -1182,6 +1182,7 @@
...
@@ -1182,6 +1182,7 @@
// #ifdef MP-AG
// #ifdef MP-AG
ClientType
:
1
,
ClientType
:
1
,
// #endif
// #endif
orderForm
:
4
,
// 订单来源 4-小程序
}
;
}
;
if
(
this
.
realCurrentPriceInfo
.
priceUnion
)
{
if
(
this
.
realCurrentPriceInfo
.
priceUnion
)
{
msg
.
DepartureCityId
=
this
.
realCurrentPriceInfo
.
priceUnion
.
unionCityId
msg
.
DepartureCityId
=
this
.
realCurrentPriceInfo
.
priceUnion
.
unionCityId
...
...
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