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
33545362
Commit
33545362
authored
Aug 19, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ed2f6166
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
5 deletions
+17
-5
restaurantInfoDetail.vue
src/components/Restaurant/restaurantInfoDetail.vue
+15
-3
commonDinnerInfo.vue
src/components/commonPage/commonDinnerInfo.vue
+2
-2
No files found.
src/components/Restaurant/restaurantInfoDetail.vue
View file @
33545362
...
...
@@ -708,7 +708,7 @@ margin-right:5px;
<span>
{{
addMsg
.
UnitPrice
}}
/人
</span>
</el-form-item>
<el-form-item
label=
"适用类型"
>
<el-tag
v-for=
"childItem in DiningUseTypeList"
:key=
"childItem.ID"
type=
"info"
>
{{
childItem
.
Name
}}
</el-tag>
<el-tag
v-for=
"childItem in DiningUseType
Now
List"
:key=
"childItem.ID"
type=
"info"
>
{{
childItem
.
Name
}}
</el-tag>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_website')"
>
<div>
...
...
@@ -792,7 +792,7 @@ margin-right:5px;
</
template
>
</el-form-item>
<el-form-item
:label=
"$t('ground.cantingleixing')"
>
<
template
v-if=
"DiningTypeList&&DiningTypeList.length>0"
>
<
template
v-if=
"DiningTypeList&&DiningTypeList.length>0
&&addMsg.DiningType>0
"
>
<span
v-for=
"childItem in DiningTypeList"
:key=
"childItem.ID"
v-if=
"childItem.ID==addMsg.DiningType"
>
{{
childItem
.
Name
}}
</span>
</
template
>
<
template
v-else
>
...
...
@@ -801,7 +801,6 @@ margin-right:5px;
</el-form-item>
<el-form-item
:label=
"$t('Operation.Op_price')"
>
<
template
v-if=
"DiningPriceTypeList&&DiningPriceTypeList.length>0&&addMsg.DiningPriceType>0"
>
<span
v-for=
"childItem in DiningPriceTypeList"
:key=
"childItem.ID"
v-if=
"childItem.ID==addMsg.DiningPriceType"
>
{{
childItem
.
Name
}}
</span>
</
template
>
<
template
v-else
>
...
...
@@ -1003,7 +1002,9 @@ margin-right:5px;
UseTypeList
:
[],
//适用类型
},
DiningUseTypeList
:
[],
DiningUseTypeNowList
:[],
openplatList
:[],
rules
:
{
//表单必填验证
Name
:
[{
...
...
@@ -1214,6 +1215,17 @@ margin-right:5px;
});
});
}
if
(
this
.
addMsg
.
UseTypeList
&&
this
.
addMsg
.
UseTypeList
.
length
>
0
&&
this
.
DiningUseTypeList
&&
this
.
DiningUseTypeList
.
length
>
0
){
this
.
DiningUseTypeNowList
=
[];
this
.
DiningUseTypeList
.
forEach
((
item
,
index
)
=>
{
this
.
addMsg
.
UseTypeList
.
forEach
((
item1
,
index1
)
=>
{
if
(
item1
==
item
.
ID
){
this
.
DiningUseTypeNowList
.
push
(
item
);
}
});
});
}
if
(
res
.
data
.
data
.
FoodTag
!=
""
)
{
this
.
tipsList
=
res
.
data
.
data
.
FoodTag
.
split
(
","
);
}
...
...
src/components/commonPage/commonDinnerInfo.vue
View file @
33545362
...
...
@@ -58,7 +58,7 @@
</td>
<td
style=
"text-align:left;padding-left:3px;"
>
<el-link
type=
"info"
style=
"font-size:12px;"
@
click=
"goDinnerDetails('restaurantInfo
Manage
', hotelSubItem.OldDiningID ) "
><template
v-if=
"hotelSubItem.DinnerRealName!=hotelSubItem.NewDinnerRealName && hotelSubItem.NewDinnerRealName!=''"
>
<el-link
type=
"info"
style=
"font-size:12px;"
@
click=
"goDinnerDetails('restaurantInfo
Detail
', hotelSubItem.OldDiningID ) "
><template
v-if=
"hotelSubItem.DinnerRealName!=hotelSubItem.NewDinnerRealName && hotelSubItem.NewDinnerRealName!=''"
>
<span
style=
"text-decoration:line-through;color:#606266;"
>
{{
hotelSubItem
.
DinnerRealName
}}
</span>
</
template
>
<
template
v-else
>
...
...
@@ -67,7 +67,7 @@
</td>
<td
style=
"text-align:left;padding-left:3px;color:red"
>
<el-link
type=
"info"
style=
"font-size:12px;"
@
click=
"goDinnerDetails('restaurantInfo
Manage
', hotelSubItem.NewDiningID ) "
>
<el-link
type=
"info"
style=
"font-size:12px;"
@
click=
"goDinnerDetails('restaurantInfo
Detail
', hotelSubItem.NewDiningID ) "
>
<span
style=
"color:#606266;"
>
{{hotelSubItem.DinnerRealName!=hotelSubItem.NewDinnerRealName?""+hotelSubItem.NewDinnerRealName:""}}
</span>
</el-link>
...
...
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