Commit 364aa26f authored by liudong1993's avatar liudong1993
parents 234b3360 cd61ae53
......@@ -587,74 +587,82 @@
</p>
<el-popover width="900" trigger="click" popper-class="TC_tripDetails">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="_color_666" style="text-align: center">
<th width="60">{{ $t("Airticket.Air_segment") }}</th>
<th width="80">{{ $t("system.query_flightNum") }}</th>
<th width="150">{{ $t("system.ph_flightTime") }}</th>
<th width="80">{{ $t("system.query_arrivalTime") }}</th>
<th width="100">{{ $t("system.query_stopCity") }}</th>
</tr>
<tr v-for="(fItem, fIndex) in item.flightList" :key="fIndex" style="text-align: center">
<td class="_d_name _color_666">
<span v-if="fIndex == 0">{{ $t("Airticket.Air_go") }}</span>
<span v-else-if="fIndex == item.flightList.length - 1">{{
<template v-for="(nItem,newIndex) in item.newFlightList">
<tr class="_color_666" style="text-align: center" :key="`hf_`+newIndex">
<th width="60">{{ $t("Airticket.Air_segment") }}</th>
<th width="80">{{ $t("system.query_flightNum") }}</th>
<th width="150">{{ $t("system.ph_flightTime") }}</th>
<th width="80">{{ $t("system.query_arrivalTime") }}</th>
<th width="100">{{ $t("system.query_stopCity") }}</th>
</tr>
<tr v-for="(fItem, fIndex) in nItem.flightList" :key="`hd_`+newIndex+`d_`+fIndex" style="text-align: center">
<td class="_d_name _color_666">
<span v-if="fIndex == 0">{{ $t("Airticket.Air_go") }}</span>
<span v-else-if="fIndex == item.flightList.length - 1">{{
$t("Airticket.Air_returnTrip")
}}</span>
<span
v-else-if="fIndex > 0 && fIndex != item.flightList.length - 1">{{ $t("Airticket.Air_transit") }}</span>
</td>
<td>
<div>{{ fItem.Flight_number }}</div>
<div style="margin-top: 5px">{{ fItem.AlName }}</div>
</td>
<td>
<div>{{ fItem.FlightDate }} {{ fItem.Departure_time }}</div>
<div style="margin-top: 5px">
<span v-if="fItem.DIATA">({{ fItem.DIATA }})</span>
{{ fItem.dName }}
</div>
</td>
<td>
<div>
{{ fItem.FlightArrivalTime }} {{ fItem.Arrival_time }}
</div>
<div style="margin-top: 5px">
<span v-if="fItem.AIATA">({{ fItem.AIATA }})</span>
{{ fItem.aName }}
</div>
</td>
<td>
<template
v-if="fItem.StopoverIATA">({{ fItem.StopoverIATA }})</template>{{ fItem.StopoverName }}
</td>
</tr>
<span
v-else-if="fIndex > 0 && fIndex != item.flightList.length - 1">{{ $t("Airticket.Air_transit") }}</span>
</td>
<td>
<div>{{ fItem.Flight_number }}</div>
<div style="margin-top: 5px">{{ fItem.AlName }}</div>
</td>
<td>
<div>{{ fItem.FlightDate }} {{ fItem.Departure_time }}</div>
<div style="margin-top: 5px">
<span v-if="fItem.DIATA">({{ fItem.DIATA }})</span>
{{ fItem.dName }}
</div>
</td>
<td>
<div>
{{ fItem.FlightArrivalTime }} {{ fItem.Arrival_time }}
</div>
<div style="margin-top: 5px">
<span v-if="fItem.AIATA">({{ fItem.AIATA }})</span>
{{ fItem.aName }}
</div>
</td>
<td>
<template
v-if="fItem.StopoverIATA">({{ fItem.StopoverIATA }})</template>{{ fItem.StopoverName }}
</td>
</tr>
</template>
</table>
<div class="FlightDiv-TCL" slot="reference">
<template v-if="item.UseFlightType == 0">
<div v-for="subItem in item.flightList" slot="reference" :key="subItem.subCode"
class="TCL-flighInfoList">
<span class="travelnowrap">
<span class="TCL-FlightNumber">{{
<template v-for="(nItem,newIndex) in item.newFlightList">
<div v-for="(subItem) in nItem.flightList" slot="reference" :key="`f_`+newIndex+`_`+subItem.ID"
class="TCL-flighInfoList">
<span class="travelnowrap">
<span class="TCL-FlightNumber">{{
subItem.Flight_number
}}</span>
<span><template v-if="subItem.DIATA">({{ subItem.DIATA }})</template>
<template v-else>({{ subItem.dName }})</template></span>
{{ subItem.DepartureName }}
{{
<span><template v-if="subItem.DIATA">({{ subItem.DIATA }})</template>
<template v-else>({{ subItem.dName }})</template></span>
{{ subItem.DepartureName }}
{{
subItem.StopoverName == ""
? ""
: "-(" + subItem.StopoverIATA + ")" + subItem.StopoverName
}}
<template v-if="subItem.ArrivalCityName">
<span v-if="subItem.AIATA"> -({{ subItem.AIATA }}) </span>
<span v-else>-</span>
{{ subItem.ArrivalCityName }}
<template v-if="!subItem.DIATA">({{ subItem.aName }})</template>
</template>
<span v-if="subItem.FlightState == 1" class="TCL-greenType">【OK】</span>
<span v-else class="TCL-redType">【{{ $t("visa.v_zanding") }}】</span>
</span>
</div>
<template v-if="subItem.ArrivalCityName">
<span v-if="subItem.AIATA"> -({{ subItem.AIATA }}) </span>
<span v-else>-</span>
{{ subItem.ArrivalCityName }}
<template v-if="!subItem.DIATA">({{ subItem.aName }})</template>
</template>
<span v-if="subItem.FlightState == 1" class="TCL-greenType">【OK】</span>
<span v-else class="TCL-redType">【{{ $t("visa.v_zanding") }}】</span>
</span>
</div>
<template v-if="newIndex!=item.newFlightList.length-1">
<div slot="reference" class="TCL-flighInfoList" style="border-bottom:1px solid #e5e5e5">
</div>
</template>
</template>
</template>
<template v-else>
<div v-for="subItem in item.flightList" slot="reference" :key="subItem.subCode"
......@@ -1660,7 +1668,7 @@
</el-dropdown-item>
<el-dropdown-item @click.native="CopyTripAndFeature(item,3)">
机票转团
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item @click.native="ckChangePrice(item,1)">
价格变更
</el-dropdown-item>
......
......@@ -450,49 +450,100 @@
<p class="TCLflight_GO">
<i class="iconfont icon-hangban1"></i>{{$t('visa.v_hangban')}}
</p>
<el-popover width="900" trigger="click" popper-class="TC_tripDetails">
<el-popover width="900" trigger="click" popper-class="TC_tripDetails">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="_color_666" style="text-align:center;">
<th width="60">{{$t('Airticket.Air_segment')}}</th>
<th width="80">{{$t('system.query_flightNum')}}</th>
<th width="150">{{$t('system.ph_flightTime')}}</th>
<th width="80">{{$t('system.query_arrivalTime')}}</th>
<th width="100">{{$t('system.query_stopCity')}}</th>
</tr>
<tr v-for="(ds,din) in item.flightList" :key="din" style="text-align:center;">
<td class="_d_name _color_666">
<span v-if="din==0">{{$t('Airticket.Air_go')}}</span>
<span v-else-if="din==item.flightList.length-1">{{$t('Airticket.Air_returnTrip')}}</span>
<span
v-else-if="din>0 && din!=item.flightList.length-1">{{$t('Airticket.Air_transit')}}</span>
</td>
<td>
<div>{{ds.Flight_number}}</div>
<div style="margin-top:5px;">{{ds.AlName}}</div>
</td>
<td>
<div>{{ds.FlightDate}} {{ds.Departure_time}}</div>
<div style="margin-top:5px;">{{ds.dName}}</div>
</td>
<td>
<div>{{ds.FlightArrivalTime}} {{ds.Arrival_time}}</div>
<div style="margin-top:5px;">{{ds.aName}}</div>
</td>
<td>{{ds.StopoverName}}</td>
</tr>
<template v-for="(nItem,newIndex) in item.newFlightList">
<tr class="_color_666" style="text-align: center" :key="`hf_`+newIndex">
<th width="60">{{ $t("Airticket.Air_segment") }}</th>
<th width="80">{{ $t("system.query_flightNum") }}</th>
<th width="150">{{ $t("system.ph_flightTime") }}</th>
<th width="80">{{ $t("system.query_arrivalTime") }}</th>
<th width="100">{{ $t("system.query_stopCity") }}</th>
</tr>
<tr v-for="(fItem, fIndex) in nItem.flightList" :key="`hd_`+newIndex+`d_`+fIndex" style="text-align: center">
<td class="_d_name _color_666">
<span v-if="fIndex == 0">{{ $t("Airticket.Air_go") }}</span>
<span v-else-if="fIndex == item.flightList.length - 1">{{
$t("Airticket.Air_returnTrip")
}}</span>
<span
v-else-if="fIndex > 0 && fIndex != item.flightList.length - 1">{{ $t("Airticket.Air_transit") }}</span>
</td>
<td>
<div>{{ fItem.Flight_number }}</div>
<div style="margin-top: 5px">{{ fItem.AlName }}</div>
</td>
<td>
<div>{{ fItem.FlightDate }} {{ fItem.Departure_time }}</div>
<div style="margin-top: 5px">
<span v-if="fItem.DIATA">({{ fItem.DIATA }})</span>
{{ fItem.dName }}
</div>
</td>
<td>
<div>
{{ fItem.FlightArrivalTime }} {{ fItem.Arrival_time }}
</div>
<div style="margin-top: 5px">
<span v-if="fItem.AIATA">({{ fItem.AIATA }})</span>
{{ fItem.aName }}
</div>
</td>
<td>
<template
v-if="fItem.StopoverIATA">({{ fItem.StopoverIATA }})</template>{{ fItem.StopoverName }}
</td>
</tr>
</template>
</table>
<div class="FlightDiv-TCL" slot="reference">
<div v-for="subItem in item.flightList" slot="reference" :key="subItem.subCode"
class="TCL-flighInfoList">
<span class="travelnowrap">
<span class="TCL-FlightNumber">{{subItem.Flight_number}}</span>
{{subItem.DepartureName}}
{{subItem.StopoverName==""?"":"-"+subItem.StopoverName}}
{{subItem.ArrivalCityName==""?"":"-"+subItem.ArrivalCityName}}
<span v-if="subItem.FlightState==1" class="TCL-greenType">【OK】</span>
<span v-else class="TCL-redType">{{$t('visa.v_zanding')}}</span>
</span>
</div>
<template v-if="item.UseFlightType == 0">
<template v-for="(nItem,newIndex) in item.newFlightList">
<div v-for="(subItem) in nItem.flightList" slot="reference" :key="`f_`+newIndex+`_`+subItem.ID"
class="TCL-flighInfoList">
<span class="travelnowrap">
<span class="TCL-FlightNumber">{{
subItem.Flight_number
}}</span>
<span><template v-if="subItem.DIATA">({{ subItem.DIATA }})</template>
<template v-else>({{ subItem.dName }})</template></span>
{{ subItem.DepartureName }}
{{
subItem.StopoverName == ""
? ""
: "-(" + subItem.StopoverIATA + ")" + subItem.StopoverName
}}
<template v-if="subItem.ArrivalCityName">
<span v-if="subItem.AIATA"> -({{ subItem.AIATA }}) </span>
<span v-else>-</span>
{{ subItem.ArrivalCityName }}
<template v-if="!subItem.DIATA">({{ subItem.aName }})</template>
</template>
<span v-if="subItem.FlightState == 1" class="TCL-greenType">【OK】</span>
<span v-else class="TCL-redType">【{{ $t("visa.v_zanding") }}】</span>
</span>
</div>
<template v-if="newIndex!=item.newFlightList.length-1">
<div slot="reference" class="TCL-flighInfoList" style="border-bottom:1px solid #e5e5e5">
</div>
</template>
</template>
</template>
<template v-else>
<div v-for="subItem in item.flightList" slot="reference" :key="subItem.subCode"
class="TCL-flighInfoList">
<span class="travelnowrap">
<span class="TCL-FlightNumber">{{
subItem.Flight_number
}}</span>
{{ subItem.aName }} {{ subItem.Departure_time }}
-
{{ subItem.dName }} {{ subItem.Arrival_time }}
<span v-if="subItem.FlightState == 1" class="TCL-greenType">【OK】</span>
<span v-else class="TCL-redType">{{ $t("visa.v_zanding") }}</span>
</span>
</div>
</template>
</div>
</el-popover>
</div>
......
......@@ -54,7 +54,7 @@ export const spotListConfig = {
prop: 'CouponsName',
minWidth: 150,
fixed: 'left',
type: 'link',
// type: 'link',
slotName: 'CouponsName',
filter: {
type: 'input',
......
......@@ -20,11 +20,11 @@
@add-click="addSpot"
>
<!-- 插槽 -->
<template slot="CouponsName" slot-scope="{ row }">
<!-- <template slot="CouponsName" slot-scope="{ row }">
<span class="name-link" @click="editSpot(row)">
{{ row.CouponsName }}
</span>
</template>
</template> -->
<template slot="profit" slot-scope="{ row }">
{{ row.Income-row.CostMoney-row.Refund>0?(row.Income-row.CostMoney-row.Refund).toFixed(2):'-' }}
</template>
......@@ -114,6 +114,12 @@
<!-- <el-button type="text" size="mini" @click="manageData(row)">邮轮</el-button> -->
<!-- <el-button type="text" size="mini" @click="editSpot(row)">编辑</el-button> -->
<div class="row">
<span v-if="row.OrderStatus == 2"
class="c059FF6 mr-xs pointer"
@click="editSpot(row)"
>{{$t('pub.edit')}}</span>
<span v-if="row.OrderStatus == 1 && row.IncomeList.length == 0 && row.RefundList.length == 0 && row.CostList.length == 0"
class="delete-btn mr-xs pointer"
@click="cancelOrder(row)"
......@@ -124,7 +130,7 @@
@click="clickOperation(row,3)"
>{{$t('fnc.shousun')}}</span>
<!-- v-if="row.OrderStatus>1&&!row.OrderStatus!=3&&!row.OrderStatus!=4&&isOP&&userInfo.ActionMenuCode.indexOf('is_correlationOP') != -1" -->
<span
<!-- <span
class="c059FF6 mr-xs pointer"
@click="clickOperation(row,4)"
>{{$t('pub.edit')}}OP</span>
......@@ -132,7 +138,7 @@
<span v-if="row.OrderStatus!=3"
class="c059FF6 mr-xs pointer"
@click="clickOperation(row,5)"
>{{$t('pub.edit')}}{{$t('fnc.a_zongjine')}}</span>
>{{$t('pub.edit')}}{{$t('fnc.a_zongjine')}}</span> -->
<ApplyFoInvoice class="pointer" v-if="userInfo&&userInfo.RB_Group_id==2&&userInfo.EmployeeId==row.EnterID"
:obj="row" :type="7"></ApplyFoInvoice>
......
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