Commit 41a504bc authored by 华国豪's avatar 华国豪 🙄
parents 749e4f09 1e4ce3cd
...@@ -1302,7 +1302,7 @@ export default { ...@@ -1302,7 +1302,7 @@ export default {
{ {
field: "CDIncome", field: "CDIncome",
// formatter: this.moneyFormat, // formatter: this.moneyFormat,
title: "冲抵收入", title: "挂账支出",
width: 90, width: 90,
titleAlign: "left", titleAlign: "left",
columnAlign: "right", columnAlign: "right",
......
...@@ -490,6 +490,7 @@ ...@@ -490,6 +490,7 @@
LeaderName: "", //领队名称 LeaderName: "", //领队名称
GuideName: "", //导游名称 GuideName: "", //导游名称
IsEditHotelPeople:0,//是否有修改人数权限[0-不能修改,1-可以修改] IsEditHotelPeople:0,//是否有修改人数权限[0-不能修改,1-可以修改]
IsCombine:false,//是否是合团,true-是合团,false-不是合团
} }
}, },
components: { components: {
...@@ -701,7 +702,8 @@ ...@@ -701,7 +702,8 @@
this.loading = true; this.loading = true;
this.apipost('dmcstatistics_get_GetHotelStaticsDetail_V2', { this.apipost('dmcstatistics_get_GetHotelStaticsDetail_V2', {
TCIDs: this.$route.query.id, TCIDs: this.$route.query.id,
NewCombinationNum: this.$route.query.NewCombinationNum NewCombinationNum: this.$route.query.NewCombinationNum,
IsCombine:this.IsCombine
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.IsOperation = res.data.data.IsOperation; this.IsOperation = res.data.data.IsOperation;
...@@ -928,6 +930,7 @@ ...@@ -928,6 +930,7 @@
this.TCNUM = this.$route.query.TCNUM; this.TCNUM = this.$route.query.TCNUM;
this.flightTotal = this.$route.query.flightTotal; this.flightTotal = this.$route.query.flightTotal;
this.GuestNum = this.$route.query.GuestNum; this.GuestNum = this.$route.query.GuestNum;
this.IsCombine=this.$route.query.IsCombine;
let width = window.innerWidth - 50; let width = window.innerWidth - 50;
let height = window.innerHeight - 65 - 55; let height = window.innerHeight - 65 - 55;
this.boxHeight = height; this.boxHeight = height;
......
...@@ -1473,20 +1473,7 @@ ...@@ -1473,20 +1473,7 @@
<el-input v-model='addMsg.FSeatNum' @input="getNumber()"></el-input> <el-input v-model='addMsg.FSeatNum' @input="getNumber()"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4">
<!--<el-form-item label="单地接数量" prop="AirticketNum">
<el-input v-model='addMsg.AirticketNum' @keyup.native="checkInteger(addMsg,'AirticketNum')" @input='getTotalPrice();getHouseNo()'></el-input>
</el-form-item>-->
</el-col>
<el-col :span="8"> <el-col :span="8">
<!-- <el-form-item label="可退景点">
<el-select filterable multiple class='multiple_input' v-model='addMsg.ScenicRefundArr'
:placeholder="$t('pub.pleaseSel')" @change='ScenicRefundMethods'>
<el-option v-for='item in ScenicRefundList' :label='item.ScenicName' :value='item.Id'
:key='item.ScenicName'>
</el-option>
</el-select>
</el-form-item> -->
<div class="clearfix"> <div class="clearfix">
<div class="leftSetInfo"> <div class="leftSetInfo">
<span class="GO_Title">可退景点</span> <span class="GO_Title">可退景点</span>
...@@ -1514,7 +1501,7 @@ ...@@ -1514,7 +1501,7 @@
{{item.RefundMoney}} {{item.RefundMoney}}
</td> </td>
<td> <td>
<el-input class="w80" @keyup.native="checkInteger(item,'Number')" @change="getGOScenictWO" <el-input class="w80" @keyup.native="checkInteger(item,'Number'),CheckNum(item)" @change="getGOScenictWO"
v-model="item.Number"></el-input> v-model="item.Number"></el-input>
</td> </td>
<td> <td>
...@@ -3560,7 +3547,15 @@ ...@@ -3560,7 +3547,15 @@
} }
}) })
}, },
//验证输入人数
CheckNum(item){
let TotalNum = parseInt(this.addMsg.ManNum)+parseInt(this.addMsg.ChirdNoNeedBedNum)+
parseInt(this.addMsg.ChirdNeedBedNum)+parseInt(this.addMsg.BabyNum)+parseInt(this.addMsg.OldPeopleNum)+parseInt(this.addMsg.AirticketNum);
if(item.Number>TotalNum){
this.Error('不能超过总人数');
item.Number=0;
}
},
platformOrderMethods() { platformOrderMethods() {
if (this.addMsg.PlatformOrder == "") { if (this.addMsg.PlatformOrder == "") {
this.addMsg.MinOrderPrice = 0; this.addMsg.MinOrderPrice = 0;
...@@ -4476,22 +4471,6 @@ ...@@ -4476,22 +4471,6 @@
return; return;
} }
// if (Number(this.addMsg.ChirdNeedBedNum) > Number(this.addMsg.ChirdNum)) {
// this.$message.warning("儿童占床不能大于儿童数!");
// return;
// }
// if (
// Number(this.addMsg.ChirdNum) -
// Number(this.addMsg.ChirdNeedBedNum) +
// Number(this.addMsg.BabyNum) >
// Number(this.addMsg.ManNum) +
// Number(this.addMsg.OldPeopleNum) +
// Number(this.addMsg.ChirdNeedBedNum)
// ) {
// this.$message.warning("儿童占床数量不足!");
// return;
// }
this.addMsg.TCID = this.addObj.TCID; this.addMsg.TCID = this.addObj.TCID;
this.addMsg.GuestNum = this.addMsg.GuestNum =
Number(this.addMsg.ManNum) + Number(this.addMsg.ManNum) +
......
...@@ -843,6 +843,7 @@ ...@@ -843,6 +843,7 @@
'NewCombinationNum': outItem.NewCombinationNum, 'NewCombinationNum': outItem.NewCombinationNum,
'LeaderName': obj.LeaderName, 'LeaderName': obj.LeaderName,
'GuideName': obj.GuideName, 'GuideName': obj.GuideName,
'IsCombine':outItem.PriceCommonList.length>1,//是否是合团
blank: 'y', blank: 'y',
tab: title tab: title
} }
......
...@@ -549,7 +549,7 @@ ...@@ -549,7 +549,7 @@
<div class="TPright"> <div class="TPright">
<el-form-item prop="ChildNoNeedPrice"> <el-form-item prop="ChildNoNeedPrice">
<el-input placeholder="请输入" class="w190 ComSeat" v-model="priceData.ChildNoNeedPrice" <el-input placeholder="请输入" class="w190 ComSeat" v-model="priceData.ChildNoNeedPrice"
@keyup.native="checkInteger(priceData,'ChildNoNeedPrice')"> @keyup.native="checkInteger(priceData,'ChildNoNeedPrice',true)">
<template slot="prepend">儿童不占床</template> <template slot="prepend">儿童不占床</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
......
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