Commit a62d5b04 authored by 黄奎's avatar 黄奎

报价单,车配调整

parent fdde7687
...@@ -129,13 +129,13 @@ ...@@ -129,13 +129,13 @@
<li> <li>
<table class="PT_teamTable"> <table class="PT_teamTable">
<tr> <tr>
<th width="140">{{$t('visa.v_tuanhao')}}</th> <th width="160">{{$t('visa.v_tuanhao')}}</th>
<th>{{$t('Operation.Op_TeamName')}}</th> <th>{{$t('Operation.Op_TeamName')}}</th>
<th width="50">{{$t('admin.admin_personNumber')}}</th> <th width="50">{{$t('admin.admin_personNumber')}}</th>
<th width="120">{{$t('hotel.hotel_StarDate')}}</th> <th width="120">{{$t('hotel.hotel_StarDate')}}</th>
</tr> </tr>
<tr v-for="(item,index) in QueryMsg.TeamInfoData" :key="index"> <tr v-for="(item,index) in QueryMsg.TeamInfoData" :key="index">
<td>{{item.TCNUM}}</td> <td>{{item.TCNUM}}({{item.TCID}})</td>
<td>{{item.Title}}</td> <td>{{item.Title}}</td>
<td>{{item.OfferNumber}}{{$t('hotel.hotel_people')}}</td> <td>{{item.OfferNumber}}{{$t('hotel.hotel_people')}}</td>
<td>{{item.StartDate}} {{item.WeekStr}}</td> <td>{{item.StartDate}} {{item.WeekStr}}</td>
...@@ -143,41 +143,54 @@ ...@@ -143,41 +143,54 @@
</table> </table>
</li> </li>
<li> <li>
<el-select v-if="!isShowAirticketOut" size="small" v-model="msg.checkOutState" @change="msg.pageIndex=1,getList()" :placeholder="$t('objFill.v101.qingxzchuplx')"> <el-select v-model="msg.TCID" @change="msg.pageIndex=1,getList()"
:placeholder="$t('objFill.v101.qingxzchuplx')">
<el-option v-for="(item,index) in QueryMsg.TeamInfoData" :key="index" :label="item.TCNUM+`(`+item.TCID+`)`"
:value="item.TCID"></el-option>
</el-select>
<el-select v-if="!isShowAirticketOut" size="small" v-model="msg.checkOutState"
@change="msg.pageIndex=1,getList()" :placeholder="$t('objFill.v101.qingxzchuplx')">
<el-option :label="$t('advmanager.v_all')" :value="0"></el-option> <el-option :label="$t('advmanager.v_all')" :value="0"></el-option>
<el-option :label="$t('objFill.v101.yichupiao')" :value="1"></el-option> <el-option :label="$t('objFill.v101.yichupiao')" :value="1"></el-option>
<el-option :label="$t('objFill.v101.weichupiao')" :value="2"></el-option> <el-option :label="$t('objFill.v101.weichupiao')" :value="2"></el-option>
</el-select> </el-select>
<input v-if="!isShowAirticketOut" type="button" class="normalBtn" :value="$t('objFill.v101.kaipiao')" @click="openAirticket" /> <input v-if="!isShowAirticketOut" type="button" class="normalBtn" :value="$t('objFill.v101.kaipiao')"
<el-select v-if="isShowAirticketOut" size="small" v-model="checkOutMsg.TicketOutType" :placeholder="$t('objFill.v101.qingxzkpleix')"> @click="openAirticket" />
<el-select v-if="isShowAirticketOut" size="small" v-model="checkOutMsg.TicketOutType"
:placeholder="$t('objFill.v101.qingxzkpleix')">
<el-option :label="$t('objFill.v101.tuanduip')" :value="1"></el-option> <el-option :label="$t('objFill.v101.tuanduip')" :value="1"></el-option>
<el-option :label="$t('objFill.v101.shankep')" :value="2"></el-option> <el-option :label="$t('objFill.v101.shankep')" :value="2"></el-option>
</el-select> </el-select>
<input v-if="isShowAirticketOut" type="button" class="normalBtn" :value="$t('objFill.v101.baocunkaipxxi')" @click="setAirticketGuest" /> <input v-if="isShowAirticketOut" type="button" class="normalBtn" :value="$t('objFill.v101.baocunkaipxxi')"
<input type="button" class="normalBtn" :value="$t('objFill.v101.administrative.daochubaob')" @click="getFlightInfo(0),getCombinTeam()" /> @click="setAirticketGuest" />
<input type="button" class="normalBtn" :value="$t('objFill.v101.administrative.daochubaob')"
@click="getFlightInfo(0),getCombinTeam()" />
<el-tooltip class="item" effect="dark" :content="$t('objFill.v101.baohanjipxxi')" placement="bottom"> <el-tooltip class="item" effect="dark" :content="$t('objFill.v101.baohanjipxxi')" placement="bottom">
<input type="button" class="normalBtn" :value="$t('objFill.v101.daoclkhanb')" @click="getFlightInfo(1),getCombinTeam()" /> <input type="button" class="normalBtn" :value="$t('objFill.v101.daoclkhanb')"
@click="getFlightInfo(1),getCombinTeam()" />
</el-tooltip> </el-tooltip>
<input type="button" class="normalBtn" v-if="isShowGuoji" :value="$t('objFill.v101.zhizuocwdju')" @click="makeFinacelDoc()" /> <input type="button" class="normalBtn" v-if="isShowGuoji" :value="$t('objFill.v101.zhizuocwdju')"
<input type="button" class="normalBtn" :value="$t('objFill.v101.administrative.daochubaob')" @click="exportExcel()" style="display:none;" /> @click="makeFinacelDoc()" />
<input type="button" class="normalBtn" :value="$t('objFill.v101.administrative.daochubaob')"
@click="exportExcel()" style="display:none;" />
</li> </li>
</ul> </ul>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<th v-if="isShowGuoji">{{$t('objFill.guojijp')}} <input type="checkbox" @change="checkAllbox(checkdGuoji,'guoji')" <th v-if="isShowGuoji">{{$t('objFill.guojijp')}} <input type="checkbox"
v-model="checkdGuoji" /></th> @change="checkAllbox(checkdGuoji,'guoji')" v-model="checkdGuoji" /></th>
<th v-if="isShowGuoji">{{$t('objFill.v101.DomesticModule.guoneijp')}} <input type="checkbox" @change="checkAllbox(checkedGuonei,'guonei')" <th v-if="isShowGuoji">{{$t('objFill.v101.DomesticModule.guoneijp')}} <input type="checkbox"
v-model="checkedGuonei" /></th> @change="checkAllbox(checkedGuonei,'guonei')" v-model="checkedGuonei" /></th>
<th v-if="isShowGuoji">{{$t('objFill.v101.guojizhongduan')}} <input type="checkbox" @change="checkAllbox(checkedGJzd,'gjzd')" <th v-if="isShowGuoji">{{$t('objFill.v101.guojizhongduan')}} <input type="checkbox"
v-model="checkedGJzd" /></th> @change="checkAllbox(checkedGJzd,'gjzd')" v-model="checkedGJzd" /></th>
<th v-if="isShowGuoji">{{$t('objFill.shuijin')}} <input type="checkbox" @change="checkAllbox(checkedshuijin,'shuijin')" <th v-if="isShowGuoji">{{$t('objFill.shuijin')}} <input type="checkbox"
v-model="checkedshuijin" /></th> @change="checkAllbox(checkedshuijin,'shuijin')" v-model="checkedshuijin" /></th>
<th v-if="isShowGuoji">{{$t('objFill.v101.shenchan')}} <input type="checkbox" @change="checkAllbox(checkedsc,'shengcang')" <th v-if="isShowGuoji">{{$t('objFill.v101.shenchan')}} <input type="checkbox"
v-model="checkedsc" /></th> @change="checkAllbox(checkedsc,'shengcang')" v-model="checkedsc" /></th>
<th v-if="isShowAirticketOut"> <th v-if="isShowAirticketOut">
{{$t('objFill.v101.chupiao')}} <input type="checkbox" @change="checkAllbox(checkAirticketOut,'checkAirticketOut')" {{$t('objFill.v101.chupiao')}} <input type="checkbox"
v-model="checkAirticketOut" /> @change="checkAllbox(checkAirticketOut,'checkAirticketOut')" v-model="checkAirticketOut" />
</th> </th>
<th>{{$t('objFill.lvkexm')}}</th> <th>{{$t('objFill.lvkexm')}}</th>
<th>{{$t('objFill.shengfenzheng')}}</th> <th>{{$t('objFill.shengfenzheng')}}</th>
...@@ -336,7 +349,8 @@ ...@@ -336,7 +349,8 @@
<el-option :label="$t('objFill.v101.nanhgjitd')" :value="1"></el-option> <el-option :label="$t('objFill.v101.nanhgjitd')" :value="1"></el-option>
</el-select> </el-select>
</span> </span>
<button class="normalBtn" type="primary" @click="getIsSure()">{{$t('objFill.v101.querenhbxxin')}}</button> &nbsp; <button class="normalBtn" type="primary" @click="getIsSure()">{{$t('objFill.v101.querenhbxxin')}}</button>
&nbsp;
<button class="hollowFixedBtn" @click="outerVisible = false">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" @click="outerVisible = false">{{$t('pub.cancelBtn')}}</button>
</div> </div>
</el-dialog> </el-dialog>
...@@ -353,7 +367,8 @@ ...@@ -353,7 +367,8 @@
AirTicketId: 0, AirTicketId: 0,
total: 0, total: 0,
currentPage: 1, currentPage: 1,
checkOutState:0,//出票状态(1-已出票,2-未出票) checkOutState: 0, //出票状态(1-已出票,2-未出票)
TCID: 0,
}, },
QueryMsg: { QueryMsg: {
loading: true, loading: true,
...@@ -425,6 +440,7 @@ ...@@ -425,6 +440,7 @@
}, },
//获取数据 //获取数据
getList() { getList() {
var that = this;
this.QueryMsg.loading = true; this.QueryMsg.loading = true;
this.apipost( this.apipost(
"travel_get_GetAirTicketGuestPageList", "travel_get_GetAirTicketGuestPageList",
...@@ -435,7 +451,7 @@ ...@@ -435,7 +451,7 @@
this.msg.total = res.data.data.count; this.msg.total = res.data.data.count;
this.QueryMsg.dataList = res.data.data.pageData; this.QueryMsg.dataList = res.data.data.pageData;
this.QueryMsg.noData = !this.msg.total > 0; this.QueryMsg.noData = !this.msg.total > 0;
let arrText = [this.$t('pub.man'),this.$t('pub.woman')] let arrText = [that.$t('pub.man'), that.$t('pub.woman')]
this.QueryMsg.dataList.forEach(item => { this.QueryMsg.dataList.forEach(item => {
if (item.Sex == 1) { if (item.Sex == 1) {
item.Sex = arrText[0]; item.Sex = arrText[0];
...@@ -540,15 +556,14 @@ ...@@ -540,15 +556,14 @@
AirTicketId: this.msg.AirTicketId, AirTicketId: this.msg.AirTicketId,
Type: this.checkModule, Type: this.checkModule,
TemplateType: this.TemplateType, TemplateType: this.TemplateType,
checkOutState:this.msg.checkOutState,//出票状态(1-已出票,2-未出票) checkOutState: this.msg.checkOutState, //出票状态(1-已出票,2-未出票)
TCID: this.msg.TCID
}; };
var fileName = this.$route.query.flightdate; var fileName = this.$route.query.flightdate;
var TempfileName = "" var TempfileName = ""
this.QueryMsg.TeamInfoData.forEach(item => { this.QueryMsg.TeamInfoData.forEach(item => {
if (TempfileName.length > 0) { if (item.TCID == msg.TCID) {
TempfileName += "/" + item.TCNUM TempfileName += "/" + item.TCNUM
} else {
TempfileName += item.TCNUM
} }
}) })
fileName = fileName + TempfileName fileName = fileName + TempfileName
...@@ -580,7 +595,11 @@ ...@@ -580,7 +595,11 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.QueryMsg.TeamInfoData = res.data.data.resultData; this.QueryMsg.TeamInfoData = res.data.data.resultData;
if (this.QueryMsg.TeamInfoData && this.QueryMsg.TeamInfoData.length > 0) {
this.msg.TCID = this.QueryMsg.TeamInfoData[0].TCID;
}
this.QueryMsg.TempCode = res.data.data.TempCode; this.QueryMsg.TempCode = res.data.data.TempCode;
this.getList();
} }
}, },
err => {} err => {}
...@@ -672,7 +691,7 @@ ...@@ -672,7 +691,7 @@
if (this.isShowGuoji) { if (this.isShowGuoji) {
this.msg.PageSize = 200; this.msg.PageSize = 200;
} }
this.getList();
} }
}; };
......
...@@ -1078,7 +1078,7 @@ ...@@ -1078,7 +1078,7 @@
<div class="Cost_Line"></div> <div class="Cost_Line"></div>
</el-form> </el-form>
</div> </div>
<el-dialog custom-class='w750' :title="dialogDiningTitle" :visible.sync="changMsg.isShowChangeOffer" center modal> <el-dialog custom-class='w1006' :title="dialogDiningTitle" :visible.sync="changMsg.isShowChangeOffer" center modal>
<changeOffer v-if="changMsg.isShowChangeOffer" :qMsg="changMsg" @success="refreshPage" @closeDialog="closeDialog"> <changeOffer v-if="changMsg.isShowChangeOffer" :qMsg="changMsg" @success="refreshPage" @closeDialog="closeDialog">
</changeOffer> </changeOffer>
</el-dialog> </el-dialog>
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
<template v-if="BusObj.BusId > 0"> <template v-if="BusObj.BusId > 0">
<template v-if="BusObj.OrderState == 0"> <template v-if="BusObj.OrderState == 0">
<span style="color:red;">{{$t('objFill.v101.busManagement.weiqrsp')}}</span> <span style="color:red;">{{$t('objFill.v101.busManagement.weiqrsp')}}</span>
<input type="button" class="normalBtn" @click="SureBus(1)" :value="$t('objFill.v101.busManagement.querenspf')" /> <input type="button" class="normalBtn" @click="SureBus(1)" :value="$t('objFill.querenspf')" />
</template> </template>
<template v-if="BusObj.OrderState == 1"> <template v-if="BusObj.OrderState == 1">
<span style="color:green;">{{$t('objFill.yiquerenspf')}}</span> <span style="color:green;">{{$t('objFill.yiquerenspf')}}</span>
......
...@@ -37,6 +37,12 @@ ...@@ -37,6 +37,12 @@
padding-left: 5px !important; padding-left: 5px !important;
} }
.changeOfferTable .el-input-group__append,
.el-input-group__prepend {
background: #fff;
border-bottom: 1px solid #606266;
}
</style> </style>
<template> <template>
...@@ -44,13 +50,13 @@ ...@@ -44,13 +50,13 @@
<div> <div>
<table class="changeOfferTable"> <table class="changeOfferTable">
<tr> <tr>
<td style="width:100px;" class="CP_ComTitle2 CostcomCenter">类别</td> <td style="width:105px;" class="CP_ComTitle2 CostcomCenter">类别</td>
<td style="width:100px;" class="CP_ComTitle2 CostcomCenter">变更类型</td> <td style="width:100px;" class="CP_ComTitle2 CostcomCenter">变更类型</td>
<td style="width:100px;" class="CP_ComTitle2 CostcomCenter">天数</td> <td style="width:100px;" class="CP_ComTitle2 CostcomCenter">天数</td>
<td style="width:100px;" class="CP_ComTitle2 CostcomCenter">原金额</td> <td style="width:100px;" class="CP_ComTitle2 CostcomCenter">原金额</td>
<td style="width:100px;" class="CP_ComTitle2 CostcomCenter">地接金额</td> <td style="width:100px;" class="CP_ComTitle2 CostcomCenter">地接金额</td>
<td style="width:100px;" class="CP_ComTitle2 CostcomCenter">变更值</td> <td style="width:100px;" class="CP_ComTitle2 CostcomCenter">变更值</td>
<td style="width:300px;" class="CP_ComTitle2 CostcomCenter">变更备注</td> <td style="width:500px;" class="CP_ComTitle2 CostcomCenter">变更备注</td>
<td style="width:100px;" class="CP_ComTitle2 CostcomCenter"> <td style="width:100px;" class="CP_ComTitle2 CostcomCenter">
<a style="color:blue;cursor:pointer;" @click="AddOfferObj()">添加</a> <a style="color:blue;cursor:pointer;" @click="AddOfferObj()">添加</a>
</td> </td>
...@@ -84,13 +90,16 @@ ...@@ -84,13 +90,16 @@
<td> <td>
<el-input v-model="item.ChangeValue" style="width:100px;" max="6"></el-input> <el-input v-model="item.ChangeValue" style="width:100px;" max="6"></el-input>
</td> </td>
<td> <td style="padding:5px;text-align:left;">
<el-select v-model="item.ChangeRemarks" :placeholder="$t('objFill.qingxuanzhe')"> <el-input placeholder="请输入内容" v-model="item.ChangeRemarks" class="input-with-select">
<el-select v-model="sChangeRemark" :placeholder="$t('objFill.qingxuanzhe')" @change="selectChange(item)"
slot="prepend">
<el-option v-for="(cItem,cIndex) in changeRemarkList" :key="cIndex" :label="cItem.Name" <el-option v-for="(cItem,cIndex) in changeRemarkList" :key="cIndex" :label="cItem.Name"
:value="cItem.Name"></el-option> :value="cItem.Name"></el-option>
</el-select> </el-select>
</el-input>
<template v-if="item.ChangeType==1"> <template v-if="item.ChangeType==1">
<br/> <br />
<el-select filterable remote :remote-method="(query) => remoteSearchAdGroup(query, item)" <el-select filterable remote :remote-method="(query) => remoteSearchAdGroup(query, item)"
v-model='item.ChangeContent' :placeholder="$t('objFill.qingshurujdmc')" :loading="loading"> v-model='item.ChangeContent' :placeholder="$t('objFill.qingshurujdmc')" :loading="loading">
<el-option v-for="(x) in item.HotelList" :key="x.ID" :label="x.Name" :value='x.Name'> <el-option v-for="(x) in item.HotelList" :key="x.ID" :label="x.Name" :value='x.Name'>
...@@ -119,12 +128,15 @@ ...@@ -119,12 +128,15 @@
loading: false, loading: false,
dataList: [], dataList: [],
changeTypeList: [], //变更类型 changeTypeList: [], //变更类型
changeRemarkList: [ changeRemarkList: [],
sChangeRemark: ""
]
}; };
}, },
methods: { methods: {
selectChange(item) {
console.log("this.sChangeRemark", this.sChangeRemark);
item.ChangeRemarks = this.sChangeRemark;
},
getHotel(subItem, HotelId) { getHotel(subItem, HotelId) {
subItem.HotelList.forEach(x => { subItem.HotelList.forEach(x => {
if (x.Name == HotelId) { if (x.Name == HotelId) {
...@@ -310,7 +322,8 @@ ...@@ -310,7 +322,8 @@
this.apipost("travel_post_GetChangeOfferList", searchParmeters, res => { this.apipost("travel_post_GetChangeOfferList", searchParmeters, res => {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.dataList = res.data.data; var tempArray = res.data.data;
this.dataList = tempArray;
} }
}); });
}, },
......
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