Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
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
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
罗超
bigwood
Commits
c267fa56
Commit
c267fa56
authored
Mar 30, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
36bf4b35
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
27 deletions
+16
-27
TripOrderList.vue
src/components/trip/order/TripOrderList.vue
+2
-2
orderPreview.vue
src/components/trip/orderPreview.vue
+1
-23
TripOrderPreview.vue
src/pages/scheduledTrip/TripOrderPreview.vue
+1
-1
detailsNew.vue
src/pages/scheduledTrip/detailsNew.vue
+12
-1
No files found.
src/components/trip/order/TripOrderList.vue
View file @
c267fa56
...
...
@@ -15,7 +15,7 @@
<
template
v-if=
"$q.platform.is.desktop"
>
{{
$t
(
'hotelorder.createTime'
)
}}
:
</
template
>
2023-03-06 14:20:56
</span>
</div>
<div
class=
"
"
:class=
"{'q-py-md row justify-between':$q.platform.is.desktop,'column q-py-sm
':$q.platform.is.mobile}"
>
<div
class=
"
q-pt-sm"
:class=
"{'row justify-between':$q.platform.is.desktop,'column
':$q.platform.is.mobile}"
>
<div
:class=
"{'row col':$q.platform.is.desktop}"
>
<div
:style=
"{'width':$q.platform.is.desktop?'150px':'100%'}"
>
<q-img
class=
"rounded-borders"
:style=
"{'width':$q.platform.is.desktop?'150px':'100%'}"
:ratio=
"16 / 9"
src=
"http://imgfile.oytour.com/Upload/DMC/yEiRE8pRWE5ZF8cPNRnAiQST8WbyaGQc.jpg"
spinner-color=
"grey"
spinner-size=
"50px"
fit=
"cover"
/>
...
...
@@ -28,7 +28,7 @@
</div>
<div
:class=
"{'row items-end':$q.platform.is.desktop}"
style=
"flex-shrink: 0;"
>
<div
class=
"column text-right"
>
<div
:class=
"{'row justify-
between
q-pt-lg q-pb-xs':$q.platform.is.mobile}"
>
<div
:class=
"{'row justify-
end
q-pt-lg q-pb-xs':$q.platform.is.mobile}"
>
<span
class=
"fz13"
>
总金额:
<span
class=
"fz16"
>
¥45200
</span>
</span>
<div
class=
"fz13"
:class=
"{'q-py-xs':$q.platform.is.desktop}"
><span
class=
"text-orange-7"
>
已付总额:
<span
class=
"fz16"
>
¥0.00
</span>
</span>
</div>
...
...
src/components/trip/orderPreview.vue
View file @
c267fa56
...
...
@@ -354,14 +354,13 @@ export default defineComponent({
data
.
p
=
n
;
data
.
chosenObj
.
startDate
=
n
.
startDate
;
methods
.
calcMoney
()
console
.
log
(
data
.
p
,
'====-----'
)
},{
deep
:
true
}
)
const
methods
=
{
goOrderHandler
(){
let
order
=
{
configId
:
props
.
msg
.
configId
,
tcid
:
props
.
msg
.
tcid
,
tcid
:
data
.
p
.
tcid
,
startCityId
:
0
,
orderInfo
:
data
.
chosenObj
}
...
...
@@ -412,27 +411,6 @@ export default defineComponent({
},
changePeople
(
val
)
{},
addPeople
(
m
,
i
,
isDf
=
false
)
{
// data.chosenObj[m] = parseInt(data.chosenObj[m]) + i;
// if(m!='crCount'){
// data.chosenObj[m] = data.chosenObj[m]
<
0
?
0
:
data
.
chosenObj
[
m
];
// }else{
// data.chosenObj[m] = data.chosenObj[m]
<
1
?
1
:
data
.
chosenObj
[
m
];
// }
// if (!isDf) {
// if (
// data.chosenObj.crCount + data.chosenObj.etCount >
// data.p.remainNum
// ) {
// data.chosenObj[m] = data.chosenObj[m] - 1;
// }
// } else {
// if (
// data.chosenObj.crCount + data.chosenObj.etCount
<
// data.chosenObj.df
// ) {
// data.chosenObj[m] = data.chosenObj[m] - 1;
// }
// }
data
.
chosenObj
[
m
]
=
parseInt
(
data
.
chosenObj
[
m
])
+
i
;
if
(
m
!=
"crCount"
)
{
data
.
chosenObj
[
m
]
=
data
.
chosenObj
[
m
]
<
0
?
0
:
data
.
chosenObj
[
m
];
...
...
src/pages/scheduledTrip/TripOrderPreview.vue
View file @
c267fa56
...
...
@@ -350,7 +350,7 @@ export default defineComponent({
data
.
msg
.
UseDate
=
date
.
formatDate
(
date
.
addToDate
(
new
Date
(),
{
days
:
0
}),
'YYYY/MM/DD'
)
const
menu
=
inject
(
DirtionmaryHelper
.
MENU_KEYS
)
as
any
menu
.
value
=
8
menu
.
value
=
17
const
methods
=
{
// 获取团期信息
changeStartDate
(){
...
...
src/pages/scheduledTrip/detailsNew.vue
View file @
c267fa56
...
...
@@ -170,7 +170,7 @@
<div
class=
""
v-if=
"$q.platform.is.desktop"
>
<div
class=
"row items-center"
>
<span
class=
"product-price text-h6 q-mr-md"
>
CNY {{ dataList.priceList[0].originalB2BPrice }}
</span>
<q-btn
color=
"primary"
outline
:label=
"showOrderPreview ? $t('v103.details.deselect') : $t('v103.details.choose')"
@
click=
"
showOrderPreview = !showOrderPreview
"
class=
"q-px-lg"
/>
<q-btn
color=
"primary"
outline
:label=
"showOrderPreview ? $t('v103.details.deselect') : $t('v103.details.choose')"
@
click=
"
changeShowOrderPreviewHandler
"
class=
"q-px-lg"
/>
</div>
<div
class=
"text-info q-mt-md text-right"
>
{{$t('v103.details.earliest')}}:{{ dataList.priceList[0].startDate }}
</div>
</div>
...
...
@@ -420,6 +420,17 @@ export default defineComponent({
data
.
days
=
n
},{
immediate
:
true
,
deep
:
true
})
const
methods
=
{
changeShowOrderPreviewHandler
()
{
data
.
showOrderPreview
=
!
data
.
showOrderPreview
;
if
(
!
data
.
showOrderPreview
)
{
if
(
data
.
currentPrice
)
{
data
.
currentPrice
.
isSupportChildren
=
null
;
data
.
currentPrice
.
unionCityList
=
null
;
data
.
currentPrice
.
singleRoomPrice
=
0
;
data
.
currentPrice
.
originalB2BPrice
=
0
;
}
}
},
getTopNum
(
x
){
data
.
days
=
JSON
.
parse
(
x
)
},
...
...
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