Commit cbd6c44e authored by 吴春's avatar 吴春

1

parent 1c4b9e14
......@@ -2136,9 +2136,13 @@
)
},
getDiningDetailsList() {
let Ids = this.queryCommonData.dataList.map(x => {
return x.TCID
})
let Ids=[];
this.queryCommonData.dataList.forEach((item,index) => {
if((item.LineID==14 || item.LineID==90|| item.LineID==168||item.LineID==118)){
Ids.push(item.TCID)
}
});
if(Ids&&Ids.length>0){
let msg = [...new Set(Ids)]
this.apipost(
"dmcstatistics_get_GetDiningStatisticsList", {
......@@ -2159,31 +2163,37 @@
}
}
)
}
},
getPriceHotelResultStatisticsList() {
let Ids = this.queryCommonData.dataList.map(x => {
return x.TCID
})
let msg = [...new Set(Ids)]
this.apipost(
"travel_get_GetPriceHotelResultStatisticsList", {
tcids: msg.join(',')
},
res => {
if (res.data.resultCode == 1) {
let DiningStatisticsList = []
DiningStatisticsList = res.data.data
this.queryCommonData.dataList.forEach(x => {
DiningStatisticsList.forEach(y => {
if (x.TCID == y.TCID) {
x.HotelOrderListReports = y.HotelOrderListReports
}
let Ids=[];
this.queryCommonData.dataList.forEach((item,index) => {
if((item.LineID==14 || item.LineID==90|| item.LineID==168||item.LineID==118)){
Ids.push(item.TCID)
}
});
if(Ids&&Ids.length>0){
let msg = [...new Set(Ids)]
this.apipost(
"travel_get_GetPriceHotelResultStatisticsList", {
tcids: msg.join(',')
},
res => {
if (res.data.resultCode == 1) {
let DiningStatisticsList = []
DiningStatisticsList = res.data.data
this.queryCommonData.dataList.forEach(x => {
DiningStatisticsList.forEach(y => {
if (x.TCID == y.TCID) {
x.HotelOrderListReports = y.HotelOrderListReports
}
})
})
})
this.$forceUpdate()
this.$forceUpdate()
}
}
}
)
}
},
getTravelAccountStatus() {
let Ids = this.queryCommonData.dataList.map(x => {
......
......@@ -1565,9 +1565,13 @@
);
},
getPriceHotelResultStatisticsList() {
let Ids = this.queryCommonData.dataList.map(x => {
return x.TCID
})
let Ids=[];
this.queryCommonData.dataList.forEach((item,index) => {
if((item.LineID==14 || item.LineID==90|| item.LineID==168||item.LineID==118)){
Ids.push(item.TCID)
}
});
if(Ids&&Ids.length>0){
let msg = [...new Set(Ids)]
this.apipost(
"travel_get_GetPriceHotelResultStatisticsList", {
......@@ -1588,11 +1592,16 @@
}
}
)
}
},
getDiningDetailsList() {
let Ids = this.queryCommonData.dataList.map(x => {
return x.TCID
})
let Ids=[];
this.queryCommonData.dataList.forEach((item,index) => {
if((item.LineID==14 || item.LineID==90|| item.LineID==168||item.LineID==118)){
Ids.push(item.TCID)
}
});
if(Ids&&Ids.length>0){
let msg = [...new Set(Ids)]
this.apipost(
"dmcstatistics_get_GetDiningStatisticsList", {
......@@ -1613,6 +1622,7 @@
}
}
)
}
},
getDetailsOfRoyalty() {
let Ids = this.queryCommonData.dataList.map(x => {
......
......@@ -1472,9 +1472,13 @@
)
},
getDiningDetailsList() {
let Ids = this.queryCommonData.dataList.map(x => {
return x.TCID
})
let Ids=[];
this.queryCommonData.dataList.forEach((item,index) => {
if((item.LineID==14 || item.LineID==90|| item.LineID==168||item.LineID==118)){
Ids.push(item.TCID)
}
});
if(Ids&&Ids.length>0){
let msg = [...new Set(Ids)]
this.apipost(
"dmcstatistics_get_GetDiningStatisticsList", {
......@@ -1495,6 +1499,7 @@
}
}
)
}
},
getDetailsOfRoyalty() {
let Ids = this.queryCommonData.dataList.map(x => {
......@@ -1997,9 +2002,13 @@
this.queryCommonData.UploadItem = item
},
getPriceHotelResultStatisticsList() {
let Ids = this.queryCommonData.dataList.map(x => {
return x.TCID
})
let Ids=[];
this.queryCommonData.dataList.forEach((item,index) => {
if((item.LineID==14 || item.LineID==90|| item.LineID==168||item.LineID==118)){
Ids.push(item.TCID)
}
});
if(Ids&&Ids.length>0){
let msg = [...new Set(Ids)]
this.apipost(
"travel_get_GetPriceHotelResultStatisticsList", {
......@@ -2020,6 +2029,7 @@
}
}
)
}
},
//保存WORD路劲
UploadAttachment(file) {
......
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