Commit 2325e0fd authored by zhengke's avatar zhengke

修改

parent b20867ac
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment