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
7dff8461
Commit
7dff8461
authored
Aug 08, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增餐标字段
parent
69ddb3b6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
775 additions
and
739 deletions
+775
-739
bookDinnerStatisticsDetails.vue
src/components/Restaurant/bookDinnerStatisticsDetails.vue
+29
-18
restaurantInfoManage.vue
src/components/Restaurant/restaurantInfoManage.vue
+746
-721
No files found.
src/components/Restaurant/bookDinnerStatisticsDetails.vue
View file @
7dff8461
...
...
@@ -8,12 +8,12 @@
<input
type=
"button"
class=
"fr normalBtn mb30"
:value=
"$t('pub.saveBtn')"
@
click=
"saveList(1)"
:disabled=
"IsDisabled"
/>
<input
v-if=
"IsEditDinner==0"
type=
"button"
class=
"fr normalBtn mb30"
style=
"display:none;"
:value=
"$t('ground.baocuncaogao')"
@
click=
"saveList(
1
)"
:disabled=
"IsDisabled"
/>
:value=
"$t('ground.baocuncaogao')"
@
click=
"saveList()"
:disabled=
"IsDisabled"
/>
</
template
>
<
template
v-else
>
<span
style=
"color:red;font-size:14px;"
>
{{
$t
(
'ground.yizhidbnxg'
)
}}
!
</span>
<input
v-if=
"EditBtn&¤tUserInfo.EmployeeId==615"
type=
"button"
class=
"fr normalBtn mb30"
:value=
"$t('pub.saveBtn')"
@
click=
"saveList(
1
)"
/>
:value=
"$t('pub.saveBtn')"
@
click=
"saveList()"
/>
</
template
>
</li>
</ul>
...
...
@@ -215,6 +215,18 @@
</el-select>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
订餐状态:
</td>
<td
style=
"text-align:left;"
>
<el-select
v-model=
'subItem.OrderState'
class=
'w135 sel'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'-1'
></el-option>
<el-option
:label=
'$t("pub.sureBtn")'
:value=
'1'
></el-option>
<el-option
:label=
'$t("visa.v_zanding")'
:value=
'2'
></el-option>
</el-select>
</td>
</tr>
<tr
v-show=
"subItem.PayStyle==6"
>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('ground.fukuanth')}}:
...
...
@@ -411,7 +423,6 @@
if
(
currentObj
&&
currentObj
.
ID
>
0
)
{
//人民币
if
(
currentObj
.
ID
==
1
)
{
obj
.
NewTotalPrice
=
currentObj
.
Name
+
":"
+
(
totalPrice
*
jpaObj
.
PayRate
).
toFixed
(
2
);
}
//日元
...
...
@@ -432,22 +443,22 @@
}
this
.
$forceUpdate
();
},
saveList
(
type
)
{
saveList
()
{
this
.
IsDisabled
=
true
;
if
(
type
==
0
)
{
this
.
list
.
forEach
(
item
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
insideItem
.
OrderState
=
0
;
})
})
}
if
(
type
==
1
)
{
this
.
list
.
forEach
(
item
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
insideItem
.
OrderState
=
1
;
})
})
}
//
if (type == 0) {
//
this.list.forEach(item => {
//
item.DiningSummaryList.forEach(insideItem => {
//
insideItem.OrderState = 0;
//
})
//
})
//
}
//
if (type == 1) {
//
this.list.forEach(item => {
//
item.DiningSummaryList.forEach(insideItem => {
//
insideItem.OrderState = 1;
//
})
//
})
//
}
this
.
list
.
forEach
(
item
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
if
(
insideItem
.
DiningPriceList
)
{
...
...
src/components/Restaurant/restaurantInfoManage.vue
View file @
7dff8461
...
...
@@ -2,67 +2,67 @@
.restaurantInfo
.resourceImgAdd
{
width
:
620px
;
margin
:
auto
;
}
}
.restaurantInfo
.clearfix
:after
{
.restaurantInfo
.clearfix
:after
{
content
:
"\0020"
;
display
:
block
;
height
:
0
;
clear
:
both
;
}
}
.restaurantInfo
.resource-content
{
.restaurantInfo
.resource-content
{
width
:
100%
;
margin-top
:
30px
;
font-size
:
12px
;
min-width
:
1200px
;
}
}
.restaurantInfo
.resource-baseinfo
{
.restaurantInfo
.resource-baseinfo
{
float
:
left
;
height
:
auto
;
width
:
600px
;
margin
:
0
0
20px
30px
;
}
}
.restaurantInfo
.resource-imginfo
{
.restaurantInfo
.resource-imginfo
{
float
:
left
;
width
:
510px
;
margin-top
:
35px
;
}
}
.restaurantInfo
.resource-lititle
{
.restaurantInfo
.resource-lititle
{
display
:
block
;
border-left
:
4px
solid
#e95252
;
padding-left
:
10px
;
margin-bottom
:
20px
;
}
}
.restaurantInfo
.resource-baseinfo
span
{
.restaurantInfo
.resource-baseinfo
span
{
display
:
inline-block
;
}
}
.restaurantInfo
.resource-name
{
.restaurantInfo
.resource-name
{
width
:
300px
;
height
:
34px
;
background
:
rgba
(
255
,
255
,
255
,
1
);
outline
:
none
;
border
:
1px
solid
#d6d6d6
;
padding-left
:
10px
;
}
}
.restaurantInfo
.common-lefttit
{
.restaurantInfo
.common-lefttit
{
width
:
80px
;
text-align
:
right
;
margin
:
0
7px
0
8px
;
display
:
inline-block
;
}
}
.restaurantInfo
.resource-net
{
.restaurantInfo
.resource-net
{
position
:
relative
;
}
}
.restaurantInfo
.resource-http
{
.restaurantInfo
.resource-http
{
position
:
absolute
;
color
:
#999999
;
width
:
70px
!important
;
...
...
@@ -74,24 +74,24 @@
text-align
:
center
;
line-height
:
32px
;
text-align
:
center
;
}
}
.restaurantInfo
.R1
{
.restaurantInfo
.R1
{
width
:
300px
;
padding
:
0
15px
0
80px
;
transition
:
all
0.3s
ease-in-out
;
}
}
.restaurantInfo
.areaInput
{
.restaurantInfo
.areaInput
{
width
:
300px
;
padding-right
:
120px
;
}
}
.restaurantInfo
.areaInput
:focus
{
.restaurantInfo
.areaInput
:focus
{
border
:
1px
solid
#e95252
;
}
}
.restaurantInfo
.map-icon
{
.restaurantInfo
.map-icon
{
position
:
absolute
;
right
:
1px
;
top
:
1px
;
...
...
@@ -106,15 +106,15 @@
display
:
inline-block
;
height
:
32px
;
background-color
:
#f5f7fa
;
}
}
.restaurantInfo
.map-icon
i
{
.restaurantInfo
.map-icon
i
{
margin
:
0
5px
;
position
:
relative
;
top
:
1px
;
}
}
.restaurantInfo
.save-Btn
{
.restaurantInfo
.save-Btn
{
width
:
90px
;
height
:
30px
;
background
:
rgba
(
233
,
82
,
82
,
1
);
...
...
@@ -123,14 +123,14 @@
outline
:
none
;
cursor
:
pointer
;
margin-right
:
20px
;
}
}
.restaurantInfo
.cancel-Btn
,
.save-Btn
:hover
{
.restaurantInfo
.cancel-Btn
,
.save-Btn
:hover
{
opacity
:
0.8
;
}
}
.restaurantInfo
.cancel-Btn
{
.restaurantInfo
.cancel-Btn
{
width
:
90px
;
height
:
30px
;
background
:
rgba
(
255
,
255
,
255
,
1
);
...
...
@@ -139,38 +139,38 @@
outline
:
none
;
cursor
:
pointer
;
border
:
1px
solid
#e95252
;
}
}
.restaurantInfo
.re-img
{
.restaurantInfo
.re-img
{
width
:
140px
;
height
:
93px
;
border-radius
:
10px
;
float
:
left
;
margin
:
0
30px
30px
0
;
position
:
relative
;
}
}
.restaurantInfo
.re-img
:first-child
{
.restaurantInfo
.re-img
:first-child
{
margin-left
:
0
;
}
}
.restaurantInfo
.resource-imglist
{
.restaurantInfo
.resource-imglist
{
width
:
100%
;
height
:
auto
;
margin-top
:
20px
;
}
}
.restaurantInfo
.resource-imglist
img
{
.restaurantInfo
.resource-imglist
img
{
width
:
100%
;
height
:
100%
;
border-radius
:
10px
;
}
}
.restaurantInfo
.add-img
{
.restaurantInfo
.add-img
{
margin-top
:
20px
;
}
}
.restaurantInfo
.reimg-add
{
.restaurantInfo
.reimg-add
{
width
:
140px
;
height
:
93px
;
background
:
rgba
(
236
,
236
,
236
,
1
);
...
...
@@ -178,9 +178,9 @@
position
:
relative
;
cursor
:
pointer
;
z-index
:
999
;
}
}
.restaurantInfo
.ad-one
{
.restaurantInfo
.ad-one
{
display
:
none
;
background
:
rgba
(
0
,
0
,
0
,
0.4
);
width
:
100%
;
...
...
@@ -188,17 +188,17 @@
border-radius
:
10px
;
position
:
absolute
;
top
:
0
;
}
}
.restaurantInfo
.bigAdd
{
.restaurantInfo
.bigAdd
{
font-size
:
50px
;
color
:
#d1d1d1
;
position
:
relative
;
left
:
45px
;
top
:
10px
;
}
}
.restaurantInfo
.imgzhe
{
.restaurantInfo
.imgzhe
{
display
:
none
;
background
:
rgba
(
0
,
0
,
0
,
0.4
);
width
:
100%
;
...
...
@@ -208,17 +208,17 @@
text-align
:
center
;
line-height
:
93px
;
top
:
0
;
}
}
.restaurantInfo
.reimg-add
:hover
.ad-one
{
.restaurantInfo
.reimg-add
:hover
.ad-one
{
display
:
block
;
}
}
.restaurantInfo
.re-img
:hover
.imgzhe
{
.restaurantInfo
.re-img
:hover
.imgzhe
{
display
:
block
;
}
}
.restaurantInfo
.ad-one
div
{
.restaurantInfo
.ad-one
div
{
width
:
32px
;
height
:
32px
;
border-radius
:
50%
;
...
...
@@ -226,73 +226,73 @@
text-align
:
center
;
background
:
gray
;
color
:
#fff
;
}
}
.restaurantInfo
.ad-one
div
:hover
{
.restaurantInfo
.ad-one
div
:hover
{
background-color
:
#fff
;
color
:
#e95252
;
}
}
.restaurantInfo
.re-upload
{
.restaurantInfo
.re-upload
{
position
:
absolute
;
top
:
30px
;
left
:
30px
;
z-index
:
999
;
}
}
.restaurantInfo
.re-find
{
.restaurantInfo
.re-find
{
position
:
absolute
;
top
:
30px
;
right
:
30px
;
z-index
:
999
;
}
}
.restaurantInfo
.search-imgicon
{
.restaurantInfo
.search-imgicon
{
padding-right
:
20px
;
margin-left
:
-40px
;
}
}
.restaurantInfo
.resAddImg
{
.restaurantInfo
.resAddImg
{
width
:
520px
;
padding-right
:
45px
;
}
}
.restaurantInfo
.addimgContent
{
.restaurantInfo
.addimgContent
{
height
:
290px
;
overflow
:
auto
;
margin
:
30px
0
30px
25px
;
width
:
545px
;
}
}
.restaurantInfo
.addimgDiv
{
.restaurantInfo
.addimgDiv
{
width
:
160px
;
height
:
155px
;
float
:
left
;
margin
:
0
20px
15px
0
;
overflow
:
hidden
;
}
}
.restaurantInfo
.addimgContent
div
:first-child
{
.restaurantInfo
.addimgContent
div
:first-child
{
margin-left
:
0
;
}
}
.addimgContent
div
:nth-child
(
3n
)
{
.addimgContent
div
:nth-child
(
3n
)
{
margin-right
:
0
;
}
}
.restaurantInfo
.itemImgdiv
{
.restaurantInfo
.itemImgdiv
{
width
:
160px
;
height
:
106px
;
position
:
relative
;
}
}
.restaurantInfo
.itemImgdiv
img
{
.restaurantInfo
.itemImgdiv
img
{
width
:
100%
;
height
:
100%
;
border-radius
:
10px
;
}
}
.restaurantInfo
.imgseclet
{
.restaurantInfo
.imgseclet
{
width
:
100%
;
height
:
100%
;
background
:
rgba
(
0
,
0
,
0
,
0.4
);
...
...
@@ -302,48 +302,48 @@
text-align
:
center
;
line-height
:
106px
;
color
:
#e95252
;
}
}
.icon-dagouyouquan
{
.icon-dagouyouquan
{
font-size
:
25px
;
}
}
.restaurantInfo
.test-1
::-webkit-scrollbar
{
.restaurantInfo
.test-1
::-webkit-scrollbar
{
width
:
0px
;
height
:
0px
;
background-color
:
#f5f5f5
;
}
}
.restaurantInfo
.test-1
::-webkit-scrollbar-track
{
.restaurantInfo
.test-1
::-webkit-scrollbar-track
{
background-color
:
#f5f5f5
;
}
}
.restaurantInfo
.test-1
::-webkit-scrollbar-thumb
{
.restaurantInfo
.test-1
::-webkit-scrollbar-thumb
{
border-radius
:
20px
;
background-color
:
#aaa
;
margin-bottom
:
24px
;
}
}
.restaurantInfo
.test-1
:hover::-webkit-scrollbar
{
.restaurantInfo
.test-1
:hover::-webkit-scrollbar
{
width
:
4px
;
height
:
4px
;
background-color
:
#f5f5f5
;
}
}
.restaurantInfo
.addimg-btnlist
{
.restaurantInfo
.addimg-btnlist
{
text-align
:
center
;
}
}
.restaurantInfo
.addimg-select
{
.restaurantInfo
.addimg-select
{
font-size
:
14px
;
color
:
#999999
;
float
:
right
;
margin-bottom
:
10px
;
position
:
relative
;
bottom
:
20px
;
}
}
.restaurantInfo
.re-delte
{
.restaurantInfo
.re-delte
{
width
:
32px
;
height
:
32px
;
background
:
gray
;
...
...
@@ -353,14 +353,14 @@
display
:
inline-block
;
color
:
#fff
;
cursor
:
pointer
;
}
}
.restaurantInfo
.re-delte
:hover
{
.restaurantInfo
.re-delte
:hover
{
color
:
#e95252
;
background
:
#fff
;
}
}
.restaurantInfo
.imgDescription
{
.restaurantInfo
.imgDescription
{
font-size
:
12px
;
margin-top
:
12px
;
color
:
#333333
;
...
...
@@ -371,104 +371,104 @@
display
:
-webkit-box
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
}
}
.restaurantInfo
.el-upload-dragger
{
.restaurantInfo
.el-upload-dragger
{
border
:
none
;
}
}
.restaurantInfo
.res-span
span
:last-child
{
.restaurantInfo
.res-span
span
:last-child
{
display
:
inline
;
}
}
.restaurantInfo
.resourcerightTop
span
{
.restaurantInfo
.resourcerightTop
span
{
display
:
inline-block
;
}
}
.restaurantInfo
.sheshi
{
.restaurantInfo
.sheshi
{
margin-bottom
:
20px
;
}
}
.restaurantInfo
.dialog-footer
{
.restaurantInfo
.dialog-footer
{
padding-bottom
:
30px
;
}
}
.restaurantInfo
.btn-list
{
.restaurantInfo
.btn-list
{
margin
:
20px
0
40px
30px
;
}
}
.restaurantInfo
.input-with-select
.el-input-group__prepend
{
.restaurantInfo
.input-with-select
.el-input-group__prepend
{
background-color
:
#fff
;
}
}
.restaurantInfo
.el-textarea__inner
{
.restaurantInfo
.el-textarea__inner
{
resize
:
none
;
height
:
120px
;
font-family
:
"微软雅黑"
;
}
}
.restaurantInfo
.R1
:focus
{
.restaurantInfo
.R1
:focus
{
border
:
1px
solid
#e95252
;
}
}
.restaurantInfo
.el-form-item__label
{
.restaurantInfo
.el-form-item__label
{
width
:
96px
;
font-size
:
12px
;
}
}
.restaurantInfo
.el-form-item__error
{
.restaurantInfo
.el-form-item__error
{
left
:
100px
;
}
}
.restaurantInfo
.hotelDay
{
.restaurantInfo
.hotelDay
{
margin-left
:
10px
;
}
}
.restaurantInfo
.searchImgIcon
{
.restaurantInfo
.searchImgIcon
{
cursor
:
pointer
;
}
}
.restaurantInfo
.el-dialog--center
.el-dialog__body
{
.restaurantInfo
.el-dialog--center
.el-dialog__body
{
padding
:
25px
25px
0
;
}
}
.restaurantInfo
.addressInput
.el-input-group__append
{
.restaurantInfo
.addressInput
.el-input-group__append
{
border-top-right-radius
:
17px
;
border-bottom-right-radius
:
17px
;
}
}
.restaurantInfo
::-webkit-input-placeholder
{
.restaurantInfo
::-webkit-input-placeholder
{
color
:
#d1d1d1
;
}
}
.restaurantInfo
:-moz-placeholder
{
.restaurantInfo
:-moz-placeholder
{
color
:
#d1d1d1
;
}
}
.restaurantInfo
::-moz-placeholder
{
.restaurantInfo
::-moz-placeholder
{
color
:
#d1d1d1
;
}
}
.restaurantInfo
:-ms-input-placeholder
{
.restaurantInfo
:-ms-input-placeholder
{
color
:
#d1d1d1
;
}
}
.restaurantInfo
.el-switch.is-checked
.el-switch__core
{
.restaurantInfo
.el-switch.is-checked
.el-switch__core
{
border-color
:
#4bca81
;
background-color
:
#4bca81
;
}
}
.restaurantInfo
.orderAdd
{
.restaurantInfo
.orderAdd
{
position
:
relative
;
width
:
340px
;
}
}
.restaurantInfo
.minus
:hover
{
.restaurantInfo
.minus
:hover
{
background-color
:
#cccccc
;
cursor
:
pointer
;
}
}
.restaurantInfo
.footabs
{
.restaurantInfo
.footabs
{
width
:
300px
;
min-height
:
34px
;
border
:
1px
solid
#d1d1d1
;
...
...
@@ -478,94 +478,94 @@
padding
:
5px
10px
;
display
:
flex
;
flex-wrap
:
wrap
;
}
}
.restaurantInfo
.foodtips
{
.restaurantInfo
.foodtips
{
display
:
inline-block
;
padding
:
3px
5px
;
background-color
:
#efefef
;
margin
:
3px
;
position
:
relative
;
}
}
.restaurantInfo
.toolOne
{
.restaurantInfo
.toolOne
{
margin
:
0
0
28px
38px
;
display
:
flex
;
}
}
.restaurantInfo
.foodTipsDiv
{
.restaurantInfo
.foodTipsDiv
{
max-width
:
200px
;
display
:
inline
;
}
}
.restaurantInfo
.wInput
{
.restaurantInfo
.wInput
{
border
:
none
;
height
:
30px
;
}
}
.restaurantInfo
.wInput
.el-input__inner
{
.restaurantInfo
.wInput
.el-input__inner
{
border
:
none
!important
;
height
:
28px
;
padding
:
0
;
border-radius
:
0
;
margin-top
:
2px
;
}
}
.restaurantInfo
.delTips
{
.restaurantInfo
.delTips
{
position
:
absolute
;
right
:
-5px
;
top
:
-5px
;
cursor
:
pointer
;
color
:
#999
;
font-size
:
14px
;
}
}
.restaurantInfo
.delTips
:hover
{
.restaurantInfo
.delTips
:hover
{
color
:
#e95252
;
}
}
.restaurantInfo
.fanyong
{
.restaurantInfo
.fanyong
{
font-size
:
12px
;
color
:
#666666
;
margin-right
:
10px
;
}
}
.restaurantInfo
.footabs
.el-tag
{
.restaurantInfo
.footabs
.el-tag
{
margin
:
0
5px
5px
0
;
}
}
.restaurantInfo
.footabs
.el-input__inner
{
.restaurantInfo
.footabs
.el-input__inner
{
height
:
30px
;
position
:
relative
;
}
}
.restaurantInfo
.button-new-tag
{
.restaurantInfo
.button-new-tag
{
height
:
30px
;
line-height
:
30px
;
padding-top
:
0
;
padding-bottom
:
0
;
}
}
.restaurantInfo
.input-new-tag
{
.restaurantInfo
.input-new-tag
{
width
:
90px
;
margin-left
:
10px
;
vertical-align
:
bottom
;
}
}
.restaurantInfo
.toolSpan
{
.restaurantInfo
.toolSpan
{
margin-top
:
5px
;
}
}
.restaurantInfo
.RabateDiv
{
.restaurantInfo
.RabateDiv
{
margin-left
:
6px
;
}
}
.restaurantInfo
.RebateCount
{
.restaurantInfo
.RebateCount
{
height
:
34px
;
float
:
left
;
}
}
.restaurantInfo
.leftPnum
{
.restaurantInfo
.leftPnum
{
float
:
left
;
width
:
50px
;
background-color
:
#f5f7fa
;
...
...
@@ -576,9 +576,9 @@
position
:
absolute
;
left
:
1px
;
top
:
1px
;
}
}
.restaurantInfo
.fanNum
{
.restaurantInfo
.fanNum
{
float
:
left
;
width
:
50px
;
background-color
:
#f5f7fa
;
...
...
@@ -589,28 +589,28 @@
position
:
absolute
;
left
:
1px
;
top
:
1px
;
}
}
.restaurantInfo
.toolInput
{
.restaurantInfo
.toolInput
{
height
:
34px
;
padding-left
:
5px
;
border
:
none
;
}
}
.restaurantInfo
.inpuOne
{
.restaurantInfo
.inpuOne
{
width
:
130px
;
padding-left
:
55px
;
border
:
1px
solid
#d1d1d1
;
border-right
:
none
;
}
}
.restaurantInfo
.reOne
,
.restaurantInfo
.reTwo
,
.restaurantInfo
.dayNum
{
.restaurantInfo
.reOne
,
.restaurantInfo
.reTwo
,
.restaurantInfo
.dayNum
{
position
:
relative
;
}
}
.restaurantInfo
.tiqianDay
{
.restaurantInfo
.tiqianDay
{
position
:
absolute
;
left
:
1px
;
top
:
1px
;
...
...
@@ -622,26 +622,26 @@
text-align
:
center
;
line-height
:
32px
;
border-right
:
1px
solid
#d1d1d1
;
}
}
.restaurantInfo
.dayNum
{
.restaurantInfo
.dayNum
{
width
:
300px
;
padding
:
0
45px
0
110px
;
border
:
1px
solid
#d1d1d1
;
height
:
34px
;
}
}
.restaurantInfo
.inpuTwo
{
.restaurantInfo
.inpuTwo
{
width
:
170px
;
padding
:
0
45px
0
55px
;
border
:
1px
solid
#d1d1d1
;
}
}
.restaurantInfo
.fanbili
{
.restaurantInfo
.fanbili
{
margin-top
:
8px
;
}
}
.restaurantInfo
.percentCon
{
.restaurantInfo
.percentCon
{
float
:
right
;
width
:
40px
;
height
:
32px
;
...
...
@@ -652,31 +652,32 @@
position
:
absolute
;
right
:
1px
;
top
:
1px
;
}
}
.restaurantInfo
.dayLi
{
.restaurantInfo
.dayLi
{
left
:
90px
;
}
}
.restaurantInfo
.el-dialog--center
.el-dialog__body
{
.restaurantInfo
.el-dialog--center
.el-dialog__body
{
padding
:
15px
25px
0
!important
;
}
}
.restaurantInfo
.mapList
{
.restaurantInfo
.mapList
{
width
:
850px
!important
;
height
:
510px
!important
;
}
}
.restaurantInfo
.addAddress
.el-input__inner
{
.restaurantInfo
.addAddress
.el-input__inner
{
border-top-right-radius
:
0
;
border-bottom-right-radius
:
0
;
border
:
1px
solid
#d1d1d1
!important
;
}
}
.restaurantInfo
.el-input-group__append
{
.restaurantInfo
.el-input-group__append
{
border-top-right-radius
:
0
!important
;
border-bottom-right-radius
:
0
!important
;
}
}
</
style
>
<
template
>
<div
class=
"flexOne restaurantInfo"
>
...
...
@@ -690,6 +691,11 @@
<el-form-item
:label=
"$t('ground.cantzsmc')"
prop=
"RealName"
>
<el-input
type=
"text"
v-model=
"addMsg.RealName"
maxlength=
"100"
class=
"w300"
></el-input>
</el-form-item>
<el-form-item
label=
"餐标"
>
<el-input
type=
"text"
v-model=
"addMsg.UnitPrice"
maxlength=
"100"
class=
"w300"
>
<template
slot=
"append"
>
/人
</
template
>
</el-input>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_website')"
>
<div>
<span
class=
"resource-net"
>
...
...
@@ -699,28 +705,36 @@
</div>
</el-form-item>
<el-form-item
:label=
"$t('system.table_country')"
>
<el-select
:placeholder=
"$t('visaT.qxzguojia')"
filterable
v-model=
"addMsg.Country"
class=
'multiple_input w300'
@
change=
"GetSubAreaList(addMsg.Country,1),addMsg.Province=0,addMsg.City=0,addMsg.District=0"
>
<el-select
:placeholder=
"$t('visaT.qxzguojia')"
filterable
v-model=
"addMsg.Country"
class=
'multiple_input w300'
@
change=
"GetSubAreaList(addMsg.Country,1),addMsg.Province=0,addMsg.City=0,addMsg.District=0"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"childItem in CountryList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
<el-option
v-for=
"childItem in CountryList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_province')"
>
<el-select
:placeholder=
"$t('pub.pleaseSel')"
filterable
class=
'multiple_input w300'
v-model=
"addMsg.Province"
@
change=
"GetSubAreaList(addMsg.Province,2),addMsg.City=0,addMsg.District=0"
>
<el-select
:placeholder=
"$t('pub.pleaseSel')"
filterable
class=
'multiple_input w300'
v-model=
"addMsg.Province"
@
change=
"GetSubAreaList(addMsg.Province,2),addMsg.City=0,addMsg.District=0"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"childItem in ProvinceList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
<el-option
v-for=
"childItem in ProvinceList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_city')"
>
<el-select
:placeholder=
"$t('pub.pleaseSel')"
filterable
class=
'multiple_input w300'
v-model=
"addMsg.City"
@
change=
"GetSubAreaList(addMsg.City,3),addMsg.District=0"
>
<el-select
:placeholder=
"$t('pub.pleaseSel')"
filterable
class=
'multiple_input w300'
v-model=
"addMsg.City"
@
change=
"GetSubAreaList(addMsg.City,3),addMsg.District=0"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"childItem in CityList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
<el-option
v-for=
"childItem in CityList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_area')"
>
<el-select
v-model=
"addMsg.District"
class=
"w300"
@
change=
"getArea"
filterable
:placeholder=
"$t('hotel.hotel_area')"
>
<el-select
v-model=
"addMsg.District"
class=
"w300"
@
change=
"getArea"
filterable
:placeholder=
"$t('hotel.hotel_area')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"item in district"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
...
...
@@ -756,15 +770,18 @@
<div
class=
"RabateDiv clearfix"
>
<div
class=
"RebateCount reTwo dayLi"
>
<div
class=
"tiqianDay"
>
{{$t('restaurant.res_advanceDays')}}
</div>
<input
type=
"text"
class=
"dayNum"
v-model=
"addMsg.DieLine"
maxlength=
"10"
onkeyup=
"value=value.replace(/[^\d]/g,'')"
>
<input
type=
"text"
class=
"dayNum"
v-model=
"addMsg.DieLine"
maxlength=
"10"
onkeyup=
"value=value.replace(/[^\d]/g,'')"
>
<div
class=
"percentCon"
>
{{$t('hotel.hotel_day')}}
</div>
</div>
</div>
<el-form-item
:label=
"$t('ground.shifouyuyue')"
>
<el-switch
v-model=
"addMsg.AppointmentStyle"
:active-value=
"inActive"
:inactive-value=
"notInActive"
></el-switch>
<el-switch
v-model=
"addMsg.AppointmentStyle"
:active-value=
"inActive"
:inactive-value=
"notInActive"
>
</el-switch>
</el-form-item>
<el-form-item
:label=
"$t('ground.zhifufangshi')"
>
<el-select
v-model=
"addMsg.PayStyle"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
:disabled=
"IsHaveAuth==1?false:true"
>
<el-select
v-model=
"addMsg.PayStyle"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
:disabled=
"IsHaveAuth==1?false:true"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"item in PayList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
...
...
@@ -799,13 +816,13 @@
<div
class=
"RabateDiv clearfix"
>
<div
class=
"RebateCount reOne"
>
<div
class=
"leftPnum"
>
{{$t('admin.admin_personNumber')}}
</div>
<input
type=
"text"
class=
"toolInput inpuOne"
v-model=
"addMsg.RebateCount"
onkeyup=
"value=value.replace(/[^\d]/g,'')"
maxlength=
"20"
>
<input
type=
"text"
class=
"toolInput inpuOne"
v-model=
"addMsg.RebateCount"
onkeyup=
"value=value.replace(/[^\d]/g,'')"
maxlength=
"20"
>
</div>
<div
class=
"RebateCount reTwo"
>
<div
class=
"fanNum"
>
{{$t('restaurant.res_return')}}
</div>
<input
type=
"text"
class=
"toolInput inpuTwo"
v-model=
"addMsg.RebateRatio"
onkeyup=
"value=value.replace(/[^\d]/g,'')"
maxlength=
"20"
>
<input
type=
"text"
class=
"toolInput inpuTwo"
v-model=
"addMsg.RebateRatio"
onkeyup=
"value=value.replace(/[^\d]/g,'')"
maxlength=
"20"
>
<div
class=
"percentCon"
>
%
</div>
</div>
</div>
...
...
@@ -814,7 +831,8 @@
<div
class=
"toolOne"
>
<span
class=
"toolSpan"
>
{{$t('scen.sc_fdTag')}}
</span>
<div
class=
"footabs"
>
<el-tag
:key=
"tag"
v-for=
"tag in tipsList"
closable
:disable-transitions=
"false"
@
close=
"handleClose(tag)"
>
{{
tag
}}
<el-tag
:key=
"tag"
v-for=
"tag in tipsList"
closable
:disable-transitions=
"false"
@
close=
"handleClose(tag)"
>
{{tag}}
</el-tag>
<el-input
class=
"input-new-tag"
v-if=
"inputVisible"
v-model=
"inputValue"
ref=
"saveTagInput"
size=
"small"
@
keyup
.
enter
.
native=
"handleInputConfirm"
@
blur=
"handleInputConfirm"
>
...
...
@@ -826,10 +844,11 @@
<div
class=
"toolOne"
>
<span
class=
"toolSpan"
>
{{$t('scen.sc_dlTag')}}
</span>
<div
class=
"footabs"
>
<el-tag
:key=
"tag"
v-for=
"tag in Geographic"
closable
:disable-transitions=
"false"
@
close=
"handleClose2(tag)"
>
{{
tag
}}
<el-tag
:key=
"tag"
v-for=
"tag in Geographic"
closable
:disable-transitions=
"false"
@
close=
"handleClose2(tag)"
>
{{tag}}
</el-tag>
<el-input
class=
"input-new-tag"
v-if=
"inputVisible2"
v-model=
"inputValue2"
ref=
"saveTagInput"
size=
"small"
@
keyup
.
enter
.
native=
"handleInputConfirm2"
@
blur=
"handleInputConfirm2"
>
<el-input
class=
"input-new-tag"
v-if=
"inputVisible2"
v-model=
"inputValue2"
ref=
"saveTagInput"
size=
"small"
@
keyup
.
enter
.
native=
"handleInputConfirm2"
@
blur=
"handleInputConfirm2"
>
</el-input>
<el-button
v-else
class=
"button-new-tag"
size=
"small"
@
click=
"showInput2"
>
+ {{$t('pub.addBtn')}}
</el-button>
...
...
@@ -837,25 +856,28 @@
</div>
</div>
<el-form-item
:label=
"$t('restaurant.res_special')"
>
F
<el-input
type=
"textarea"
class=
"w300"
v-model=
"addMsg.Feature"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('Operation.Op_Warmprompt')"
prop=
"About"
>
A
<el-input
type=
"textarea"
maxlength=
"1000"
v-model=
"addMsg.About"
class=
"w300"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('restaurant.res_bookInformation')"
prop=
"BookingInfo"
>
B
<el-input
type=
"textarea"
maxlength=
"1000"
v-model=
"addMsg.BookingInfo"
class=
"w300"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('restaurant.res_WhetherToConfirm')"
>
<el-switch
v-model=
"addMsg.Sure"
active-value=
"1"
inactive-value=
"0"
></el-switch>
</el-form-item>
<el-form-item>
<el-switch
v-model=
"isBook"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
:active-text=
"$t('hotel.hotel_Supplier')"
:inactive-text=
"$t('ground.ziding')"
></el-switch>
<el-switch
v-model=
"isBook"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
:
active-text=
"$t('hotel.hotel_Supplier')"
:
inactive-text=
"$t('ground.ziding')"
></el-switch>
</el-form-item>
<el-form-item>
<el-switch
v-model=
"isRecommend"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
:active-text=
"$t('visaT.Recommend')"
:inactive-text=
"$t('ground.butuijian')"
></el-switch>
<el-switch
v-model=
"isRecommend"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
:
active-text=
"$t('visaT.Recommend')"
:
inactive-text=
"$t('ground.butuijian')"
></el-switch>
</el-form-item>
</div>
<span
class=
"resource-lititle"
>
{{$t('hotel.hotel_imgintroduce')}}
</span>
...
...
@@ -865,13 +887,14 @@
<img
v-if=
"!item"
src=
"../../assets/img/bg_c3@3x.png"
>
<img
:src=
"item.ShowPath"
:onerror=
'defaultImg'
/>
<div
class=
"imgzhe"
>
<div
class=
"re-delte"
><i
@
click
.
stop=
"showImg(item.ShowPath)"
class=
"iconfont icon-img_cz"
></i></div>
<div
class=
"re-delte"
><i
@
click
.
stop=
"showImg(item.ShowPath)"
class=
"iconfont icon-img_cz"
></i></div>
<div
class=
"re-delte"
@
click=
"delImg(index)"
><i
class=
"iconfont icon-xingzhuang"
></i></div>
<div
class=
"re-delte"
@
click
.
stop=
"ExchangeImg(index,0)"
v-if=
"index!=0&&item.ShowPath"
>
<i
class=
"iconfont icon-zuoyi"
></i>
</div>
<div
class=
"re-delte"
@
click
.
stop=
"ExchangeImg(index,1)"
v-if=
"index!=DiningImageArray.length-1&&item.ShowPath"
>
<div
class=
"re-delte"
@
click
.
stop=
"ExchangeImg(index,1)"
v-if=
"index!=DiningImageArray.length-1&&item.ShowPath"
>
<i
class=
"iconfont icon-youyi"
></i>
</div>
</div>
...
...
@@ -882,8 +905,8 @@
<i
class=
"iconfont icon-img_haha bigAdd"
></i>
<div
class=
"ad-one"
>
<div
class=
"re-upload"
>
<el-upload
:http-request=
"UploadImage"
:multiple=
"true"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
action=
""
>
<el-upload
:http-request=
"UploadImage"
:multiple=
"true"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
action=
""
>
<i
class=
"iconfont icon-img_bdsc"
></i>
</el-upload>
</div>
...
...
@@ -896,7 +919,8 @@
</el-form>
</div>
<el-dialog
custom-class=
"resourceImgAdd"
:title=
"$t('pub.addImg')"
center
:visible
.
sync=
"addimg"
>
<DMCchooseImg
@
closeImg=
"closeDMCchooseImg"
ref=
"DMCchooseImg1"
@
headCallBack=
"getDMCimg"
v-bind:imgType=
"2"
></DMCchooseImg>
<DMCchooseImg
@
closeImg=
"closeDMCchooseImg"
ref=
"DMCchooseImg1"
@
headCallBack=
"getDMCimg"
v-bind:imgType=
"2"
>
</DMCchooseImg>
</el-dialog>
<el-dialog
custom-class=
"mapList"
:title=
"$t('hotel.hotel_mapLocation')"
center
:visible
.
sync=
"selectAddress"
>
<googleMap
@
refList=
"googleMap"
v-on:headCallBack=
"headCall"
v-bind:address=
"addMsg.Address"
></googleMap>
...
...
@@ -919,9 +943,9 @@
export
default
{
data
()
{
return
{
imageOptions
:{
navbar
:
false
,
title
:
false
imageOptions
:
{
navbar
:
false
,
title
:
false
},
//是否有权限操作支付方式
IsHaveAuth
:
0
,
...
...
@@ -1013,7 +1037,8 @@
//是否预约
AppointmentStyle
:
0
,
//支付方式
PayStyle
:
0
PayStyle
:
0
,
UnitPrice
:
0
,
//餐标/人
},
rules
:
{
//表单必填验证
...
...
@@ -1102,18 +1127,18 @@
this
.
addimg
=
true
;
this
.
initimgList
();
},
inited
(
viewer
)
{
inited
(
viewer
)
{
this
.
$viewer
=
viewer
},
showImg
:
function
(
src
)
{
let
srcArr
=
src
.
split
(
'?'
)
src
=
srcArr
[
0
]
let
isExsit
=
false
this
.
images
.
forEach
(
x
=>
{
if
(
x
===
src
)
isExsit
=
true
let
isExsit
=
false
this
.
images
.
forEach
(
x
=>
{
if
(
x
===
src
)
isExsit
=
true
})
if
(
!
isExsit
)
{
if
(
!
isExsit
)
{
this
.
images
.
push
(
src
)
}
else
{
this
.
$viewer
.
view
(
this
.
images
.
indexOf
(
src
))
...
...
@@ -1215,7 +1240,7 @@
if
(
this
.
addMsg
.
Province
>
0
)
{
this
.
GetSubAreaList
(
this
.
addMsg
.
Province
,
2
);
}
if
(
this
.
addMsg
.
City
>
0
)
{
if
(
this
.
addMsg
.
City
>
0
)
{
this
.
GetSubAreaList
(
this
.
addMsg
.
City
,
3
);
}
if
(
this
.
addMsg
.
OpenPlatform
!=
null
)
{
...
...
@@ -1380,12 +1405,12 @@
res
=>
{
if
(
type
==
1
)
{
this
.
ProvinceList
=
res
.
data
.
data
;
this
.
CityList
=
[];
this
.
district
=
[];
this
.
CityList
=
[];
this
.
district
=
[];
}
else
if
(
type
==
2
)
{
this
.
CityList
=
res
.
data
.
data
;
this
.
district
=
[];
}
else
if
(
type
==
3
)
{
this
.
district
=
[];
}
else
if
(
type
==
3
)
{
this
.
district
=
res
.
data
.
data
;
}
},
...
...
@@ -1466,7 +1491,7 @@
this
.
$set
(
this
.
DiningImageArray
,
index
,
downItem
);
}
},
getArea
(){
getArea
()
{
this
.
$forceUpdate
();
}
},
...
...
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