|
@@ -2727,8 +2727,13 @@ export default {
|
|
|
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] + ')';
|
|
|
}
|
|
|
else if (column.label == 'SGR' || column.label == 'JS/ES' || column.label == 'SUITE' || column.label == 'TBR') {
|
|
|
- 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
|
|
|
+ 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
|
|
|
+ }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
|
|
|
+ }
|
|
|
}
|
|
|
else {
|
|
|
that.lableSetPrice(column.label, sums[index].toFixed(2), (sums[index] / that.peopleNumber).toFixed(2));
|