|
@@ -72,22 +72,26 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="createTime" label="SGR(价格/币种/数量)" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- {{ scope.row.singlePrice | townum }} / {{ scope.row.singleCurrency }} / {{ scope.row.singleQuantity }}
|
|
|
+ {{ scope.row.singlePrice | townum }} / {{ scope.row.singleCurrency }} / {{
|
|
|
+ scope.row.singleQuantity }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="createTime" label="TBR(价格/币种/数量)" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- {{ scope.row.doublePrice | townum }} / {{ scope.row.doubleCurrency }} / {{ scope.row.doubleQuantity }}
|
|
|
+ {{ scope.row.doublePrice | townum }} / {{ scope.row.doubleCurrency }} / {{
|
|
|
+ scope.row.doubleQuantity }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="createTime" label="JS/ES(价格/币种/数量)" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- {{ scope.row.suitePrice | townum }} / {{ scope.row.suiteCurrency }} / {{ scope.row.suiteQuantity }}
|
|
|
+ {{ scope.row.suitePrice | townum }} / {{ scope.row.suiteCurrency }} / {{
|
|
|
+ scope.row.suiteQuantity }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="createTime" label="SUITE(价格/币种/数量)" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- {{ scope.row.otherPrice | townum }} / {{ scope.row.otherCurrency }} / {{ scope.row.otherQuantity }}
|
|
|
+ {{ scope.row.otherPrice | townum }} / {{ scope.row.otherCurrency }} / {{
|
|
|
+ scope.row.otherQuantity }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="createUserName" label="查询人" width="80">
|
|
@@ -2954,20 +2958,20 @@ export default {
|
|
|
|
|
|
if (column.label == 'B' || column.label == 'L' || column.label == 'D' || column.label == 'EF' || column.label == 'TE' || column.label == 'T/G T' || column.label == 'P/C' || column.label == 'DRV T' || column.label == 'DRV T') {
|
|
|
that.lableSetPrice(column.label, (sums[index] * that.peopleNumber).toFixed(2), (sums[index]).toFixed(2));
|
|
|
- prices[index] = '共' + (sums[index] * that.peopleNumber).toFixed(2) + ' ' + this.AGroupCostParameter.currency + '\r\n人均' + (sums[index]).toFixed(2) + " " + this.AGroupCostParameter.currency //sums[index] + '(' + this.AGroupCostParameter.currency + ')' + ' 人均(' + sums[index] + ')';
|
|
|
+ prices[index] = '共' + (sums[index] * that.peopleNumber).toFixed(2) + ' ' + this.getCurr + '\r\n人均' + (sums[index]).toFixed(2) + " " + this.getCurr //sums[index] + '(' + this.getCurr + ')' + ' 人均(' + sums[index] + ')';
|
|
|
}
|
|
|
else if (column.label == 'SGR' || column.label == 'JS/ES' || column.label == 'SUITE' || column.label == 'TBR') {
|
|
|
if (column.label == 'TBR') {
|
|
|
that.lableSetPrice(column.label, (sums[index]).toFixed(2), (sums[index] / 2).toFixed(2));
|
|
|
- prices[index] = '共' + (sums[index]).toFixed(2) + ' ' + this.AGroupCostParameter.currency + '\r\n人均' + (sums[index] / 2).toFixed(2) + " " + this.AGroupCostParameter.currency
|
|
|
+ prices[index] = '共' + (sums[index]).toFixed(2) + ' ' + this.getCurr + '\r\n人均' + (sums[index] / 2).toFixed(2) + " " + this.getCurr
|
|
|
} else {
|
|
|
that.lableSetPrice(column.label, (sums[index]).toFixed(2), (sums[index]).toFixed(2));
|
|
|
- prices[index] = '共' + (sums[index]).toFixed(2) + ' ' + this.AGroupCostParameter.currency + '\r\n人均' + (sums[index]).toFixed(2) + " " + this.AGroupCostParameter.currency
|
|
|
+ prices[index] = '共' + (sums[index]).toFixed(2) + ' ' + this.getCurr + '\r\n人均' + (sums[index]).toFixed(2) + " " + this.getCurr
|
|
|
}
|
|
|
}
|
|
|
else {
|
|
|
that.lableSetPrice(column.label, sums[index].toFixed(2), (sums[index] / that.peopleNumber).toFixed(2));
|
|
|
- prices[index] = '共' + sums[index].toFixed(2) + ' ' + this.AGroupCostParameter.currency + '\r\n人均' + (sums[index] / that.peopleNumber).toFixed(2) + " " + this.AGroupCostParameter.currency //sums[index] + '(' + this.AGroupCostParameter.currency + ')' + ' 人均(' + sums[index] + ')';
|
|
|
+ prices[index] = '共' + sums[index].toFixed(2) + ' ' + this.getCurr + '\r\n人均' + (sums[index] / that.peopleNumber).toFixed(2) + " " + this.getCurr //sums[index] + '(' + this.getCurr + ')' + ' 人均(' + sums[index] + ')';
|
|
|
sums[index] = parseFloat((sums[index] / that.peopleNumber).toFixed(2));
|
|
|
}
|
|
|
|
|
@@ -2990,15 +2994,20 @@ export default {
|
|
|
|
|
|
if (column.label == 'B' || column.label == 'L' || column.label == 'D' || column.label == 'EF' || column.label == 'TE' || column.label == 'T/G T' || column.label == 'P/C' || column.label == 'DRV T' || column.label == 'DRV T') {
|
|
|
BUpdate.push({ label: column.label, total: (sums1[index] * that.BGroupCostParameter.costTypenumber).toFixed(2), single: (sums1[index]).toFixed(2) });
|
|
|
- prices[index] = 'A段费用' + prices[index] + '\r\nB段费用共' + (sums1[index] * that.BGroupCostParameter.costTypenumber).toFixed(2) + " " + this.AGroupCostParameter.currency + '\r\n人均' + (sums1[index]).toFixed(2) + " " + this.AGroupCostParameter.currency //sums[index] + '(' + this.AGroupCostParameter.currency + ')' + ' 人均(' + sums[index] + ')';
|
|
|
+ prices[index] = 'A段费用' + prices[index] + '\r\nB段费用共' + (sums1[index] * that.BGroupCostParameter.costTypenumber).toFixed(2) + " " + this.getCurr + '\r\n人均' + (sums1[index]).toFixed(2) + " " + this.getCurr //sums[index] + '(' + this.getCurr + ')' + ' 人均(' + sums[index] + ')';
|
|
|
}
|
|
|
else if (column.label == 'SGR' || column.label == 'JS/ES' || column.label == 'SUITE' || column.label == 'TBR') {
|
|
|
- BUpdate.push({ label: column.label, total: (sums1[index]).toFixed(2), single: (sums1[index]).toFixed(2) });
|
|
|
- prices[index] = 'A段费用' + prices[index] + '\r\nB段费用共' + (sums1[index]).toFixed(2) + " " + this.AGroupCostParameter.currency + '\r\n人均' + (sums1[index]).toFixed(2) + " " + this.AGroupCostParameter.currency //sums[index] + '(' + this.AGroupCostParameter.currency + ')' + ' 人均(' + sums[index] + ')';
|
|
|
+ if (column.label == 'TBR') {
|
|
|
+ BUpdate.push({ label: column.label, total: (sums1[index]).toFixed(2), single: (sums1[index] / 2).toFixed(2) });
|
|
|
+ prices[index] = 'A段费用' + prices[index] + '\r\nB段费用共' + (sums1[index]).toFixed(2) + " " + this.getCurr + '\r\n人均' + (sums1[index] / 2).toFixed(2) + " " + this.getCurr //sums[index] + '(' + this.getCurr + ')' + ' 人均(' + sums[index] + ')';
|
|
|
+ } else {
|
|
|
+ BUpdate.push({ label: column.label, total: (sums1[index]).toFixed(2), single: (sums1[index]).toFixed(2) });
|
|
|
+ prices[index] = 'A段费用' + prices[index] + '\r\nB段费用共' + (sums1[index]).toFixed(2) + " " + this.getCurr + '\r\n人均' + (sums1[index]).toFixed(2) + " " + this.getCurr //sums[index] + '(' + this.getCurr + ')' + ' 人均(' + sums[index] + ')';
|
|
|
+ }
|
|
|
}
|
|
|
else {
|
|
|
BUpdate.push({ label: column.label, total: sums1[index].toFixed(2), single: (sums1[index] / that.BGroupCostParameter.costTypenumber).toFixed(2) });
|
|
|
- prices[index] = 'A段费用' + prices[index] + '\r\nB段费用共' + sums1[index].toFixed(2) + " " + this.AGroupCostParameter.currency + '\r\n人均' + (sums1[index] / that.BGroupCostParameter.costTypenumber).toFixed(2) + " " + this.AGroupCostParameter.currency //sums[index] + '(' + this.AGroupCostParameter.currency + ')' + ' 人均(' + sums[index] + ')';
|
|
|
+ prices[index] = 'A段费用' + prices[index] + '\r\nB段费用共' + sums1[index].toFixed(2) + " " + this.getCurr + '\r\n人均' + (sums1[index] / that.BGroupCostParameter.costTypenumber).toFixed(2) + " " + this.getCurr //sums[index] + '(' + this.getCurr + ')' + ' 人均(' + sums[index] + ')';
|
|
|
sums1[index] = ((sums1[index] / that.BGroupCostParameter.costTypenumber).toFixed(2));
|
|
|
}
|
|
|
|
|
@@ -3026,7 +3035,7 @@ export default {
|
|
|
if (TextfliterList.length == 0) {
|
|
|
texts.push({ label: column.label, text: text });
|
|
|
} else {
|
|
|
- TextfliterList.text = text;
|
|
|
+ TextfliterList[0].text = text;
|
|
|
}
|
|
|
});
|
|
|
this.titleText = texts;
|