Commit 8c5bf8d2 authored by 黄奎's avatar 黄奎

页面修改

parent c7be6b26
......@@ -50,7 +50,7 @@
</template>
</template>
<template v-else>
<el-popover width="650" trigger="click" popper-class="Bus_HotelPop" style="display:none;">
<el-popover width="650" trigger="click" popper-class="Bus_HotelPop">
<table v-loading="changeLoading">
<tr>
<th width="60">
......@@ -198,37 +198,33 @@
},
//保存酒店订单
SaveHotelOrder(HotelID) {
var newList=[];
if (this.ChangeHotelList && this.ChangeHotelList.length > 0) {
this.ChangeHotelList.forEach(item => {
if(item.IsChecked)
{
var Nitem=JSON.parse(JSON.stringify(item));
Nitem.NewHotelID=HotelID;
newList.push(Nitem);
}
});
}
if(newList&&newList.length>0)
{
this.apipost("journeyorder_post_SaveWorkHotelOrderService",newList,
res => {
if (res.data.resultCode == 1) {
con
} else {
this.Error(res.data.message);
}
},
err => {}
);
}else
{
this.Info("请选择团期!");
}
var that=this;
this.Confirm("是否要替换选中的酒店?", function () {
var newList = [];
if (that.ChangeHotelList && that.ChangeHotelList.length > 0) {
that.ChangeHotelList.forEach(item => {
if (item.IsChecked) {
var Nitem = JSON.parse(JSON.stringify(item));
Nitem.NewHotelID = HotelID;
newList.push(Nitem);
}
});
}
if (newList && newList.length > 0) {
that.apipost("journeyorder_post_SaveWorkHotelOrderService", newList,
res => {
if (res.data.resultCode == 1) {
that.getList();
} else {
that.Error(res.data.message);
}
},
err => {}
);
} else {
that.Info("请选择团期!");
}
});
}
},
mounted() {
......
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