|
@@ -243,7 +243,8 @@
|
|
|
<el-checkbox v-for="( item, index ) in checkOptions " :key="index" :title="item.tips"
|
|
|
:label="item.label" @change="(val) => { topcheckboxChange(val, item.label) }"></el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
- <el-table class="tables" style="font-size:10px" :summary-method="getSummaries" show-summary show-overflow-tooltip :data="tableData" :border="true" size="small" row-class-name="row"
|
|
|
+ <el-table class="tables" style="font-size:10px" :summary-method="getSummaries" show-summary
|
|
|
+ show-overflow-tooltip :data="tableData" :border="true" size="small" row-class-name="row"
|
|
|
cell-class-name="column" :highlight-current-row="true" :fit="true">
|
|
|
|
|
|
<!-- :height="centerheight" -->
|
|
@@ -490,8 +491,7 @@
|
|
|
v-if="CheckBoxListSelect.filter(item => item.cbType == 'Left')[0].cbValues.includes(sheetitem.label)">
|
|
|
<el-table :data="[{ a: 1 }]" border style="width: 100%"
|
|
|
:class="{ 'hiddenElement': (sheetitem.EnLabel == 'visa' || sheetitem.EnLabel == 'bx') ? true : false }">
|
|
|
- <el-table-column
|
|
|
- v-for="(itemsheetone, index) in sheetitem.childList"
|
|
|
+ <el-table-column v-for="(itemsheetone, index) in sheetitem.childList"
|
|
|
:key="index" :prop="itemsheetone.prop" :label="itemsheetone.childLabel">
|
|
|
<!-- eslint-disable-next-line -->
|
|
|
<template slot-scope="scope">
|
|
@@ -561,9 +561,29 @@
|
|
|
</div>
|
|
|
<span
|
|
|
v-else-if="itemcabinone.prop === 'costPerson' || itemcabinone.prop === 'singleQuote'"
|
|
|
- :title="scope.row[itemcabinone.prop]">{{
|
|
|
- scope.row[itemcabinone.prop]
|
|
|
- }}</span>
|
|
|
+ :title="scope.row[itemcabinone.prop]">
|
|
|
+ <span v-if="itemcabinone.prop === 'singleQuote'">
|
|
|
+ <span v-if="itemcabinone.tips">
|
|
|
+ <el-popover placement="top-start"
|
|
|
+ :title="itemcabinone.title" width="200" trigger="hover">
|
|
|
+ <span style="color:green">{{ itemcabinone.tips
|
|
|
+ }}</span>
|
|
|
+ 元/人
|
|
|
+ <span slot="reference">{{ scope.row[itemcabinone.prop]
|
|
|
+ }}</span>
|
|
|
+ </el-popover>
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ <el-popover placement="top-start"
|
|
|
+ :title="itemcabinone.title" width="200" trigger="hover">
|
|
|
+ <span style="color: red">暂无!</span>
|
|
|
+ <span slot="reference">{{ scope.row[itemcabinone.prop]
|
|
|
+ }}</span>
|
|
|
+ </el-popover>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ <span v-else>{{ scope.row[itemcabinone.prop] }}</span>
|
|
|
+ </span>
|
|
|
<span v-else-if="itemcabinone.prop === 'totalCost'"
|
|
|
:title="scope.row[itemcabinone.prop]">{{
|
|
|
(scope.row['toll'] * scope.row['costPerson']).toFixed(2)
|
|
@@ -1399,7 +1419,9 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
childLabel: '单人报价(CNY)',
|
|
|
- prop: 'singleQuote'
|
|
|
+ prop: 'singleQuote',
|
|
|
+ title: '报批(单人经济舱总报价):',
|
|
|
+ tips: '这是一个tips',
|
|
|
},
|
|
|
{
|
|
|
childLabel: '总报价(CNY)',
|
|
@@ -1443,7 +1465,9 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
childLabel: '单人报价(CNY)',
|
|
|
- prop: 'singleQuote'
|
|
|
+ prop: 'singleQuote',
|
|
|
+ title: '报批(单人经济舱总报价):',
|
|
|
+ tips: '这是一个tips',
|
|
|
},
|
|
|
{
|
|
|
childLabel: '总报价(CNY)',
|
|
@@ -1487,7 +1511,9 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
childLabel: '单人报价(CNY)',
|
|
|
- prop: 'singleQuote'
|
|
|
+ prop: 'singleQuote',
|
|
|
+ title: '报批(单人公务舱总报价):',
|
|
|
+ tips: '这是一个tips',
|
|
|
},
|
|
|
{
|
|
|
childLabel: '总报价(CNY)',
|
|
@@ -1531,7 +1557,9 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
childLabel: '单人报价(CNY)',
|
|
|
- prop: 'singleQuote'
|
|
|
+ prop: 'singleQuote',
|
|
|
+ title: '报批(单人公务舱总报价):',
|
|
|
+ tips: '这是一个tips',
|
|
|
},
|
|
|
{
|
|
|
childLabel: '总报价(CNY)',
|
|
@@ -1575,7 +1603,9 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
childLabel: '单人报价(CNY)',
|
|
|
- prop: 'singleQuote'
|
|
|
+ prop: 'singleQuote',
|
|
|
+ title: '报批(单人公务舱总报价):',
|
|
|
+ tips: '这是一个tips',
|
|
|
},
|
|
|
{
|
|
|
childLabel: '总报价(CNY)',
|
|
@@ -1620,7 +1650,9 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
childLabel: '单人报价(CNY)',
|
|
|
- prop: 'singleQuote'
|
|
|
+ prop: 'singleQuote',
|
|
|
+ title: '报批(单人经济舱总报价):',
|
|
|
+ tips: '这是一个tips',
|
|
|
},
|
|
|
{
|
|
|
childLabel: '总报价(CNY)',
|
|
@@ -1690,7 +1722,9 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
childLabel: '单人报价(CNY)',
|
|
|
- prop: 'singleQuote'
|
|
|
+ prop: 'singleQuote',
|
|
|
+ title: '报批(单人经济舱总报价):',
|
|
|
+ tips: '这是一个tips',
|
|
|
},
|
|
|
{
|
|
|
childLabel: '总报价(CNY)',
|
|
@@ -1734,7 +1768,9 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
childLabel: '单人报价(CNY)',
|
|
|
- prop: 'singleQuote'
|
|
|
+ prop: 'singleQuote',
|
|
|
+ title: '报批(单人经济舱总报价):',
|
|
|
+ tips: '这是一个tips',
|
|
|
},
|
|
|
{
|
|
|
childLabel: '总报价(CNY)',
|
|
@@ -1778,7 +1814,9 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
childLabel: '单人报价(CNY)',
|
|
|
- prop: 'singleQuote'
|
|
|
+ prop: 'singleQuote',
|
|
|
+ title: '报批(单人公务舱总报价):',
|
|
|
+ tips: '这是一个tips',
|
|
|
},
|
|
|
{
|
|
|
childLabel: '总报价(CNY)',
|
|
@@ -1822,7 +1860,9 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
childLabel: '单人报价(CNY)',
|
|
|
- prop: 'singleQuote'
|
|
|
+ prop: 'singleQuote',
|
|
|
+ title: '报批(单人公务舱总报价):',
|
|
|
+ tips: '这是一个tips',
|
|
|
},
|
|
|
{
|
|
|
childLabel: '总报价(CNY)',
|
|
@@ -1866,7 +1906,9 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
childLabel: '单人报价(CNY)',
|
|
|
- prop: 'singleQuote'
|
|
|
+ prop: 'singleQuote',
|
|
|
+ title: '报批(单人公务舱总报价):',
|
|
|
+ tips: '这是一个tips',
|
|
|
},
|
|
|
{
|
|
|
childLabel: '总报价(CNY)',
|
|
@@ -1911,7 +1953,9 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
childLabel: '单人报价(CNY)',
|
|
|
- prop: 'singleQuote'
|
|
|
+ prop: 'singleQuote',
|
|
|
+ title: '报批(单人经济舱总报价):',
|
|
|
+ tips: '这是一个tips',
|
|
|
},
|
|
|
{
|
|
|
childLabel: '总报价(CNY)',
|
|
@@ -2969,6 +3013,31 @@ export default {
|
|
|
return x.type == "GongZa"
|
|
|
})
|
|
|
|
|
|
+ var SumAirJJC = baoPi.filter(x => {
|
|
|
+ return x.type == "SumAirJJC"
|
|
|
+ })
|
|
|
+
|
|
|
+ var SumAirGWC = baoPi.filter(x => {
|
|
|
+ return x.type == "SumAirGWC"
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
+ if (SumAirJJC.length > 0) {
|
|
|
+ for (var i = 0; i < that.cabinDatal.length; i++) {
|
|
|
+ if (that.cabinDatal[i].label.indexOf('经济舱') != -1) {
|
|
|
+ that.cabinDatal[i].childList[3].tips = SumAirJJC[0].price
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ if (SumAirGWC.length > 0) {
|
|
|
+ for (var i = 0; i < that.cabinDatal.length; i++) {
|
|
|
+ if (that.cabinDatal[i].label.indexOf('公务舱') != -1) {
|
|
|
+ that.cabinDatal[i].childList[3].tips = SumAirGWC[0].price
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
if (Meals.length > 0) {
|
|
|
that.ShowBaoPi.push(Meals[0]);
|
|
|
}
|
|
@@ -2979,6 +3048,7 @@ export default {
|
|
|
that.ShowBaoPi.push(GongZa[0]);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
} else {
|
|
|
for (var m = 0; m < that.sheetDatal.length; m++) {
|
|
|
if (that.sheetDatal[m].childList[0].tips) {
|
|
@@ -4834,7 +4904,8 @@ export default {
|
|
|
.czbtn {
|
|
|
width: 70px;
|
|
|
}
|
|
|
-.tables .el-textarea{
|
|
|
+
|
|
|
+.tables .el-textarea {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
@@ -4855,10 +4926,11 @@ export default {
|
|
|
display: none;
|
|
|
}
|
|
|
|
|
|
-.form-ss .el-checkbox__label{
|
|
|
+.form-ss .el-checkbox__label {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
-.tables .el-input--mini{
|
|
|
+
|
|
|
+.tables .el-input--mini {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
</style>
|