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

页面修改

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