Commit b9e57662 authored by 黄奎's avatar 黄奎

11

parent ccc18a0f
......@@ -288,6 +288,32 @@
style="cursor: pointer; color: red; text-decoration: underline"> {{ item.BindNum }}</span>
</el-popover>
</span></div>
<p class="travelnowrap" v-if="
(item.LineId == 14 &&
item.HotelOrderListReports &&
item.HotelOrderListReports.length > 0)
">
<el-tooltip class="item" effect="dark" :content="$t('objFill.v101.dianjckjdyudxq')"
placement="top-start">
<el-popover width="980" trigger="click" popper-class="TC_HotelPop">
<commonHotelInfo :HotelObj="item.HotelOrderListReports" :showHotelObj="showHotelObj"
:TCID="item.TCID" :DMCNum="item.DMCNum" :TCNUM="item.TCNUM"
@SetShouPeiShu="SetShouPeiShu(item.TCID, item.ShouPeiStatus)" @success="getControlList()">
</commonHotelInfo>
<span slot="reference"
style="cursor: pointer; text-decoration: underline">{{ $t("salesModule.HotelOrder") }}
<font style="color: #e95252; text-decoration: none">
op{{
item.OpSureHouse == 2
? $t("hotel.hotel_haveBeenConfirmed")
: $t("ground.weiqueren")
}}{{ $t("op.Fenfang") }}
</font>
</span>
</el-popover>
</el-tooltip>
</p>
</div>
</div>
<div class="el-col w_20">
......@@ -545,6 +571,9 @@
</div>
<div class="TC_remarkContent">
<div class="pl">{{$t('pub.pubRemark')}}: {{item.Remark}}</div>
<div class="pl" v-if="item.DMCNum&&item.DMCNum!=''">
{{$t('op.DJBZTH')}}: <font style="color:red;">{{item.DMCNum}}</font>
</div>
</div>
</li>
</ul>
......@@ -568,6 +597,7 @@
<script>
import editTeamInfo from "../TravelTeam/editTeamInfo"; //新增修改包机团
import priceDialog from "../TravelNewQuotation/priceDialog.vue";
import commonHotelInfo from "../../commonPage/commonHotelInfo.vue";
export default {
provide() {
return {
......@@ -576,7 +606,8 @@
},
components: {
editTeamInfo,
priceDialog
priceDialog,
commonHotelInfo,
},
data() {
return {
......@@ -602,6 +633,19 @@
TCNUM: "", //团队编号
LineId: 0,
},
showHotelObj: {
showPrice: true, //是否显示价格
showPay: true, //是否显示支付方式
showZhan: true, //占房时间
showBtnList: false, //是否下载、确认按钮
ShowTaxType: false, //显示税入税别
ShowRebateRatio: false, //显示返佣比列
ShowSupplier: false, //是否显示供应商
showCaozuoTime: true, //操作时间
caiwu: true, //显示财务单据
colspanLength: 6, //跨行
showChange: true, //显示可变更酒店
},
queryDataObj: {
LineList: [], //线路列表
AirlineList: [], //航空公司列表
......@@ -825,15 +869,49 @@
if (res.data.resultCode == 1) {
this.queryDataObj.dataList = res.data.data.pageData;
if (!this.queryDataObj.dataList.length) {
this.queryMsg.noData = true
} else {
this.queryMsg.noData = false
this.queryMsg.noData = false;
this.getPriceHotelResultStatisticsList();
}
this.queryMsg.total = res.data.data.count;
}
}
);
},
getPriceHotelResultStatisticsList() {
let Ids = [];
this.queryDataObj.dataList.forEach((item, index) => {
if (
item.LineId == 14
) {
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.queryDataObj.dataList.forEach((x) => {
DiningStatisticsList.forEach((y) => {
if (x.TCID == y.TCID) {
x.HotelOrderListReports = y.HotelOrderListReports;
}
});
});
this.$forceUpdate();
}
}
);
}
},
//跳转到报名清单
goToOrderList(item) {
this.OpenNewPage('/RegistrationList', {
......
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