Commit 1a22de5b authored by 黄奎's avatar 黄奎

页面修改

parent 09ff6cd1
<style> <style>
@import "../../../assets/css/newTravelManager.css"; @import "../../../assets/css/newTravelManager.css";
.CostNewPrice .el-form-item__content, .CostNewPrice .el-form-item__content,
.CostNewPrice .el-form-item__label { .CostNewPrice .el-form-item__label {
line-height: 30px; line-height: 30px;
} }
.CostNewPrice .CP_halfWi { .CostNewPrice .CP_halfWi {
width: 45%; width: 45%;
} }
.CostNewPrice .QuotationFirstDiv1 { .CostNewPrice .QuotationFirstDiv1 {
padding-top: 30px; padding-top: 30px;
} }
...@@ -17,12 +20,26 @@ ...@@ -17,12 +20,26 @@
background-color: #D1EEEE; background-color: #D1EEEE;
white-space: nowrap; white-space: nowrap;
} }
.CostNewTable td {
.CostNewTable {
border-collapse: collapse;
}
.CostNewTable td {
height: 40px; height: 40px;
border: 1px solid #106BAF !important; border: 1px solid #106BAF !important;
border-collapse: collapse;
padding: 0 3px;
}
.CostNewTable .el-input .el-input__inner {
height: 25px !important;
border: none;
border-bottom: 1px solid #606266;
padding-left: 5px !important;
} }
.CP_ComTitle { .CP_ComTitle {
color: #106BAF; color: #106BAF;
} }
...@@ -42,8 +59,6 @@ ...@@ -42,8 +59,6 @@
padding-right: 10px; padding-right: 10px;
} }
</style> </style>
<template> <template>
...@@ -139,13 +154,13 @@ ...@@ -139,13 +154,13 @@
</div> </div>
</div> </div>
<br /> <br />
<table class="CostPriceTable CostNewTable"> <table class="CostNewTable" style="width:1150px">
<thead> <thead>
<tr> <tr>
<td colspan="12" class="CP_ComTitle2 CostcomCenter">报价信息</td> <td colspan="12" class="CP_ComTitle2 CostcomCenter">报价信息</td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2 CostcomCenter">币种</td> <td class="CP_ComTitle2 CostcomCenter" style="width:120px">币种</td>
<td v-for='(item,index) in CostCurrencyList'> <td v-for='(item,index) in CostCurrencyList'>
{{item.CurrencyName}} {{item.CurrencyName}}
<span> <span>
...@@ -196,13 +211,13 @@ ...@@ -196,13 +211,13 @@
<td colspan="12"></td> <td colspan="12"></td>
</tr> </tr>
<tr> <tr>
<td rowspan="2" width='80' class="CP_ComTitle2 CostcomCenter">Day</td> <td rowspan="2" style="width:100px" class="CP_ComTitle2 CostcomCenter">Day</td>
<td rowspan="2" width='80' class="CP_ComTitle2 CostcomCenter">行程大点</td> <td rowspan="2" width='80' class="CP_ComTitle2 CostcomCenter">行程大点</td>
<td rowspan="2" width="80" class="CP_ComTitle2 CostcomCenter">币种</td> <td rowspan="2" width="80" class="CP_ComTitle2 CostcomCenter">币种</td>
<td rowspan="2" width='80' class="CP_ComTitle2 CostcomCenter">酒店</td> <td rowspan="2" width='80' class="CP_ComTitle2 CostcomCenter">酒店</td>
<td colspan="4" class="CP_ComTitle2 CostcomCenter"></td> <td colspan="4" class="CP_ComTitle2 CostcomCenter"></td>
<td rowspan="2" width='80' class="CP_ComTitle2 CostcomCenter">门票</td> <td rowspan="2" width='80' class="CP_ComTitle2 CostcomCenter">门票</td>
<td colspan="3" class="CP_ComTitle2 CostcomCenter"></td> <td colspan="3" class="CP_ComTitle2 CostcomCenter"></td>
</tr> </tr>
<tr> <tr>
<td width="80" class="CP_ComTitle2 CostcomCenter">总车资</td> <td width="80" class="CP_ComTitle2 CostcomCenter">总车资</td>
...@@ -246,7 +261,7 @@ ...@@ -246,7 +261,7 @@
<br /> <br />
<el-input type='text' v-model="subItem.HotelCostPrice" class="w100" <el-input type='text' v-model="subItem.HotelCostPrice" class="w100"
@keyup.native="checkPrice(subItem,'HotelCostPrice')" placeholder="酒店价格"></el-input> @keyup.native="checkPrice(subItem,'HotelCostPrice')" placeholder="酒店价格"></el-input>
<br />
</td> </td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length"> <td v-if="childIndex==0" :rowspan="CostNumberList.length">
<el-input type='text' v-model="subItem.BusCostPrice" class="w60" <el-input type='text' v-model="subItem.BusCostPrice" class="w60"
...@@ -391,6 +406,7 @@ ...@@ -391,6 +406,7 @@
<br /> <br />
<el-input type='text' v-model="subItem.HotelCostPrice" class="w100" <el-input type='text' v-model="subItem.HotelCostPrice" class="w100"
@keyup.native="checkPrice(subItem,'HotelCostPrice')" placeholder="酒店价格"></el-input> @keyup.native="checkPrice(subItem,'HotelCostPrice')" placeholder="酒店价格"></el-input>
<br />
</td> </td>
<td> <td>
<el-input type='text' v-model="subItem.BusCostPrice" class="w60" <el-input type='text' v-model="subItem.BusCostPrice" class="w60"
...@@ -508,16 +524,16 @@ ...@@ -508,16 +524,16 @@
</tr> </tr>
</template> </template>
<tr> <tr>
<td colspan="13"></td> <td colspan="12"></td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2" colspan="6">交通部分</td> <td class="CP_ComTitle2" colspan="5">交通部分</td>
<td class="CP_ComTitle2" colspan="6">杂支部分</td> <td class="CP_ComTitle2" colspan="7">杂支部分</td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2 CostcomCenter">1</td> <td class="CP_ComTitle2 CostcomCenter">1</td>
<td class="CP_ComTitle2">内陆段机位(每人)</td> <td class="CP_ComTitle2">内陆段机位(每人)</td>
<td colspan="2"> <td>
<el-form-item> <el-form-item>
<el-select v-model='OtherPrice.InlandAirTicketCurrency' class="w70"> <el-select v-model='OtherPrice.InlandAirTicketCurrency' class="w70">
<el-option :label="$t('pub.unlimitedSel')" :value='defaultSelect'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='defaultSelect'></el-option>
...@@ -529,21 +545,23 @@ ...@@ -529,21 +545,23 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w70" v-model="OtherPrice.InlandAirTicketMoney" <el-input type='text' class="w100" v-model="OtherPrice.InlandAirTicketMoney"
@keyup.native="checkPrice(OtherPrice,'InlandAirTicketMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'InlandAirTicketMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td class="CP_ComTitle2 CostcomCenter">1</td> <td class="CP_ComTitle2 CostcomCenter">1</td>
<td colspan="2" class="CP_ComTitle2">签证费(每人)</td> <td colspan="2" class="CP_ComTitle2">签证费(每人)</td>
<el-form-item> <td>
<el-select v-model='OtherPrice.VisaMoneyCurrencyId' class="w70"> <el-form-item>
<el-option :label="$t('pub.unlimitedSel')" :value='defaultSelect'></el-option> <el-select v-model='OtherPrice.VisaMoneyCurrencyId' class="w70">
<el-option v-for="items in CostCurrencyList" :label='items.CurrencyName' :value='items.CurrencyId' <el-option :label="$t('pub.unlimitedSel')" :value='defaultSelect'></el-option>
:key='items.CurrencyId'> <el-option v-for="items in CostCurrencyList" :label='items.CurrencyName' :value='items.CurrencyId'
</el-option> :key='items.CurrencyId'>
</el-select> </el-option>
</el-form-item> </el-select>
<td colspan="2"> </el-form-item>
</td>
<td colspan="3">
<el-form-item> <el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.VisaMoney" <el-input type='text' class="w100" v-model="OtherPrice.VisaMoney"
@keyup.native="checkPrice(OtherPrice,'VisaMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'VisaMoney'),getchange()"></el-input>
...@@ -553,7 +571,7 @@ ...@@ -553,7 +571,7 @@
<tr> <tr>
<td class="CP_ComTitle2 CostcomCenter">2</td> <td class="CP_ComTitle2 CostcomCenter">2</td>
<td class="CP_ComTitle2">内陆段船票(每人)</td> <td class="CP_ComTitle2">内陆段船票(每人)</td>
<td colspan="2"> <td>
<el-form-item> <el-form-item>
<el-select v-model='OtherPrice.InlandShipTicketCurrency' class="w70"> <el-select v-model='OtherPrice.InlandShipTicketCurrency' class="w70">
<el-option :label="$t('pub.unlimitedSel')" :value='defaultSelect'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='defaultSelect'></el-option>
...@@ -565,7 +583,7 @@ ...@@ -565,7 +583,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w70" v-model="OtherPrice.InlandShipTicketMoney" <el-input type='text' class="w100" v-model="OtherPrice.InlandShipTicketMoney"
@keyup.native="checkPrice(OtherPrice,'InlandShipTicketMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'InlandShipTicketMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
...@@ -581,7 +599,7 @@ ...@@ -581,7 +599,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="2"> <td colspan="3">
<el-form-item> <el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.SafeMoney" <el-input type='text' class="w100" v-model="OtherPrice.SafeMoney"
@keyup.native="checkPrice(OtherPrice,'SafeMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'SafeMoney'),getchange()"></el-input>
...@@ -591,7 +609,7 @@ ...@@ -591,7 +609,7 @@
<tr> <tr>
<td class="CP_ComTitle2 CostcomCenter">3</td> <td class="CP_ComTitle2 CostcomCenter">3</td>
<td class="CP_ComTitle2">内陆段火车票(每人)</td> <td class="CP_ComTitle2">内陆段火车票(每人)</td>
<td colspan="2"> <td>
<el-form-item> <el-form-item>
<el-select v-model='OtherPrice.InlandTrainTicketCurrency' class="w70"> <el-select v-model='OtherPrice.InlandTrainTicketCurrency' class="w70">
<el-option :label="$t('pub.unlimitedSel')" :value='defaultSelect'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='defaultSelect'></el-option>
...@@ -603,7 +621,7 @@ ...@@ -603,7 +621,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w70" v-model="OtherPrice.InlandTrainTicketMoney" <el-input type='text' class="w100" v-model="OtherPrice.InlandTrainTicketMoney"
@keyup.native="checkPrice(OtherPrice,'InlandTrainTicketMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'InlandTrainTicketMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
...@@ -619,7 +637,7 @@ ...@@ -619,7 +637,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="2"> <td colspan="3">
<el-form-item> <el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.LeaderTripMoney" <el-input type='text' class="w100" v-model="OtherPrice.LeaderTripMoney"
@keyup.native="checkPrice(OtherPrice,'LeaderTripMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'LeaderTripMoney'),getchange()"></el-input>
...@@ -629,7 +647,7 @@ ...@@ -629,7 +647,7 @@
<tr> <tr>
<td class="CP_ComTitle2 CostcomCenter">4</td> <td class="CP_ComTitle2 CostcomCenter">4</td>
<td class="CP_ComTitle2">国际段机票(每人)</td> <td class="CP_ComTitle2">国际段机票(每人)</td>
<td colspan="2"> <td>
<el-form-item> <el-form-item>
<el-select v-model='OtherPrice.InternationalAirTicketCurrency' class="w70"> <el-select v-model='OtherPrice.InternationalAirTicketCurrency' class="w70">
<el-option :label="$t('pub.unlimitedSel')" :value='defaultSelect'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='defaultSelect'></el-option>
...@@ -641,7 +659,7 @@ ...@@ -641,7 +659,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w70" v-model="OtherPrice.InternationalAirTicket" <el-input type='text' class="w100" v-model="OtherPrice.InternationalAirTicket"
@keyup.native="checkPrice(OtherPrice,'InternationalAirTicket'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'InternationalAirTicket'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
...@@ -657,7 +675,7 @@ ...@@ -657,7 +675,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="2"> <td colspan="3">
<el-form-item> <el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.DriverGuideMoney" <el-input type='text' class="w100" v-model="OtherPrice.DriverGuideMoney"
@keyup.native="checkPrice(OtherPrice,'DriverGuideMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'DriverGuideMoney'),getchange()"></el-input>
...@@ -665,7 +683,7 @@ ...@@ -665,7 +683,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="6"></td> <td colspan="5"></td>
<td class="CP_ComTitle2 CostcomCenter">5</td> <td class="CP_ComTitle2 CostcomCenter">5</td>
<td colspan="2" class="CP_ComTitle2">导游小费</td> <td colspan="2" class="CP_ComTitle2">导游小费</td>
<td> <td>
...@@ -678,7 +696,7 @@ ...@@ -678,7 +696,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="2"> <td colspan="3">
<el-form-item> <el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.GuideMoney" <el-input type='text' class="w100" v-model="OtherPrice.GuideMoney"
@keyup.native="checkPrice(OtherPrice,'GuideMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'GuideMoney'),getchange()"></el-input>
...@@ -689,13 +707,13 @@ ...@@ -689,13 +707,13 @@
<td class="CP_ComTitle2"> <td class="CP_ComTitle2">
外币小计 外币小计
</td> </td>
<td colspan="5"> <td colspan="4">
{{trafficXiaoJi(2)}} {{trafficXiaoJi(2)}}
</td> </td>
<td class="CP_ComTitle2"> <td class="CP_ComTitle2">
外币小计 外币小计
</td> </td>
<td colspan="5"> <td colspan="6">
{{zazhiXiaoJi(2)}} {{zazhiXiaoJi(2)}}
</td> </td>
</tr> </tr>
...@@ -703,54 +721,44 @@ ...@@ -703,54 +721,44 @@
<td class="CP_ComTitle2"> <td class="CP_ComTitle2">
人民币小计 人民币小计
</td> </td>
<td colspan="5"> <td colspan="4">
{{ trafficXiaoJi(1) }} {{ trafficXiaoJi(1) }}
</td> </td>
<td class="CP_ComTitle2"> <td class="CP_ComTitle2">
人民币小计 人民币小计
</td> </td>
<td colspan="5"> <td colspan="6">
{{zazhiXiaoJi(1)}} {{zazhiXiaoJi(1)}}
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="13"></td> <td colspan="12"></td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2" colspan="4">其他支出</td> <td class="CP_ComTitle2" colspan="2">其他支出</td>
<td class="CP_ComTitle2" colspan="3" style="display:none;">机票</td> <td class="CP_ComTitle2" colspan="5">收入</td>
<td class="CP_ComTitle2" colspan="4">收入</td>
<td class="CP_ComTitle2" colspan="5">团负费</td> <td class="CP_ComTitle2" colspan="5">团负费</td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2 CostcomCenter">摘要</td>
<td class="CP_ComTitle2 CostcomCenter">金额(人民币)</td>
<td class="CP_ComTitle2 CostcomCenter" colspan="2">摘要</td> <td class="CP_ComTitle2 CostcomCenter" colspan="2">摘要</td>
<td class="CP_ComTitle2 CostcomCenter" colspan="2">金额<br />(人民币)</td> <td class="CP_ComTitle2 CostcomCenter" colspan="3">金额(人民币)</td>
<td class="CP_ComTitle2 CostcomCenter" colspan="2" style="display:none;">摘要</td>
<td class="CP_ComTitle2 CostcomCenter" style="display:none;">金额<br />(人民币)</td>
<td class="CP_ComTitle2 CostcomCenter" colspan="2">摘要</td>
<td class="CP_ComTitle2 CostcomCenter" colspan="2">金额<br />(人民币)</td>
<td class="CP_ComTitle2 CostcomCenter" colspan="2">摘要</td> <td class="CP_ComTitle2 CostcomCenter" colspan="2">摘要</td>
<td class="CP_ComTitle2 CostcomCenter" colspan="3">金额<br />(人民币)</td> <td class="CP_ComTitle2 CostcomCenter" colspan="3">金额(人民币)</td>
</tr> </tr>
<tr> <tr>
<td style="white-space:nowrap; " class="CP_ComTitle2" colspan="2">销售提成1%</td> <td class="CP_ComTitle2">销售提成1%</td>
<td colspan="2"> <td>
<el-form-item> <el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.SalesCommissionMoney" <el-input type='text' class="w120" v-model="OtherPrice.SalesCommissionMoney"
@keyup.native="checkPrice(OtherPrice,'SalesCommissionMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'SalesCommissionMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td class="CP_ComTitle2" colspan="2" style="display:none;">机票</td>
<td style="display:none;">
<el-form-item>
<el-input type='text' class="w70" v-model="OtherPrice.AirTicketMoeny"
@keyup.native="checkPrice(OtherPrice,'AirTicketMoeny'),getchange()"></el-input>
</el-form-item>
</td>
<td class="CP_ComTitle2" colspan="2">客人小费收入</td> <td class="CP_ComTitle2" colspan="2">客人小费收入</td>
<td colspan="2"> <td colspan="3">
<el-form-item> <el-form-item>
<el-input type='text' class="w70" v-model="OtherPrice.TripMoney" <el-input type='text' class="w120" v-model="OtherPrice.TripMoney"
@keyup.native="checkPrice(OtherPrice,'TripMoney',true),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'TripMoney',true),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
...@@ -763,46 +771,40 @@ ...@@ -763,46 +771,40 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="white-space:nowrap; " class="CP_ComTitle2" colspan="2">作业处提成</td> <td class="CP_ComTitle2">作业处提成</td>
<td colspan="2"> <td>
<el-form-item> <el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.OfficeCommissionMoney" <el-input type='text' class="w120" v-model="OtherPrice.OfficeCommissionMoney"
@keyup.native="checkPrice(OtherPrice,'OfficeCommissionMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'OfficeCommissionMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="3" style="display:none;"></td>
<td class="CP_ComTitle2" colspan="2">导游人头费</td> <td class="CP_ComTitle2" colspan="2">导游人头费</td>
<td colspan="2"> <td colspan="3">
<el-form-item> <el-form-item>
<el-input type='text' class="w70" v-model="OtherPrice.GuidePeopleMoney" <el-input type='text' class="w120" v-model="OtherPrice.GuidePeopleMoney"
@keyup.native="checkPrice(OtherPrice,'GuidePeopleMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'GuidePeopleMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="5"></td> <td colspan="5"></td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2" colspan="2"> <td class="CP_ComTitle2">
人民币小计 人民币小计
</td> </td>
<td colspan="2"> <td>
{{Number(OtherPrice.SalesCommissionMoney)+Number(OtherPrice.OfficeCommissionMoney)}} {{Number(OtherPrice.SalesCommissionMoney)+Number(OtherPrice.OfficeCommissionMoney)}}
</td> </td>
<td class="CP_ComTitle2" style="display:none;">
人民币小计
</td>
<td colspan="2" style="display:none;">
{{Number(OtherPrice.AirTicketMoeny)}}
</td>
<td class="CP_ComTitle2" colspan="2"> <td class="CP_ComTitle2" colspan="2">
人民币小计 人民币小计
</td> </td>
<td colspan="2"> <td colspan="3">
{{Number(OtherPrice.TripMoney)+Number(OtherPrice.GuidePeopleMoney)}} {{Number(OtherPrice.TripMoney)+Number(OtherPrice.GuidePeopleMoney)}}
</td> </td>
<td class="CP_ComTitle2" colspan="2"> <td class="CP_ComTitle2" colspan="2">
人民币小计 人民币小计
</td> </td>
<td colspan="5"> <td colspan="3">
{{Number(OtherPrice.KBMoney)}} {{Number(OtherPrice.KBMoney)}}
</td> </td>
</tr> </tr>
...@@ -820,11 +822,11 @@ ...@@ -820,11 +822,11 @@
<td class="CP_ComTitle2 CostcomCenter">人数</td> <td class="CP_ComTitle2 CostcomCenter">人数</td>
<td class="CP_ComTitle2 CostcomCenter">机票</td> <td class="CP_ComTitle2 CostcomCenter">机票</td>
<td class="CP_ComTitle2 CostcomCenter">门票</td> <td class="CP_ComTitle2 CostcomCenter">门票</td>
<td class="CP_ComTitle2 CostcomCenter">领队导游司机住宿</td> <td class="CP_ComTitle2 CostcomCenter" colspan="2">领队导游司机住宿</td>
<td class="CP_ComTitle2 CostcomCenter">单房差</td> <td class="CP_ComTitle2 CostcomCenter">单房差</td>
<td class="CP_ComTitle2 CostcomCenter" colspan="2">内陆段交通</td> <td class="CP_ComTitle2 CostcomCenter" colspan="2">内陆段交通</td>
<td class="CP_ComTitle2 CostcomCenter" colspan="2">杂费</td> <td class="CP_ComTitle2 CostcomCenter" colspan="2">杂费</td>
<td class="CP_ComTitle2 CostcomCenter" colspan="3">小计</td> <td class="CP_ComTitle2 CostcomCenter" colspan="2">小计</td>
</tr> </tr>
<tr> <tr>
<td></td> <td></td>
...@@ -840,7 +842,7 @@ ...@@ -840,7 +842,7 @@
@keyup.native="checkPrice(OtherPrice,'TicketShareMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'TicketShareMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w70" v-model="OtherPrice.LeaderGuideDriveZhuSu" <el-input type='text' class="w70" v-model="OtherPrice.LeaderGuideDriveZhuSu"
@keyup.native="checkPrice(OtherPrice,'LeaderGuideDriveZhuSu'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'LeaderGuideDriveZhuSu'),getchange()"></el-input>
...@@ -852,7 +854,6 @@ ...@@ -852,7 +854,6 @@
@keyup.native="checkPrice(OtherPrice,'SingleRoomShareMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'SingleRoomShareMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="2"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w70" v-model="OtherPrice.InlandTrafficShareMoney" <el-input type='text' class="w70" v-model="OtherPrice.InlandTrafficShareMoney"
...@@ -865,29 +866,28 @@ ...@@ -865,29 +866,28 @@
@keyup.native="checkPrice(OtherPrice,'OtherShareMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'OtherShareMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="3"></td> <td colspan="2"></td>
</tr> </tr>
<tr v-for="item in CostNumberList" :key="item.subCode"> <tr v-for="item in CostNumberList" :key="item.subCode">
<td>{{item.PeopleNumber}}+1</td> <td>{{item.PeopleNumber}}+1</td>
<td>{{item.AirTicketMoney}}</td> <td>{{item.AirTicketMoney}}</td>
<td>{{item.TicketMoney}}</td> <td>{{item.TicketMoney}}</td>
<td>{{item.LeaderGuideDriveZhuSu}}</td> <td colspan="2">{{item.LeaderGuideDriveZhuSu}}</td>
<td>{{item.SingleRoomMoney}}</td> <td>{{item.SingleRoomMoney}}</td>
<td colspan="2">{{item.InlandTrafficMoney}}</td> <td colspan="2">{{item.InlandTrafficMoney}}</td>
<td colspan="2">{{item.OtherMoney}}</td> <td colspan="2">{{item.OtherMoney}}</td>
<td colspan="3">{{item.SubtotalMoney}}</td> <td colspan="2">{{item.SubtotalMoney}}</td>
</tr> </tr>
<tr> <tr>
<td colspan="13"></td> <td colspan="12"></td>
</tr> </tr>
<tr> <tr>
<td colspan="13" class="CP_ComTitle2">成本统计(以下报价为每人费用)<br /> <td colspan="12" class="CP_ComTitle2">成本统计(以下报价为每人费用)<br />
计算规则: (房+餐+车+景点)*汇率+内陆段交通*汇率+杂支部分*汇率+其他资产+机票票+收入-团负费+领队分摊+地接报价*汇率 计算规则: (房+餐+车+景点)*汇率+内陆段交通*汇率+杂支部分*汇率+其他资产+机票票+收入-团负费+领队分摊+地接报价*汇率
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2">人数统计 <td class="CP_ComTitle2">人数统计</td>
</td>
<td class="CP_ComTitle2">成本价</td> <td class="CP_ComTitle2">成本价</td>
<td class="CP_ComTitle2" colspan="2">销售价格</td> <td class="CP_ComTitle2" colspan="2">销售价格</td>
<td colspan="8" class="CP_ComTitle2">备注</td> <td colspan="8" class="CP_ComTitle2">备注</td>
...@@ -904,13 +904,13 @@ ...@@ -904,13 +904,13 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="13"></td> <td colspan="12"></td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2"> <td class="CP_ComTitle2">
婴儿 婴儿
</td> </td>
<td class="CP_ComTitle2" colspan="2"> <td class="CP_ComTitle2">
单地接 单地接
</td> </td>
<td class="CP_ComTitle2" colspan="2"> <td class="CP_ComTitle2" colspan="2">
...@@ -919,64 +919,64 @@ ...@@ -919,64 +919,64 @@
<td class="CP_ComTitle2" colspan="2"> <td class="CP_ComTitle2" colspan="2">
儿童不占床 儿童不占床
</td> </td>
<td class="CP_ComTitle2"> <td class="CP_ComTitle2" colspan="2">
儿童附加费 儿童附加费
</td> </td>
<td class="CP_ComTitle2"> <td class="CP_ComTitle2" colspan="2">
老人附加费 老人附加费
</td> </td>
<td class="CP_ComTitle2"> <td class="CP_ComTitle2">
签证费 签证费
</td> </td>
<td class="CP_ComTitle2" colspan="2"> <td class="CP_ComTitle2">
单房差 单房差
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<el-input placeholder="" v-model="teamPrice.BabyPrice" @keyup.native="checkInteger(teamPrice,'BabyPrice')" <el-input placeholder="" v-model="teamPrice.BabyPrice" @keyup.native="checkInteger(teamPrice,'BabyPrice')"
class="w100"> class="w70">
</el-input> </el-input>
</td> </td>
<td colspan="2"> <td>
<el-input placeholder="" v-model="teamPrice.SingleDMCPrice" <el-input placeholder="" v-model="teamPrice.SingleDMCPrice"
@keyup.native="checkPrice(teamPrice,'SingleDMCPrice')" class="w100"> @keyup.native="checkPrice(teamPrice,'SingleDMCPrice')" class="w70">
</el-input> </el-input>
</td> </td>
<td colspan="2"> <td colspan="2">
<el-input placeholder="" v-model="teamPrice.ChildNeedPrice" <el-input placeholder="" v-model="teamPrice.ChildNeedPrice"
@keyup.native="checkInteger(teamPrice,'ChildNeedPrice')" class="w100"> @keyup.native="checkInteger(teamPrice,'ChildNeedPrice')" class="w70">
</el-input> </el-input>
</td> </td>
<td colspan="2"> <td colspan="2">
<el-input placeholder="" v-model="teamPrice.ChildNoNeedPrice" <el-input placeholder="" v-model="teamPrice.ChildNoNeedPrice"
@keyup.native="checkInteger(teamPrice,'ChildNoNeedPrice')" class="w100"> @keyup.native="checkInteger(teamPrice,'ChildNoNeedPrice')" class="w70">
</el-input> </el-input>
</td> </td>
<td> <td colspan="2">
<el-input placeholder="" v-model="teamPrice.BabyChargePrice" <el-input placeholder="" v-model="teamPrice.BabyChargePrice"
@keyup.native="checkPrice(teamPrice,'BabyChargePrice')" class="w100"> @keyup.native="checkPrice(teamPrice,'BabyChargePrice')" class="w70">
</el-input> </el-input>
</td> </td>
<td> <td colspan="2">
<el-input placeholder="" v-model="teamPrice.OldManChargePrice" <el-input placeholder="" v-model="teamPrice.OldManChargePrice"
@keyup.native="checkInteger(teamPrice,'OldManChargePrice')" class="w100"> @keyup.native="checkInteger(teamPrice,'OldManChargePrice')" class="w70">
</el-input> </el-input>
</td> </td>
<td> <td>
<el-input placeholder="" v-model="teamPrice.VisaPrice" @keyup.native="checkPrice(teamPrice,'VisaPrice')" <el-input placeholder="" v-model="teamPrice.VisaPrice" @keyup.native="checkPrice(teamPrice,'VisaPrice')"
class="w100"> class="w70">
</el-input> </el-input>
</td> </td>
<td colspan="2"> <td>
<el-input placeholder="" v-model="teamPrice.SingleRoomPrice" <el-input placeholder="" v-model="teamPrice.SingleRoomPrice"
@keyup.native="checkPrice(teamPrice,'SingleRoomPrice')" class="w100"> @keyup.native="checkPrice(teamPrice,'SingleRoomPrice')" class="w70">
</el-input> </el-input>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2">备注</td> <td class="CP_ComTitle2">备注</td>
<td colspan="12"> <td colspan="11">
<el-input type="textarea" v-model="OtherPrice.OtherRemark"></el-input> <el-input type="textarea" v-model="OtherPrice.OtherRemark"></el-input>
</td> </td>
</tr> </tr>
...@@ -1201,16 +1201,16 @@ ...@@ -1201,16 +1201,16 @@
//获取主成本价 //获取主成本价
getCostTotalMoney() { getCostTotalMoney() {
let totalMoney = let totalMoney =
this.getConvertMoney(this.OtherPrice.InlandAirTicketMoney) * this.getCurrencyMoney(this.OtherPrice.InlandAirTicketCurrency) this.getConvertMoney(this.OtherPrice.InlandAirTicketMoney) * this.getCurrencyMoney(this.OtherPrice
+ .InlandAirTicketCurrency) +
this.getConvertMoney(this.OtherPrice.InlandShipTicketMoney) *this.getCurrencyMoney( this.OtherPrice.InlandShipTicketCurrency) this.getConvertMoney(this.OtherPrice.InlandShipTicketMoney) * this.getCurrencyMoney(this.OtherPrice
+ .InlandShipTicketCurrency) +
this.getConvertMoney(this.OtherPrice.InlandTrainTicketMoney) *this.getCurrencyMoney(this.OtherPrice.InlandTrainTicketCurrency) this.getConvertMoney(this.OtherPrice.InlandTrainTicketMoney) * this.getCurrencyMoney(this.OtherPrice
+ .InlandTrainTicketCurrency) +
this.getConvertMoney(this.OtherPrice.InternationalAirTicket) * this.getCurrencyMoney(this.OtherPrice.InternationalAirTicketCurrency) this.getConvertMoney(this.OtherPrice.InternationalAirTicket) * this.getCurrencyMoney(this.OtherPrice
+ .InternationalAirTicketCurrency) +
this.getConvertMoney(this.OtherPrice.DriverGuideMoney) * this.getCurrencyMoney(this.OtherPrice.DriverGuideMoneyCurrencyId) this.getConvertMoney(this.OtherPrice.DriverGuideMoney) * this.getCurrencyMoney(this.OtherPrice
+ .DriverGuideMoneyCurrencyId) +
this.getConvertMoney(this.OtherPrice.GuideMoney) * this.getCurrencyMoney( this.getConvertMoney(this.OtherPrice.GuideMoney) * this.getCurrencyMoney(
this.OtherPrice.GuideMoneyCurrencyId this.OtherPrice.GuideMoneyCurrencyId
) + ) +
...@@ -1441,13 +1441,13 @@ ...@@ -1441,13 +1441,13 @@
that.getConvertMoney(x.OtherMoney) + that.getConvertMoney(x.OtherMoney) +
that.getConvertMoney(x.LeaderGuideDriveZhuSu) that.getConvertMoney(x.LeaderGuideDriveZhuSu)
).toFixed(0); ).toFixed(0);
console.log("SubtotalMoney",x.SubtotalMoney); console.log("SubtotalMoney", x.SubtotalMoney);
//房餐车景点价格 //房餐车景点价格
var trip = Number(that.getLocalTotalMoney(x.PeopleNumber)); var trip = Number(that.getLocalTotalMoney(x.PeopleNumber));
console.log("trip",trip); console.log("trip", trip);
//其他价格 //其他价格
var otherPrice = Number(that.getCostTotalMoney()); var otherPrice = Number(that.getCostTotalMoney());
console.log("otherPrice",otherPrice); console.log("otherPrice", otherPrice);
x.TotalMoney = (trip + otherPrice + x.TotalMoney = (trip + otherPrice +
Number(that.getConvertMoney(x.SubtotalMoney)) Number(that.getConvertMoney(x.SubtotalMoney))
).toFixed(0); ).toFixed(0);
...@@ -1500,8 +1500,7 @@ ...@@ -1500,8 +1500,7 @@
this.getSubtotalMoney(); this.getSubtotalMoney();
this.getAllCurrency(); this.getAllCurrency();
}, },
created() { created() {},
},
watch: { watch: {
postConfig: { postConfig: {
handler: function (val, oldVal) { handler: function (val, oldVal) {
......
...@@ -221,6 +221,12 @@ ...@@ -221,6 +221,12 @@
<i class="iconfont icon-nav-hangzheng"></i> <i class="iconfont icon-nav-hangzheng"></i>
</el-tooltip> </el-tooltip>
</span> </span>
<span v-if="userInfo.EmployeeId==615" class="bianji newAopbdd" @click="goMakeQuo('QuotationNewPrice',item.ID)">
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start"
popper-class="max-w250">
<i class="iconfont icon-bianji-smal"></i>
</el-tooltip>
</span>
<span class="bianji newAopbdd" @click="goMakeQuo('QuotationNewPrice',item.ID)" v-if="item.TravelState==1||item.TravelState==4||item.TravelState==5"> <span class="bianji newAopbdd" @click="goMakeQuo('QuotationNewPrice',item.ID)" v-if="item.TravelState==1||item.TravelState==4||item.TravelState==5">
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start" <el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start"
popper-class="max-w250"> popper-class="max-w250">
...@@ -309,6 +315,7 @@ ...@@ -309,6 +315,7 @@
export default { export default {
data() { data() {
return { return {
userInfo:{},
queryData: { queryData: {
LineId: 0, LineId: 0,
LineteamId: 0, LineteamId: 0,
...@@ -619,6 +626,7 @@ ...@@ -619,6 +626,7 @@
} }
}, },
created() { created() {
this.userInfo = this.getLocalStorage();
if (this.$route.query.hasOwnProperty("cache")) { if (this.$route.query.hasOwnProperty("cache")) {
if (this.$store.state.pageCondition != null) { if (this.$store.state.pageCondition != null) {
this.queryData = this.$store.state.pageCondition; this.queryData = this.$store.state.pageCondition;
......
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