Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
bc33fbc3
Commit
bc33fbc3
authored
Aug 16, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e1114e34
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
9 deletions
+21
-9
commonDinnerInfo.vue
src/components/commonPage/commonDinnerInfo.vue
+21
-9
No files found.
src/components/commonPage/commonDinnerInfo.vue
View file @
bc33fbc3
...
...
@@ -54,21 +54,21 @@
<template
v-if=
" DiningObj&& DiningObj.length>0"
>
<tr
v-for=
"(hotelSubItem,hotelSubIndex) in DiningObj"
>
<td>
{{
hotelSubItem
.
UseTime
}}
{{
hotelSubItem
.
UseTime
}}
(
{{
getDayByDate
(
hotelSubItem
.
UseTime
)
}}
)
</td>
<td
style=
"text-align:left;padding-left:3px;"
>
<template
v-if=
"hotelSubItem.DinnerName!=hotelSubItem.NewDinnerName && hotelSubItem.NewDinnerName!=''"
>
<span
style=
"text-decoration:line-through"
>
{{
hotelSubItem
.
DinnerName
}}
</span>
<el-link
style=
"font-size:12px;"
@
click=
"goDinnerDetails('restaurantInfoManage', hotelSubItem.OldDiningID ) "
><template
v-if=
"hotelSubItem.DinnerRealName!=hotelSubItem.NewDinnerRealName && hotelSubItem.NewDinnerRealName!=''"
>
<span
style=
"text-decoration:line-through;"
>
{{
hotelSubItem
.
DinnerRealName
}}
</span>
</
template
>
<
template
v-else
>
{{
hotelSubItem
.
DinnerName
}}
</
template
>
{{
hotelSubItem
.
DinnerRealName
}}
</
template
></el-link>
</td>
<td
style=
"text-align:left;padding-left:3px;color:red"
>
{{hotelSubItem.DinnerName!=hotelSubItem.NewDinnerName?""+hotelSubItem.NewDinnerName:""}}
<el-link
style=
"font-size:12px;"
@
click=
"goDinnerDetails('restaurantInfoManage', hotelSubItem.NewDiningID ) "
>
{{hotelSubItem.DinnerRealName!=hotelSubItem.NewDinnerRealName?""+hotelSubItem.NewDinnerRealName:""}}
</el-link>
</td>
<td
>
<
template
v-if=
"showHotelObj.showPrice&&hotelSubItem.PriceList&&hotelSubItem.PriceList.length>0"
>
<span
v-for=
"(priceSubItem,priceSubIndex) in hotelSubItem.PriceList"
:key=
"`din`+priceSubIndex"
>
...
...
@@ -140,7 +140,19 @@
date
=
new
Date
(
dateArray
[
0
],
parseInt
(
dateArray
[
1
]
-
1
),
dateArray
[
2
]);
return
"日一二三四五六"
.
charAt
(
date
.
getDay
());
}
}
},
// 跳转餐厅详情页 restaurantInfoManage ///#/restaurantInfoManage?id=4688&blank=y&cache=true
goDinnerDetails
:
function
(
path
,
id
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
blank
:
"y"
,
cache
:
true
,
},
});
},
},
mounted
()
{}
};
...
...
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