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
5f4a56bd
Commit
5f4a56bd
authored
Aug 09, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
bdcf956b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
29 deletions
+13
-29
RestaurantPrice.vue
src/components/Restaurant/RestaurantPrice.vue
+4
-4
restaurantInfoManage.vue
src/components/Restaurant/restaurantInfoManage.vue
+9
-25
No files found.
src/components/Restaurant/RestaurantPrice.vue
View file @
5f4a56bd
...
@@ -435,17 +435,17 @@
...
@@ -435,17 +435,17 @@
<el-input
type=
"text"
class=
"w210"
v-model=
"addMsg.CostPrice"
<el-input
type=
"text"
class=
"w210"
v-model=
"addMsg.CostPrice"
@
keyup
.
native=
"checkPrice(addMsg,'CostPrice')"
></el-input>
@
keyup
.
native=
"checkPrice(addMsg,'CostPrice')"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_SalesPrice')"
>
<el-form-item
:label=
"$t('hotel.hotel_SalesPrice')"
>
<el-input
type=
"text"
class=
"w210"
v-model=
"addMsg.SalesPrice"
<el-input
type=
"text"
class=
"w210"
v-model=
"addMsg.SalesPrice"
@
keyup
.
native=
"checkPrice(addMsg,'SalesPrice')"
></el-input>
@
keyup
.
native=
"checkPrice(addMsg,'SalesPrice')"
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"resDiv"
>
<div
class=
"resDiv"
>
<el-form-item
:label=
"$t('hotel.hotel_B2BPrice')"
>
<el-form-item
:label=
"$t('hotel.hotel_B2BPrice')"
>
<el-input
type=
"text"
class=
"w210"
v-model=
"addMsg.B2BPrice"
<el-input
type=
"text"
class=
"w210"
v-model=
"addMsg.B2BPrice"
@
keyup
.
native=
"checkPrice(addMsg,'B2BPrice')"
></el-input>
@
keyup
.
native=
"checkPrice(addMsg,'B2BPrice')"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_B2CPrice')"
>
<el-form-item
:label=
"$t('hotel.hotel_B2CPrice')"
>
<el-input
type=
"text"
class=
"w210"
v-model=
"addMsg.B2CPrice"
<el-input
type=
"text"
class=
"w210"
v-model=
"addMsg.B2CPrice"
@
keyup
.
native=
"checkPrice(addMsg,'B2CPrice')"
></el-input>
@
keyup
.
native=
"checkPrice(addMsg,'B2CPrice')"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -466,7 +466,7 @@
...
@@ -466,7 +466,7 @@
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"resDiv"
>
<div
class=
"resDiv"
>
<el-form-item
:label=
"$t('hotel.hotel_Supplier')"
v-if=
"IsSelfBook"
>
<el-form-item
:label=
"$t('hotel.hotel_Supplier')"
v-if=
"IsSelfBook"
>
<el-select
v-model=
"addMsg.Supplier"
class=
"w210"
filterable
:placeholder=
"$t('hotel.hotel_inputholder')"
>
<el-select
v-model=
"addMsg.Supplier"
class=
"w210"
filterable
:placeholder=
"$t('hotel.hotel_inputholder')"
>
<el-option
:label=
'$t("hotel.hotel_inputholder")'
:value=
'defaultSelect'
></el-option>
<el-option
:label=
'$t("hotel.hotel_inputholder")'
:value=
'defaultSelect'
></el-option>
<el-option
v-for=
"item in SupplierList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
<el-option
v-for=
"item in SupplierList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
...
...
src/components/Restaurant/restaurantInfoManage.vue
View file @
5f4a56bd
...
@@ -867,13 +867,13 @@
...
@@ -867,13 +867,13 @@
<el-form-item
:label=
"$t('restaurant.res_WhetherToConfirm')"
>
<el-form-item
:label=
"$t('restaurant.res_WhetherToConfirm')"
>
<el-switch
v-model=
"addMsg.Sure"
active-value=
"1"
inactive-value=
"0"
></el-switch>
<el-switch
v-model=
"addMsg.Sure"
active-value=
"1"
inactive-value=
"0"
></el-switch>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item
label=
"预订方式"
>
<el-
switch
v-model=
"isBook"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
<el-
radio
v-model=
"addMsg.IsSelfBook"
:label=
"0"
>
自订
</el-radio>
:active-text=
"$t('hotel.hotel_Supplier')"
:inactive-text=
"$t('ground.ziding')"
></el-switch
>
<el-radio
v-model=
"addMsg.IsSelfBook"
:label=
"1"
>
供应商预订
</el-radio
>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item
label=
"是否推荐"
>
<el-
switch
v-model=
"isRecommend"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
<el-
radio
v-model=
"addMsg.IsRecommend"
:label=
"1"
>
推荐
</el-radio>
:active-text=
"$t('visaT.Recommend')"
:inactive-text=
"$t('ground.butuijian')"
></el-switch
>
<el-radio
v-model=
"addMsg.IsRecommend"
:label=
"0"
>
不推荐
</el-radio
>
</el-form-item>
</el-form-item>
</div>
</div>
<span
class=
"resource-lititle"
>
{{$t('hotel.hotel_imgintroduce')}}
</span>
<span
class=
"resource-lititle"
>
{{$t('hotel.hotel_imgintroduce')}}
</span>
...
@@ -969,8 +969,6 @@
...
@@ -969,8 +969,6 @@
inputValue
:
""
,
inputValue
:
""
,
inputVisible2
:
false
,
inputVisible2
:
false
,
inputValue2
:
""
,
inputValue2
:
""
,
isBook
:
true
,
isRecommend
:
true
,
//下拉框默认值
//下拉框默认值
SelectDefaultValue
:
0
,
SelectDefaultValue
:
0
,
//国家列表
//国家列表
...
@@ -1022,19 +1020,19 @@
...
@@ -1022,19 +1020,19 @@
Lng
:
""
,
Lng
:
""
,
Lat
:
""
,
Lat
:
""
,
PicPath
:
""
,
PicPath
:
""
,
IsSelfBook
:
""
,
IsSelfBook
:
0
,
Fax
:
""
,
Fax
:
""
,
Country
:
0
,
Country
:
0
,
Province
:
0
,
Province
:
0
,
City
:
0
,
City
:
0
,
DiningImageList
:
[],
//现在的图片
DiningImageList
:
[],
//现在的图片
DeleteImageList
:
[],
//要删除的图片
DeleteImageList
:
[],
//要删除的图片
IsRecommend
:
0
,
//是否推荐 0:否,1:是
IsRecommend
:
1
,
//是否推荐 0:否,1:是
//是否预约
//是否预约
AppointmentStyle
:
0
,
AppointmentStyle
:
0
,
//支付方式
//支付方式
PayStyle
:
0
,
PayStyle
:
0
,
UnitPrice
:
0
,
//餐标/人
UnitPrice
:
0
,
//餐标/人
},
},
rules
:
{
rules
:
{
//表单必填验证
//表单必填验证
...
@@ -1117,7 +1115,6 @@
...
@@ -1117,7 +1115,6 @@
var
item
=
this
.
DiningImageArray
[
index
];
var
item
=
this
.
DiningImageArray
[
index
];
this
.
DeleteImageArray
.
push
(
item
);
this
.
DeleteImageArray
.
push
(
item
);
this
.
DiningImageArray
.
splice
(
index
,
1
);
this
.
DiningImageArray
.
splice
(
index
,
1
);
//this.updatePic();
},
},
addImgOpen
()
{
addImgOpen
()
{
this
.
addimg
=
true
;
this
.
addimg
=
true
;
...
@@ -1142,17 +1139,6 @@
...
@@ -1142,17 +1139,6 @@
this
.
$viewer
.
show
()
this
.
$viewer
.
show
()
},
},
saveResource
()
{
saveResource
()
{
//保存餐厅信息
if
(
this
.
isBook
)
{
this
.
addMsg
.
IsSelfBook
=
1
;
}
else
{
this
.
addMsg
.
IsSelfBook
=
0
;
}
if
(
this
.
isRecommend
)
{
this
.
addMsg
.
IsRecommend
=
1
;
}
else
{
this
.
addMsg
.
IsRecommend
=
0
;
}
this
.
addMsg
.
OpenPlatform
=
this
.
openplatString
.
toString
();
this
.
addMsg
.
OpenPlatform
=
this
.
openplatString
.
toString
();
if
(
this
.
ID
!=
"undefined"
)
{
if
(
this
.
ID
!=
"undefined"
)
{
this
.
addMsg
.
ID
=
this
.
ID
;
this
.
addMsg
.
ID
=
this
.
ID
;
...
@@ -1254,8 +1240,6 @@
...
@@ -1254,8 +1240,6 @@
this
.
Geographic
=
res
.
data
.
data
.
GeographicTag
.
split
(
","
);
this
.
Geographic
=
res
.
data
.
data
.
GeographicTag
.
split
(
","
);
}
}
this
.
addMsg
.
Sure
=
res
.
data
.
data
.
Sure
.
toString
();
this
.
addMsg
.
Sure
=
res
.
data
.
data
.
Sure
.
toString
();
this
.
isBook
=
this
.
addMsg
.
IsSelfBook
;
this
.
isRecommend
=
this
.
addMsg
.
IsRecommend
;
res
.
data
.
data
.
PicPath
.
split
(
","
).
forEach
(
x
=>
{
res
.
data
.
data
.
PicPath
.
split
(
","
).
forEach
(
x
=>
{
if
(
x
!=
""
)
{
if
(
x
!=
""
)
{
var
obj
=
this
.
$DMCUtils
.
DMCImageObj
();
var
obj
=
this
.
$DMCUtils
.
DMCImageObj
();
...
...
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