Commit f88917f0 authored by 黄奎's avatar 黄奎

页面修改

parent e989f995
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</template> </template>
</template> </template>
<template v-else> <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"> <table v-loading="changeLoading">
<tr> <tr>
<th width="60"> <th width="60">
...@@ -198,16 +198,37 @@ ...@@ -198,16 +198,37 @@
}, },
//保存酒店订单 //保存酒店订单
SaveHotelOrder(HotelID) { SaveHotelOrder(HotelID) {
console.log("hotelId", HotelID);
var newList=[]; var newList=[];
if (this.ChangeHotelList && this.ChangeHotelList.length > 0) { if (this.ChangeHotelList && this.ChangeHotelList.length > 0) {
this.ChangeHotelList.forEach(item => { this.ChangeHotelList.forEach(item => {
if(item.IsChecked) if(item.IsChecked)
{ {
newList.push(item); 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 => {
this.changeLoading = false;
if (res.data.resultCode == 1) {
this.ChangeHotelList = res.data.data;
} else {
this.Error(res.data.message);
}
},
err => {}
);
}else
{
this.Info("请选择团期!");
}
} }
}, },
mounted() { 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