Commit 48dac3de authored by 黄奎's avatar 黄奎

页面修改

parent c153124b
......@@ -306,7 +306,7 @@
<!-- 单价/每人 -->
<td>
<template v-if="childIndex==1">
<template v-if="EditBtn">
<template v-if="EditBtn||LineId==90">
<el-input @keyup.native="checkInteger(childItem,'UnitPrice')" class='w60 tcenter'
@input="calculationPrice(subItem)" v-model='childItem.UnitPrice'></el-input>
</template>
......@@ -948,6 +948,10 @@
if (list != null && list.length > 0) {
list.forEach((item, sIndex) => {
item.HotelOrderList.forEach(subItem => {
//默认不更新
if (this.LineId != 14) {
subItem.IsSyncHotelCount = 1;
}
subItem.hotelList.push({
Name: subItem.NewHotelName,
ID: subItem.NewHotelId
......
......@@ -111,7 +111,7 @@
{{personStrToWord(childItem.PeopleType)}}
</td>
<td>
<template v-if="EditBtn">
<template v-if="EditBtn||LineId==90">
<el-input class='w135' v-model='childItem.UsePeopleNum'
@keyup.native="checkInteger(childItem,'UsePeopleNum')" type="text"></el-input>
</template>
......@@ -120,7 +120,7 @@
</template>
</td>
<td>
<template v-if="EditBtn">
<template v-if="EditBtn||LineId==90">
<el-input class='w135' v-model='childItem.PeoplePrice'
@keyup.native="checkPrice(childItem,'PeoplePrice')" type="text"></el-input>
</template>
......
......@@ -91,7 +91,7 @@
@input='calculationPrice(subItem)' @keyup.native="checkInteger(childItem,'Discount')"></el-input>
</td>
<td>
<template v-if="EditBtn">
<template v-if="EditBtn||LineId==90">
<el-input class='w135' v-model='childItem.PeoplePrice'
@keyup.native="checkPrice(childItem,'PeoplePrice')" type="text"></el-input>
</template>
......@@ -107,7 +107,7 @@
{{(childItem.UsePeopleNum-childItem.Discount)*childItem.PeoplePrice}}
</td>
<td>
<template v-if="EditBtn">
<template v-if="EditBtn||LineId==90">
<el-input class='w135' v-model='childItem.DiscountPrice'
@keyup.native="checkPrice(childItem,'DiscountPrice')" type="text"></el-input>
</template>
......@@ -172,6 +172,7 @@
IsOperation: '',
//是否禁用按钮
IsDisabled: false,
LineId:0,//线路编号
}
},
methods: {
......@@ -280,6 +281,11 @@
this.CheckAuth();
this.TCNUM = this.$route.query.TCNUM;
this.flightTotal = this.$route.query.flightTotal;
if(this.$route.query.LineId)
{
this.LineId=this.$route.query.LineId;
}
console.log("this.lineId",this.LineId);
this.GuestNum = this.$route.query.GuestNum;
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