Commit bc2e7d57 authored by 黄奎's avatar 黄奎

酒店详情修改

parent 549434f4
......@@ -226,7 +226,7 @@
<el-tooltip class="item" effect="dark" content="添加" placement="top-start">
<el-button @click='AddHotel(item,subIndex)' icon="iconfont icon-tianjia" type="primary"></el-button>
</el-tooltip>
<el-tooltip v-if="subIndex>0" class="item" effect="dark" content="删除" placement="top-start">
<el-tooltip v-if="item.HotelOrderList.length>1" class="item" effect="dark" content="删除" placement="top-start">
<el-button type="primary" icon="iconfont icon-shanchu" @click='DeleteHotel(item,subIndex)'>
</el-button>
</el-tooltip>
......@@ -315,6 +315,7 @@
}, err => {})
} else {
item.HotelOrderList.splice(subIndex, 1);
that.saveList(0);
}
});
},
......
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