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
cc63b439
Commit
cc63b439
authored
Aug 16, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
餐厅新增调整
parent
160399ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
8 deletions
+52
-8
restaurantInfoManage.vue
src/components/Restaurant/restaurantInfoManage.vue
+23
-0
restaurantList.vue
src/components/Restaurant/restaurantList.vue
+29
-8
No files found.
src/components/Restaurant/restaurantInfoManage.vue
View file @
cc63b439
...
...
@@ -696,6 +696,13 @@
<template
slot=
"append"
>
/人
</
template
>
</el-input>
</el-form-item>
<el-form-item
label=
"适用类型"
>
<el-select
placeholder=
"适用类型"
v-model=
"addMsg.UseTypeList"
multiple
class=
'multiple_input w300'
>
<el-option
v-for=
"childItem in DiningUseTypeList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_website')"
>
<div>
<span
class=
"resource-net"
>
...
...
@@ -1033,7 +1040,10 @@
//支付方式
PayStyle
:
0
,
UnitPrice
:
0
,
//餐标/人
UseType
:
0
,
//适用类型字符串
UseTypeList
:
[],
//适用类型
},
DiningUseTypeList
:
[],
rules
:
{
//表单必填验证
Name
:
[{
...
...
@@ -1456,6 +1466,18 @@
err
=>
{}
);
},
//获取餐厅适用类型列表
GetDiningUseTypeList
()
{
this
.
apipost
(
"dining_get_GetDiningUseType"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DiningUseTypeList
=
res
.
data
.
data
;
}
},
err
=>
{}
);
},
//图片左移右移
ExchangeImg
(
index
,
IsMove
)
{
var
imgItem
=
this
.
DiningImageArray
[
index
];
...
...
@@ -1482,6 +1504,7 @@
userInfo
.
RB_Branch_id
==
49
)
{
this
.
IsHaveAuth
=
1
;
}
this
.
GetDiningUseTypeList
();
this
.
GetPayList
();
this
.
GetDiningTypeList
();
this
.
GetDiningPriceTypeList
();
...
...
src/components/Restaurant/restaurantList.vue
View file @
cc63b439
...
...
@@ -79,6 +79,18 @@
margin-top
:
5px
;
}
.restaurantList
.F1
{
color
:
#e95252
;
}
.restaurantList
.F2
{
color
:
#47bf8c
;
}
.restaurantList
.F3
{
color
:
#00c6ff
;
}
.restaurantList
.starSu
{
position
:
absolute
;
bottom
:
8px
;
...
...
@@ -339,13 +351,23 @@
<div
class=
"hotelTitle fz12"
>
{{
item
.
Name
}}
</div>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.RealName"
placement=
"top-start"
popper-class=
"max-w250"
>
<div
class=
"hotelTitle fz12"
>
{{
$t
(
'ground.zhenshimingcheng'
)
}}
:
{{
item
.
RealName
}}
</div>
<div
class=
"hotelTitle fz12"
>
{{
$t
(
'ground.zhenshimingcheng'
)
}}
:
<font
class=
"F1"
>
{{
item
.
RealName
}}
</font>
</div>
</el-tooltip>
<div
class=
"brandList clearfix"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.UseTypeListStr"
placement=
"top-start"
popper-class=
"max-w250"
>
<div
class=
"hotelTitle"
>
适用类型:
<font
class=
"F2"
v-for=
"(subItem,subIndex) in item.UseTypeList"
:key=
"`ut_`+index+subIndex"
>
{{
subItem
}}
</font>
</div>
</el-tooltip>
<div
class=
"hotelTitle fz12"
>
最低餐标:
<font
class=
"F3"
>
{{
item
.
MinDinnerPrice
>
0
?
item
.
MinDinnerPrice
:
"/"
}}
</font>
</div>
<!--
<div
class=
"brandList clearfix"
>
<div
class=
"brand"
>
<span
class=
"SupportCount"
>
{{
item
.
SupportCount
}}
</span>
{{
$t
(
'hotel.hotel_people'
)
}}
<div>
{{
$t
(
'restaurant.res_bookCapacity'
)
}}
</div>
<span
class=
"SupportCount"
>
{{
item
.
UseTypeList
}}
</span>
<div></div>
</div>
<div
class=
"line"
></div>
<div
class=
"dayNum"
>
...
...
@@ -353,12 +375,11 @@
{{
$t
(
'hotel.hotel_people'
)
}}
<div>
最低餐标
</div>
</div>
</div>
<div
style=
"padding:0 0 15px 15px;margin-top:
-
5px;"
>
</div>
-->
<div
style=
"padding:0 0 15px 15px;margin-top: 5px;"
>
<i
class=
"iconfont icon-renyuanguanli"
></i>
<span
v-if=
"item.UpdateName && item.UpdateName!=''"
>
{{
item
.
UpdateName
}}
</span>
{{
item
.
UpdateTimeStr
}}
</div>
<div
class=
"btnList"
>
<button
@
click=
"goSubInfo('restaurantInfoManage',item.ID)"
class=
"hotelBtn"
>
{{
$t
(
'pub.updateMsg'
)
}}
</button>
...
...
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