Commit 2902fd79 authored by 黄奎's avatar 黄奎

页面修改

parent ed1e966a
......@@ -23,8 +23,9 @@
text-align: center;
margin-bottom: 10px;
}
.roomResetTable tr td{
padding:5px;
.roomResetTable tr td {
padding: 5px;
}
</style>
......@@ -105,21 +106,22 @@
{{subItem.Name}}
</td>
<td style="width:150px;">
<el-input class='w135 tcenter' maxlength="2" @keyup.native="checkInteger(subItem,'HouseCount')"
v-model='subItem.HouseCount'></el-input>
<el-input class='w135 tcenter' maxlength="2" @keyup.native="checkInteger(subItem,'HouseNum')"
v-model='subItem.HouseNum'></el-input>
</td>
<td style="width:150px;">
<el-input class='w135 tcenter' maxlength="2" @keyup.native="checkInteger(subItem,'HousePeopleNum')"
v-model='subItem.HousePeopleNum'></el-input>
<el-input class='w135 tcenter' maxlength="2" @keyup.native="checkInteger(subItem,'BookNum')"
v-model='subItem.BookNum'>
</el-input>
</td>
</tr>
<tr>
<td colspan="2" style="text-align:right">
<input type="button" class="normalBtn" value="保存">
<input type="button" class="normalBtn" value="保存" @click="BatchHotelOrder()">
</td>
</tr>
</table>
<el-button slot="reference" style="background:#E95252; border-color:#E95252;display:none;" type="primary">
<el-button slot="reference" style="background:#E95252; border-color:#E95252;" type="primary" v-if="CurrentUserInfo.EmployeeId == 615" @click="IsShowMoreUpdate=true">
批量修改酒店
</el-button>
</el-popover>
......@@ -643,36 +645,36 @@
XiaoFeiTaxFee: 0.1,
IsMoreUpdate: 0, //批量上传手配书0-单个上传,1-批量上传
isShowPiliangPop: false, //是否显示批量上传popover
IsShowMoreUpdate:false,
IsShowMoreUpdate: false,
HotelHouseTypeList: [{
Id: 1,
HouseType: 1,
Name: "单间",
HouseCount: 0,
HousePeopleNum: 0
HouseNum: 0,
BookNum: 0
},
{
Id: 2,
HouseType: 2,
Name: "标准间",
HouseCount: 0,
HousePeopleNum: 0
HouseNum: 0,
BookNum: 0
},
{
Id: 3,
HouseType: 3,
Name: "大床间",
HouseCount: 0,
HousePeopleNum: 0
HouseNum: 0,
BookNum: 0
},
{
Id: 4,
HouseType: 4,
Name: "三人间",
HouseCount: 0,
HousePeopleNum: 0
HouseNum: 0,
BookNum: 0
},
{
Id: 5,
HouseType: 5,
Name: "司导间",
HouseCount: 0,
HousePeopleNum: 0
HouseNum: 0,
BookNum: 0
},
]
}
......@@ -683,6 +685,23 @@
commonPHInfo: commonPHlInfo
},
methods: {
//批量修改房间数和房间人
BatchHotelOrder() {
var msg = {
TCID: this.$route.query.id,
OrderDetails: this.HotelHouseTypeList
};
this.apipost('dmcstatistics_get_SetBatchHotelOrderService', msg, res => {
this.loading = false;
this.IsShowMoreUpdate=false;
if (res.data.resultCode == 1) {
this.getList();
this.Success(res.data.message);
} else {
this.Error(res.data.message);
}
}, err => {})
},
MoreUpdate(subItem) {
this.IsMoreUpdate = 1;
},
......@@ -849,11 +868,6 @@
} else {
this.list[this.checkedIndex].HotelOrderList[this.checkedsubIndex].ContractUrl = fileUrl;
}
// this.list.forEach((sItem,sIndex)=>{
// sItem.HotelOrderList.forEach((subItem,subIndex)=>{
// subItem.IsChecked=false;
// });
// });
this.IsMoreUpdate = 0;
this.$forceUpdate()
})
......
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