Commit 7580016a authored by 吴春's avatar 吴春

1

parent cedd8cf1
......@@ -306,7 +306,7 @@
@change="getcouponPriceList">
<el-option
v-for="(item,index) in queryCommonData.dataList"
:label="item.LineName+item.LtName" :value="item.TCID" :key="index"></el-option>
:label="item.TCNUM+'('+item.TCID+')'" :value="item.TCID" :key="index"></el-option>
</el-select>
</el-form-item>
</el-col>
......@@ -403,52 +403,28 @@
tripDataList: [],
//查询团参数
queryMsg: {
QOutGroupAuditReject: 0, //只查看审核驳回 1
QSendCommissionState: 0, //提成状态 0不限, 1已发放, 2未发放
//出团公司集合
OutBranchIds: [],
pageIndex: 1,
pageSize: 50,
LineId: 0,
PlaceID: 0,
LineIdList: [],
LineteamId: 0,
TCNUM: "",
StartGroupDate: "",
EndGroupDate: "",
OutBranchId: -1,
AirTicketId: 0,
TeamMinNum: "",
TeamMaxNum: "",
CreateBy: 0,
ApplyMinNum: "",
ApplyMaxNum: "",
DayNum: "",
OnlyShowOverTeam: false,
TCState: [1, 3], //去掉默认显示
GroupState: [],
SalePlat: [],
UnionCityId: 0,
SaleBranchId: [],
total: 0,
//是否有数据
noData: false,
currentPage: 1,
//航班配置
FlightState: 0,
//预警团
IsWarning: false,
WarningQuery: "-1",
RateOnDay: "-1",
RateOn: "-1",
TeamType: 0, //一般常规团
IsShowUnion: -1,
TCID: "",
HotelId: 0, //酒店编号
HotelUseTime: "", //酒店使用时间
QBusNumber: "",
PriceTeamType: "", //团队类型
Title: "", //团名
pageSize: 50,
LineId: "-1",
LineTeamId: "-1",
AimPlaceId: "-1",
TCID: "",
StartTime: "",
EndTime: "",
BranchId: "-1",
CityId: "-1",
DaysTrip: "",
SalePlat: [],
minGroupSize: "",
maxGroupSize: "",
minApplySize: "",
maxApplySize: "",
FlightID: "-1",
TCIDList: "",
WarningQuery: "-1",
RateOnDay: "-1",
RateOn: "-1",
Title: "", //团名
},
leaveBtn: "",
......@@ -585,28 +561,35 @@
methods: {
getcouponPriceList(){
console.log("getcouponPriceList进来了");
this.addMsg.couponPriceList = []
this.addMsg.couponPriceLists.forEach(item=>{
let obj = {
TCID: item
}
this.addMsg.couponPriceList.push(obj)
this.queryCommonData.dataList.forEach(dataItem=>{
if(item==dataItem.TCID) {
let obj = {
TCID: dataItem.TCID,
TCNUM: dataItem.TCNUM
}
this.addMsg.couponPriceList.push(obj)
}
});
})
console.log("getcouponPriceList结束了",this.addMsg.couponPriceList);
},
getTravelPrciePageList(){
console.log("getTravelPrciePageList111",this.addMsg);
this.queryCommonData.loading = true;
this.queryMsg.LineId = this.addMsg.lineId
this.queryMsg.LineteamId = this.addMsg.lineteamId
this.queryMsg.StartGroupDate = this.addMsg.effectDate
this.queryMsg.EndGroupDate = this.addMsg.expirationDate
this.queryMsg.LineTeamId = this.addMsg.lineteamId
this.queryMsg.StartTime = this.addMsg.effectDate
this.queryMsg.EndTime = this.addMsg.expirationDate
this.apipost(
"travel_get_GetTravelPrciePageList_V2",
"TaskManagemnet_get_GetSellProductCenter",
this.queryMsg,
res => {
this.queryCommonData.loading = false;
if (this.queryMsg.TCID == "0") {
this.queryMsg.TCID = "";
}
console.log("getTravelPrciePageList",this.queryMsg);
if (res.data.resultCode == 1) {
this.queryCommonData.dataList = res.data.data.pageData;
console.log(this.queryCommonData.dataList,'----')
......@@ -630,6 +613,7 @@
}
this.addMsg = Object.assign({}, item);
if(item.couponPriceLists||item.lineId||item.lineteamId||item.effectDate||item.expirationDate){
console.log("1111111",item);
this.getTravelPrciePageList()
}
},
......
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