Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HotelProject
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
zhengke
HotelProject
Commits
6b1bae95
Commit
6b1bae95
authored
Mar 04, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
c1951249
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
RoomList.vue
src/components/assetsman/RoomList.vue
+25
-2
No files found.
src/components/assetsman/RoomList.vue
View file @
6b1bae95
...
...
@@ -126,7 +126,7 @@
</el-form-item>
<el-form-item
label=
""
prop=
"RoomType"
title=
"房间类型"
>
<span
class=
"label"
>
部屋の名前
</span>
<el-select
size=
"small"
v-model=
"addMsg.RoomType"
placeholder=
"部屋のタイプ"
clearable
filterable
>
<el-select
size=
"small"
v-model=
"addMsg.RoomType"
@
change=
"getNum(addMsg.RoomType)"
placeholder=
"部屋のタイプ"
clearable
filterable
>
<el-option
v-for=
"item in RoomTypeList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
...
...
@@ -262,7 +262,7 @@
Id
:
0
,
RoomName
:
''
,
HotelId
:
''
,
RoomType
:
''
,
RoomType
:
1
,
Money
:
0
,
CostPrice
:
0
,
Description
:
''
,
...
...
@@ -633,6 +633,29 @@
})
this
.
dialogState
=
true
;
},
//change房型获取人数
getNum
(
id
){
switch
(
id
)
{
//单间
case
1
:
this
.
addMsg
.
PeopleNum
=
1
break
;
//双人间
case
2
:
this
.
addMsg
.
PeopleNum
=
2
break
;
//三人间
case
3
:
this
.
addMsg
.
PeopleNum
=
2
break
;
case
4
:
this
.
addMsg
.
PeopleNum
=
4
break
;
case
5
:
this
.
addMsg
.
PeopleNum
=
2
break
;
}
}
}
};
...
...
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