Commit a46e4064 authored by 黄奎's avatar 黄奎

酒店修改

parent 71137e35
<template> <template>
<div> <div>
<div style="width: 100%; overflow-x: auto;padding-bottom: 10px; " class="ownScrollbarStyle"> <div style="width: 100%; overflow-x: auto;padding-bottom: 10px; " class="ownScrollbarStyle">
<table border="0" cellspacing="1" cellpadding="0" class="changeHotelDetailsTalbe"> <table border="0" cellspacing="1" cellpadding="0" class="changeHotelDetailsTalbe" v-loading="Loading">
<tr> <tr>
<th colspan="14">酒店信息</th> <th colspan="14">酒店信息</th>
</tr> </tr>
...@@ -102,6 +102,7 @@ ...@@ -102,6 +102,7 @@
TCNUM: '', TCNUM: '',
TCIDs: "", TCIDs: "",
isShowBtn: 0, isShowBtn: 0,
Loading: false,
} }
}, },
methods: { methods: {
...@@ -136,10 +137,12 @@ ...@@ -136,10 +137,12 @@
}) })
}, },
getList() { getList() {
this.Loading = true;
this.apipost('dmcstatistics_get_GetHotelStaticsDetail', { this.apipost('dmcstatistics_get_GetHotelStaticsDetail', {
TCIDs: this.TCIDs, TCIDs: this.TCIDs,
NewCombinationNum: this.TCNUM NewCombinationNum: this.TCNUM
}, res => { }, res => {
this.Loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.DataList = res.data.data.HotelOrderListReport; this.DataList = res.data.data.HotelOrderListReport;
} else { } else {
...@@ -172,6 +175,7 @@ ...@@ -172,6 +175,7 @@
this.getList(); this.getList();
}, },
} }
</script> </script>
<style> <style>
...@@ -209,4 +213,4 @@ ...@@ -209,4 +213,4 @@
text-align: center; text-align: center;
} }
</style> </style>
\ No newline at end of file
...@@ -305,6 +305,9 @@ ...@@ -305,6 +305,9 @@
subItem.HotelId = 0; subItem.HotelId = 0;
subItem.HotelName = ""; subItem.HotelName = "";
subItem.OrderID = 0; subItem.OrderID = 0;
subItem.OrderDetailsList.forEach(childItem=>{
childItem.OrderDetailsId=0;
});
item.HotelOrderList.push(subItem); item.HotelOrderList.push(subItem);
}, },
//删除酒店 //删除酒店
...@@ -492,7 +495,7 @@ ...@@ -492,7 +495,7 @@
}) })
}); });
}) })
this.loading = true this.loading = true;
this.apipost('dmcstatistics_get_SetHotelOrder', this.list, res => { this.apipost('dmcstatistics_get_SetHotelOrder', this.list, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.getList(); this.getList();
......
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