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
2325e0fd
Commit
2325e0fd
authored
May 21, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b20867ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
HotelProductManage.vue
src/components/Hotel/HotelProductManage.vue
+26
-1
No files found.
src/components/Hotel/HotelProductManage.vue
View file @
2325e0fd
...
...
@@ -320,7 +320,7 @@
{{item.HasWindowStr}}
</td>
<td
style=
"text-align:left;padding-left:20px;"
>
房间大小 {{item.RoomSize}}
㎡
房间大小 {{item.RoomSize}}
<span
v-if=
"item.RoomSize"
>
㎡
</span>
<br
/>
楼层 {{item.Floor}}
<br
/>
...
...
@@ -366,6 +366,9 @@
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('restaurant.res_bidManage')"
placement=
"top-start"
>
<el-button
type=
"info"
@
click=
"goUrl('HotelPrice',item.ID)"
icon=
"el-icon-document"
circle
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
>
<el-button
type=
"danger"
@
click=
"delRoomList(item.ID)"
icon=
"el-icon-delete"
circle
></el-button>
</el-tooltip>
</td>
</tr>
</table>
...
...
@@ -574,6 +577,28 @@
}
},
err
=>
{})
},
//删除房型
delRoomList
(
ID
){
var
that
=
this
;
that
.
Confirm
(
this
.
$t
(
"tips.shifoushanchu"
),
function
()
{
var
msg
=
{
ProductId
:
ID
};
that
.
apipost
(
"dict_post_HotelProduct_Remove"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
initData
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
null
);
});
},
saveInfo
()
{
this
.
HotelProductTypeList
.
forEach
(
item
=>
{
if
(
this
.
addMsg
.
HotelProductType
==
item
.
Id
)
{
...
...
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