Commit c941dfa4 authored by 黄奎's avatar 黄奎

页面修改

parent eeb71875
...@@ -67,16 +67,16 @@ ...@@ -67,16 +67,16 @@
<template> <template>
<div> <div>
<div class="CostNewPrice clearfix CP_Div" style="width:980px;"> <div class="CostNewPrice clearfix CP_Div" style="width:1350px;">
<el-form> <el-form>
<table class="CostNewTable" style="width:1250px;"> <table class="CostNewTable" style="width:1350px;">
<thead> <thead>
<tr> <tr>
<td colspan="14" class="CP_ComTitle2 CostcomCenter">报价信息</td> <td colspan="12" class="CP_ComTitle2 CostcomCenter">报价信息</td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2">默认报价单</td> <td class="CP_ComTitle2">默认报价单</td>
<td colspan="13"> <td colspan="11">
<el-switch type="textarea" :disabled="!canEdit" v-model="IsDefault" <el-switch type="textarea" :disabled="!canEdit" v-model="IsDefault"
@change="queryMsg.IsDefault = IsDefault"></el-switch> @change="queryMsg.IsDefault = IsDefault"></el-switch>
</td> </td>
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
<i class="iconfont icon-quxiao" style="display:inline-block;" @click="DeleteCurrency(index)"></i> <i class="iconfont icon-quxiao" style="display:inline-block;" @click="DeleteCurrency(index)"></i>
</span> </span>
</td> </td>
<td :colspan="14-2-CostCurrencyList.length+1"> <td :colspan="12-2-CostCurrencyList.length+1">
<el-form-item class="w70"> <el-form-item class="w70">
<el-select v-model='currencyType' @change="getRate(currencyType),addCurrency()"> <el-select v-model='currencyType' @change="getRate(currencyType),addCurrency()">
<el-option v-for="item in currencyTypeArr" :label='item.Name' :value='item.ID' :key='item.ID'> <el-option v-for="item in currencyTypeArr" :label='item.Name' :value='item.ID' :key='item.ID'>
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
@keyup.native="checkRate(item,'ExchangeRate'),getchange()"> @keyup.native="checkRate(item,'ExchangeRate'),getchange()">
</el-input> </el-input>
</td> </td>
<td :colspan="14-2-CostCurrencyList.length+1"> <td :colspan="12-2-CostCurrencyList.length+1">
<el-input class="w70" v-model='queryMsg.RateInput' <el-input class="w70" v-model='queryMsg.RateInput'
@keyup.native="checkRate(queryMsg,'RateInput'),getchange()"> @keyup.native="checkRate(queryMsg,'RateInput'),getchange()">
</el-input> </el-input>
...@@ -120,37 +120,36 @@ ...@@ -120,37 +120,36 @@
<i class="iconfont icon-quxiao" @click="DeletePNumber(index),getchange()"></i> <i class="iconfont icon-quxiao" @click="DeletePNumber(index),getchange()"></i>
</span> </span>
</td> </td>
<td :colspan="14-2-CostNumberList.length+1"> <td :colspan="12-2-CostNumberList.length+1">
<el-form-item> <el-form-item>
<el-input class="w70" v-model='queryMsg.PeopleNumber' <el-input class="w70" v-model='queryMsg.PeopleNumber'
@keyup.native="checkInteger(queryMsg,'PeopleNumber'),getchange()"></el-input> @keyup.native="checkInteger(queryMsg,'PeopleNumber'),getchange()"></el-input>
<i class="iconfont icon-img_haha" style="cursor:pointer;" @click="addPeoNunber"></i> <i class="iconfont icon-img_haha" style="cursor:pointer;" @click="addPeoNunber"></i>
</el-form-item> </el-form-item>
<div colspan="14" style="color: #f12121;font-weigth: bold;">填入人数后请点击"+"</div> <div colspan="12" style="color: #f12121;font-weigth: bold;">填入人数后请点击"+"</div>
</td> </td>
</tr> </tr>
</thead> </thead>
<tr>
</tr>
<tr> <tr>
<td rowspan="2" style="width:100px" 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" style="width:100px" class="CP_ComTitle2 CostcomCenter">行程大点</td>
<td rowspan="2" width="80" class="CP_ComTitle2 CostcomCenter">币种</td> <td rowspan="2" style="width:100px" class="CP_ComTitle2 CostcomCenter">币种</td>
<td rowspan="2" width='80' class="CP_ComTitle2 CostcomCenter">酒店</td> <td rowspan="2" style="width:270px" class="CP_ComTitle2 CostcomCenter">酒店</td>
<td colspan="4" class="CP_ComTitle2 CostcomCenter"></td> <td colspan="2" style="width:100px" class="CP_ComTitle2 CostcomCenter"></td>
<td rowspan="2" width='80' class="CP_ComTitle2 CostcomCenter">门票</td> <td rowspan="2" style="width:100px" class="CP_ComTitle2 CostcomCenter">门票</td>
<td colspan="3" class="CP_ComTitle2 CostcomCenter"></td> <td colspan="3" style="width:100px" class="CP_ComTitle2 CostcomCenter"></td>
<td rowspan="2" width='80' class="CP_ComTitle2 CostcomCenter">回佣<br />(不计入成本)</td> <td rowspan="2" style="width:100px" class="CP_ComTitle2 CostcomCenter">回佣<br />(不计入成本)</td>
<td rowspan="2" width='80' class="CP_ComTitle2 CostcomCenter">其它费用<br />(保险、司导杂费等)</td> <td rowspan="2" style="width:100px" class="CP_ComTitle2 CostcomCenter">其它费用<br />(保险、司导杂费等)</td>
</tr> </tr>
<tr> <tr>
<td width="80" colspan="2" class="CP_ComTitle2 CostcomCenter">总车资</td> <td style="width:50px" class="CP_ComTitle2 CostcomCenter">总车资</td>
<td width="80" colspan="2" class="CP_ComTitle2 CostcomCenter">过路费</td> <td style="width:50px" class="CP_ComTitle2 CostcomCenter">过路费</td>
<td width="80" class="CP_ComTitle2 CostcomCenter"></td> <td style="width:35px" class="CP_ComTitle2 CostcomCenter"></td>
<td width="80" class="CP_ComTitle2 CostcomCenter"></td> <td style="width:35px" class="CP_ComTitle2 CostcomCenter"></td>
<td width="80" class="CP_ComTitle2 CostcomCenter"></td> <td style="width:30px" class="CP_ComTitle2 CostcomCenter"></td>
</tr> </tr>
<template v-if="CostNumberList&&CostNumberList.length>1" > <template v-if="CostNumberList&&CostNumberList.length>1">
<template v-for="(subItem,subIndex) in dayCostPrice"> <template v-for="(subItem,subIndex) in dayCostPrice">
<template v-for="(childItem,childIndex) in CostNumberList"> <template v-for="(childItem,childIndex) in CostNumberList">
<tr> <tr>
...@@ -171,35 +170,34 @@ ...@@ -171,35 +170,34 @@
</el-form-item> </el-form-item>
</td> </td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length"> <td v-if="childIndex==0" :rowspan="CostNumberList.length">
<el-select <el-form-item label="酒店名称:" style="width:250px;">
filterable remote <el-select filterable remote :remote-method="(query) => remoteSearchAdGroup(query, subItem)"
:remote-method="(query) => remoteSearchAdGroup(query, subItem)" v-model='subItem.HotelId' placeholder="请选择酒店" :loading="loading"
v-model='subItem.HotelId' @change="getHotel(subItem,subItem.HotelId)">
class="w100" placeholder="检索酒店" <el-option v-for="(x) in subItem.HotelList" :key="x.ID" :label="x.Name" :value='x.ID'>
:loading="loading" </el-option>
@change="getHotel(subItem,subItem.HotelId)"> </el-select>
<el-option v-for="(x,index) in subItem.HotelList" </el-form-item>
:key="x.ID" :label="x.Name" :value='x.ID'></el-option> <el-form-item label="含餐类型:">
</el-select> <el-select v-model='subItem.ContainDinnerType' style="width:100px;" placeholder="含餐类型"
</br/> @change="DinnerTypeChange(subItem)">
<el-select style="margin:0 5px;" v-model='subItem.ContainDinnerType' class="w100" placeholder="含餐类型" <el-option label="含餐类型" :value='0'></el-option>
@change="DinnerTypeChange(subItem)"> <el-option label="含早餐" :value='1'></el-option>
<el-option label="含餐类型" :value='0'></el-option> <el-option label="含晚餐" :value='2'></el-option>
<el-option label="含早餐" :value='1'></el-option> <el-option label="含早晚餐" :value='3'></el-option>
<el-option label="含晚餐" :value='2'></el-option> </el-select>
<el-option label="含早晚餐" :value='3'></el-option> </el-form-item>
</el-select> <el-form-item label="酒店价格:">
<br /> <el-input type='text' v-model="subItem.HotelCostPrice" style="width:100px"
<el-input type='text' v-model="subItem.HotelCostPrice" class="w100" style="margin-bottom: 5px;" @keyup.native="checkPrice(subItem,'HotelCostPrice')" placeholder="酒店价格"></el-input>
@keyup.native="checkPrice(subItem,'HotelCostPrice')" placeholder="酒店价格"></el-input> </el-form-item>
<br />
</td> </td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length" colspan="2"> <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"
@keyup.native="checkPrice(subItem,'BusCostPrice'),getchange()"> @keyup.native="checkPrice(subItem,'BusCostPrice'),getchange()">
</el-input> </el-input>
</td> </td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length" colspan="2"> <td v-if="childIndex==0" :rowspan="CostNumberList.length">
<el-input type='text' v-model="subItem.PassFee" class="w60" <el-input type='text' v-model="subItem.PassFee" class="w60"
@keyup.native="checkPrice(subItem,'PassFee'),getchange()"> @keyup.native="checkPrice(subItem,'PassFee'),getchange()">
</el-input> </el-input>
...@@ -246,13 +244,12 @@ ...@@ -246,13 +244,12 @@
<td v-if="childIndex==0" :rowspan="CostNumberList.length"> <td v-if="childIndex==0" :rowspan="CostNumberList.length">
{{getDayXiaoJi(1,1)}} {{getDayXiaoJi(1,1)}}
</td> </td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length" colspan="2"> <td v-if="childIndex==0" :rowspan="CostNumberList.length">
{{getDayXiaoJi(2,1)}} {{getDayXiaoJi(2,1)}}
</td> </td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length" colspan="2"> <td v-if="childIndex==0" :rowspan="CostNumberList.length">
{{getDayXiaoJi(7,1)}} {{getDayXiaoJi(7,1)}}
</td> </td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length"> <td v-if="childIndex==0" :rowspan="CostNumberList.length">
{{getDayXiaoJi(3,1)}} {{getDayXiaoJi(3,1)}}
</td> </td>
...@@ -282,13 +279,12 @@ ...@@ -282,13 +279,12 @@
<td v-if="childIndex==0" :rowspan="CostNumberList.length"> <td v-if="childIndex==0" :rowspan="CostNumberList.length">
{{getDayXiaoJi(1,2)}} {{getDayXiaoJi(1,2)}}
</td> </td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length" colspan="2"> <td v-if="childIndex==0" :rowspan="CostNumberList.length">
{{getDayXiaoJi(2,2)}} {{getDayXiaoJi(2,2)}}
</td> </td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length" colspan="2"> <td v-if="childIndex==0" :rowspan="CostNumberList.length">
{{getDayXiaoJi(7,2)}} {{getDayXiaoJi(7,2)}}
</td> </td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length"> <td v-if="childIndex==0" :rowspan="CostNumberList.length">
{{getDayXiaoJi(3,2)}} {{getDayXiaoJi(3,2)}}
</td> </td>
...@@ -329,40 +325,38 @@ ...@@ -329,40 +325,38 @@
</el-form-item> </el-form-item>
</td> </td>
<td> <td>
<el-select <el-form-item label="酒店名称:" style="width:250px;">
filterable remote <el-select filterable remote :remote-method="(query) => remoteSearchAdGroup(query, subItem)"
:remote-method="(query) => remoteSearchAdGroup(query, subItem)" v-model='subItem.HotelId' placeholder="请选择酒店" :loading="loading"
v-model='subItem.HotelId'
class="w100" placeholder="检索酒店"
:loading="loading"
@change="getHotel(subItem,subItem.HotelId)"> @change="getHotel(subItem,subItem.HotelId)">
<el-option v-for="(x,index) in subItem.HotelList" <el-option v-for="(x) in subItem.HotelList" :key="x.ID" :label="x.Name" :value='x.ID'>
:key="x.ID" :label="x.Name" :value='x.ID'></el-option> </el-option>
</el-select> </el-select>
</br/> </el-form-item>
<el-select v-model='subItem.ContainDinnerType' class="w100" placeholder="含餐类型" <el-form-item label="含餐类型:">
@change="DinnerTypeChange(subItem)"> <el-select v-model='subItem.ContainDinnerType' style="width:100px;" placeholder="含餐类型"
<el-option label="含餐类型" :value='0'></el-option> @change="DinnerTypeChange(subItem)">
<el-option label="含早餐" :value='1'></el-option> <el-option label="含餐类型" :value='0'></el-option>
<el-option label="含晚餐" :value='2'></el-option> <el-option label="含早餐" :value='1'></el-option>
<el-option label="含早晚餐" :value='3'></el-option> <el-option label="含晚餐" :value='2'></el-option>
</el-select> <el-option label="含早晚餐" :value='3'></el-option>
<br /> </el-select>
<el-input type='text' v-model="subItem.HotelCostPrice" class="w100" style="margin-bottom: 5px;" </el-form-item>
@keyup.native="checkPrice(subItem,'HotelCostPrice'),getchange()" placeholder="酒店价格"></el-input> <el-form-item label="酒店价格:">
<br /> <el-input type='text' v-model="subItem.HotelCostPrice" style="width:100px"
@keyup.native="checkPrice(subItem,'HotelCostPrice')" placeholder="酒店价格"></el-input>
</el-form-item>
</td> </td>
<td colspan="2"> <td>
<el-input type='text' v-model="subItem.BusCostPrice" class="w60" <el-input type='text' v-model="subItem.BusCostPrice" class="w60"
@keyup.native="checkPrice(subItem,'BusCostPrice'),getchange()"> @keyup.native="checkPrice(subItem,'BusCostPrice'),getchange()">
</el-input> </el-input>
</td> </td>
<td colspan="2"> <td>
<el-input type='text' v-model="subItem.PassFee" class="w60" <el-input type='text' v-model="subItem.PassFee" class="w60"
@keyup.native="checkPrice(subItem,'PassFee'),getchange()"> @keyup.native="checkPrice(subItem,'PassFee'),getchange()">
</el-input> </el-input>
</td> </td>
<td> <td>
<el-input type='text' v-model="subItem.ScenicCostPrice" class="w60" <el-input type='text' v-model="subItem.ScenicCostPrice" class="w60"
@keyup.native="checkPrice(subItem,'ScenicCostPrice'),getchange()"></el-input> @keyup.native="checkPrice(subItem,'ScenicCostPrice'),getchange()"></el-input>
...@@ -400,10 +394,10 @@ ...@@ -400,10 +394,10 @@
<td> <td>
{{getDayXiaoJi(1,1)}} {{getDayXiaoJi(1,1)}}
</td> </td>
<td colspan="2"> <td>
{{getDayXiaoJi(2,1)}} {{getDayXiaoJi(2,1)}}
</td> </td>
<td colspan="2"> <td>
{{getDayXiaoJi(7,1)}} {{getDayXiaoJi(7,1)}}
</td> </td>
<td> <td>
...@@ -432,13 +426,12 @@ ...@@ -432,13 +426,12 @@
<td> <td>
{{getDayXiaoJi(1,2)}} {{getDayXiaoJi(1,2)}}
</td> </td>
<td colspan="2"> <td>
{{getDayXiaoJi(2,2)}} {{getDayXiaoJi(2,2)}}
</td> </td>
<td colspan="2"> <td>
{{getDayXiaoJi(7,2)}} {{getDayXiaoJi(7,2)}}
</td> </td>
<td> <td>
{{getDayXiaoJi(3,2)}} {{getDayXiaoJi(3,2)}}
</td> </td>
...@@ -460,11 +453,11 @@ ...@@ -460,11 +453,11 @@
</tr> </tr>
</template> </template>
<tr> <tr>
<td colspan="14"></td> <td colspan="12"></td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2" colspan="7">交通部分</td> <td class="CP_ComTitle2" colspan="6">交通部分</td>
<td class="CP_ComTitle2" colspan="7">杂支部分</td> <td class="CP_ComTitle2" colspan="6">杂支部分</td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2 CostcomCenter">1</td> <td class="CP_ComTitle2 CostcomCenter">1</td>
...@@ -479,9 +472,9 @@ ...@@ -479,9 +472,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="3"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.InlandAirTicketMoney" <el-input type='text' class="w70" 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>
...@@ -497,9 +490,9 @@ ...@@ -497,9 +490,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="3"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.VisaMoney" <el-input type='text' class="w70" v-model="OtherPrice.VisaMoney"
@keyup.native="checkPrice(OtherPrice,'VisaMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'VisaMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
...@@ -517,9 +510,9 @@ ...@@ -517,9 +510,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="3"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.InlandShipTicketMoney" <el-input type='text' class="w70" 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>
...@@ -535,9 +528,9 @@ ...@@ -535,9 +528,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="3"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.SafeMoney" <el-input type='text' class="w70" v-model="OtherPrice.SafeMoney"
@keyup.native="checkPrice(OtherPrice,'SafeMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'SafeMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
...@@ -555,9 +548,9 @@ ...@@ -555,9 +548,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="3"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.InlandTrainTicketMoney" <el-input type='text' class="w70" 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>
...@@ -573,9 +566,9 @@ ...@@ -573,9 +566,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="3"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.LeaderTripMoney" <el-input type='text' class="w70" v-model="OtherPrice.LeaderTripMoney"
@keyup.native="checkPrice(OtherPrice,'LeaderTripMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'LeaderTripMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
...@@ -593,9 +586,9 @@ ...@@ -593,9 +586,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="3"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.InternationalAirTicket" <el-input type='text' class="w70" 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>
...@@ -611,15 +604,15 @@ ...@@ -611,15 +604,15 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="3"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.DriverGuideMoney" <el-input type='text' class="w70" v-model="OtherPrice.DriverGuideMoney"
@keyup.native="checkPrice(OtherPrice,'DriverGuideMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'DriverGuideMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="7"></td> <td colspan="6"></td>
<td class="CP_ComTitle2 CostcomCenter">5</td> <td class="CP_ComTitle2 CostcomCenter">5</td>
<td class="CP_ComTitle2">导游小费(每人)</td> <td class="CP_ComTitle2">导游小费(每人)</td>
<td colspan="2"> <td colspan="2">
...@@ -632,9 +625,9 @@ ...@@ -632,9 +625,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="3"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.GuideMoney" <el-input type='text' class="w70" v-model="OtherPrice.GuideMoney"
@keyup.native="checkPrice(OtherPrice,'GuideMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'GuideMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
...@@ -643,13 +636,13 @@ ...@@ -643,13 +636,13 @@
<td class="CP_ComTitle2"> <td class="CP_ComTitle2">
外币小计 外币小计
</td> </td>
<td colspan="6"> <td colspan="5">
{{trafficXiaoJi(2)}} {{trafficXiaoJi(2)}}
</td> </td>
<td class="CP_ComTitle2"> <td class="CP_ComTitle2">
外币小计 外币小计
</td> </td>
<td colspan="6"> <td colspan="5">
{{zazhiXiaoJi(2)}} {{zazhiXiaoJi(2)}}
</td> </td>
</tr> </tr>
...@@ -657,51 +650,51 @@ ...@@ -657,51 +650,51 @@
<td class="CP_ComTitle2"> <td class="CP_ComTitle2">
人民币小计 人民币小计
</td> </td>
<td colspan="6"> <td colspan="5">
{{ trafficXiaoJi(1) }} {{ trafficXiaoJi(1) }}
</td> </td>
<td class="CP_ComTitle2"> <td class="CP_ComTitle2">
人民币小计 人民币小计
</td> </td>
<td colspan="6"> <td colspan="5">
{{zazhiXiaoJi(1)}} {{zazhiXiaoJi(1)}}
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="14"></td> <td colspan="12"></td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2" colspan="4">其他支出</td> <td class="CP_ComTitle2" colspan="4">其他支出</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="4">团负费</td>
</tr> </tr>
<tr> <tr>
<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="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>
<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 class="CP_ComTitle2" colspan="2">销售提成1%</td> <td class="CP_ComTitle2" colspan="2">销售提成1%</td>
<td colspan="2"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.SalesCommissionMoney" <el-input type='text' class="w70" 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">客人小费收入</td> <td class="CP_ComTitle2" colspan="2">客人小费收入</td>
<td colspan="3"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.TripMoney" <el-input type='text' class="w70" 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>
<td class="CP_ComTitle2" colspan="2">KB</td> <td class="CP_ComTitle2" colspan="2">KB</td>
<td colspan="3"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.KBMoney" <el-input type='text' class="w70" v-model="OtherPrice.KBMoney"
@keyup.native="checkPrice(OtherPrice,'KBMoney',true),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'KBMoney',true),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
...@@ -710,18 +703,18 @@ ...@@ -710,18 +703,18 @@
<td class="CP_ComTitle2" colspan="2">作业处提成</td> <td class="CP_ComTitle2" colspan="2">作业处提成</td>
<td colspan="2"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.OfficeCommissionMoney" <el-input type='text' class="w70" 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 class="CP_ComTitle2" colspan="2">导游人头费</td> <td class="CP_ComTitle2" colspan="2">导游人头费</td>
<td colspan="3"> <td colspan="2">
<el-form-item> <el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.GuidePeopleMoney" <el-input type='text' class="w70" 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="4"></td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2" colspan="2"> <td class="CP_ComTitle2" colspan="2">
...@@ -733,27 +726,27 @@ ...@@ -733,27 +726,27 @@
<td class="CP_ComTitle2" colspan="2"> <td class="CP_ComTitle2" colspan="2">
人民币小计 人民币小计
</td> </td>
<td colspan="3"> <td colspan="2">
{{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="3"> <td colspan="2">
{{Number(OtherPrice.KBMoney)}} {{Number(OtherPrice.KBMoney)}}
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="14"></td> <td colspan="12"></td>
</tr> </tr>
<tr> <tr>
<td colspan="14" class="CP_ComTitle2">领队分摊部分 <td colspan="12" class="CP_ComTitle2">领队分摊部分
</td> </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">机票</td>
<td class="CP_ComTitle2 CostcomCenter" colspan="2">门票</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">单房差</td> <td class="CP_ComTitle2 CostcomCenter">单房差</td>
<td class="CP_ComTitle2 CostcomCenter" colspan="2">内陆段交通</td> <td class="CP_ComTitle2 CostcomCenter" colspan="2">内陆段交通</td>
...@@ -762,13 +755,13 @@ ...@@ -762,13 +755,13 @@
</tr> </tr>
<tr> <tr>
<td></td> <td></td>
<td colspan="2"> <td>
<el-form-item> <el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.AirTicketShareMoney" <el-input type='text' class="w70" v-model="OtherPrice.AirTicketShareMoney"
@keyup.native="checkPrice(OtherPrice,'AirTicketShareMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'AirTicketShareMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="2"> <td>
<el-form-item> <el-form-item>
<el-input type='text' class="w70" v-model="OtherPrice.TicketShareMoney" <el-input type='text' class="w70" v-model="OtherPrice.TicketShareMoney"
@keyup.native="checkPrice(OtherPrice,'TicketShareMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'TicketShareMoney'),getchange()"></el-input>
...@@ -802,8 +795,8 @@ ...@@ -802,8 +795,8 @@
</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 colspan="2">{{item.AirTicketMoney}}</td> <td>{{item.AirTicketMoney}}</td>
<td colspan="2">{{item.TicketMoney}}</td> <td>{{item.TicketMoney}}</td>
<td colspan="2">{{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>
...@@ -811,15 +804,15 @@ ...@@ -811,15 +804,15 @@
<td colspan="2">{{item.SubtotalMoney}}</td> <td colspan="2">{{item.SubtotalMoney}}</td>
</tr> </tr>
<tr> <tr>
<td colspan="14"></td> <td colspan="12"></td>
</tr> </tr>
<tr> <tr>
<td colspan="14" class="CP_ComTitle2">成本回扣 <td colspan="12" class="CP_ComTitle2">成本回扣
</td> </td>
</tr> </tr>
<tr> <tr>
<td>导游回补</td> <td>导游回补</td>
<td colspan="13"> <td colspan="11">
<el-form-item> <el-form-item>
<el-input type='text' class="w70" v-model="OtherPrice.GuideComplement" <el-input type='text' class="w70" v-model="OtherPrice.GuideComplement"
@keyup.native="checkPrice(OtherPrice,'GuideComplement'),getchange()">></el-input> @keyup.native="checkPrice(OtherPrice,'GuideComplement'),getchange()">></el-input>
...@@ -828,7 +821,7 @@ ...@@ -828,7 +821,7 @@
</tr> </tr>
<tr> <tr>
<td>小费回补</td> <td>小费回补</td>
<td colspan="13"> <td colspan="11">
<el-form-item> <el-form-item>
<el-input type='text' class="w70" v-model="OtherPrice.TipComplement" <el-input type='text' class="w70" v-model="OtherPrice.TipComplement"
@keyup.native="checkPrice(OtherPrice,'TipComplement'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'TipComplement'),getchange()"></el-input>
...@@ -836,10 +829,10 @@ ...@@ -836,10 +829,10 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="14"></td> <td colspan="12"></td>
</tr> </tr>
<tr> <tr>
<td colspan="14" class="CP_ComTitle2">成本统计(以下报价为每人费用)<br /> <td colspan="12" class="CP_ComTitle2">成本统计(以下报价为每人费用)<br />
计算规则: (房+餐+车+景点)*汇率+内陆段交通*汇率+杂支部分*汇率+其他资产+机票票+收入-团负费+领队分摊+地接报价*汇率-导游回补-小费回补 计算规则: (房+餐+车+景点)*汇率+内陆段交通*汇率+杂支部分*汇率+其他资产+机票票+收入-团负费+领队分摊+地接报价*汇率-导游回补-小费回补
</td> </td>
</tr> </tr>
...@@ -889,7 +882,7 @@ ...@@ -889,7 +882,7 @@
@keyup.native="checkPrice(item,'JPYSalePrice',true)" maxlength="8"></el-input> @keyup.native="checkPrice(item,'JPYSalePrice',true)" maxlength="8"></el-input>
</td> </td>
<td> <td>
<el-select style="width:100%" v-model="postConfig.SaleOfferPayType" :placeholder="$t('pub.pleaseSel')" <el-select sclass="w70" v-model="postConfig.SaleOfferPayType" :placeholder="$t('pub.pleaseSel')"
filterable> filterable>
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option v-for="item in payTypeList" :label='item.label' :value='item.value' :key='item.value'> <el-option v-for="item in payTypeList" :label='item.label' :value='item.value' :key='item.value'>
...@@ -901,8 +894,7 @@ ...@@ -901,8 +894,7 @@
@keyup.native="checkPrice(item,'ShouPeiFee',true)" maxlength="8"></el-input> @keyup.native="checkPrice(item,'ShouPeiFee',true)" maxlength="8"></el-input>
</td> </td>
<td> <td>
<el-select style="width:100%" v-model="postConfig.OfferPayType" :placeholder="$t('pub.pleaseSel')" <el-select class="w70" v-model="postConfig.OfferPayType" :placeholder="$t('pub.pleaseSel')" filterable>
filterable>
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option v-for="item in payTypeList" :label='item.label' :value='item.value' :key='item.value'> <el-option v-for="item in payTypeList" :label='item.label' :value='item.value' :key='item.value'>
</el-option> </el-option>
...@@ -913,7 +905,7 @@ ...@@ -913,7 +905,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="14"></td> <td colspan="12"></td>
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2"> <td class="CP_ComTitle2">
...@@ -922,10 +914,10 @@ ...@@ -922,10 +914,10 @@
<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">
儿童不占床 儿童不占床
</td> </td>
<td class="CP_ComTitle2" colspan="2"> <td class="CP_ComTitle2" colspan="2">
...@@ -952,12 +944,12 @@ ...@@ -952,12 +944,12 @@
@keyup.native="checkPrice(teamPrice,'SingleDMCPrice')" class="w70"> @keyup.native="checkPrice(teamPrice,'SingleDMCPrice')" class="w70">
</el-input> </el-input>
</td> </td>
<td colspan="2"> <td>
<el-input placeholder="" v-model="teamPrice.ChildNeedPrice" <el-input placeholder="" v-model="teamPrice.ChildNeedPrice"
@keyup.native="checkInteger(teamPrice,'ChildNeedPrice')" class="w70"> @keyup.native="checkInteger(teamPrice,'ChildNeedPrice')" class="w70">
</el-input> </el-input>
</td> </td>
<td colspan="2"> <td>
<el-input placeholder="" v-model="teamPrice.ChildNoNeedPrice" <el-input placeholder="" v-model="teamPrice.ChildNoNeedPrice"
@keyup.native="checkInteger(teamPrice,'ChildNoNeedPrice')" class="w70"> @keyup.native="checkInteger(teamPrice,'ChildNoNeedPrice')" class="w70">
</el-input> </el-input>
...@@ -985,7 +977,7 @@ ...@@ -985,7 +977,7 @@
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2">附件</td> <td class="CP_ComTitle2">附件</td>
<td colspan="13"> <td colspan="12">
<el-upload v-if="!teamPrice.ContractArray || !teamPrice.ContractArray.length" class="upload-demo" <el-upload v-if="!teamPrice.ContractArray || !teamPrice.ContractArray.length" class="upload-demo"
style="display:inline-block;position:relative;top:-1px;left:3px;" :http-request="uploadFileBtn" style="display:inline-block;position:relative;top:-1px;left:3px;" :http-request="uploadFileBtn"
:show-file-list="false" action=""> :show-file-list="false" action="">
...@@ -1036,31 +1028,31 @@ ...@@ -1036,31 +1028,31 @@
value: 3, value: 3,
label: '外站自理' label: '外站自理'
}, ], }, ],
HotelName: null,//酒店下拉 HotelName: null, //酒店下拉
loading: false loading: false
} }
}, },
methods: { methods: {
// 获取酒店名称 // 获取酒店名称
getHotel(subItem,HotelId){ getHotel(subItem, HotelId) {
subItem.HotelList.forEach(x=>{ subItem.HotelList.forEach(x => {
if(x.ID==HotelId){ if (x.ID == HotelId) {
subItem.HotelName = x.Name subItem.HotelName = x.Name
} }
}) })
this.$forceUpdate() this.$forceUpdate()
}, },
remoteSearchAdGroup(query,subItem) { remoteSearchAdGroup(query, subItem) {
if (query !== '') { if (query !== '') {
this.loading = true; this.loading = true;
this.initHotel(query,subItem) this.initHotel(query, subItem)
} else { } else {
subItem.HotelList = [] subItem.HotelList = []
this.HotelName = []; this.HotelName = [];
} }
}, },
//初始化酒店列表 //初始化酒店列表
initHotel(query,subItem,day) { initHotel(query, subItem, day) {
this.apipost( this.apipost(
"hotel_post_GetList", { "hotel_post_GetList", {
Name: query Name: query
...@@ -1068,18 +1060,18 @@ ...@@ -1068,18 +1060,18 @@
res => { res => {
this.loading = false this.loading = false
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
if(day==null){ if (day == null) {
for(let i=0;i<this.dayCostPrice.length;i++){ for (let i = 0; i < this.dayCostPrice.length; i++) {
if(!this.dayCostPrice[i].HotelList||this.dayCostPrice[i].HotelList.length==0){ if (!this.dayCostPrice[i].HotelList || this.dayCostPrice[i].HotelList.length == 0) {
this.dayCostPrice[i].HotelList = res.data.data this.dayCostPrice[i].HotelList = res.data.data
} }
} }
if(subItem&&(subItem.HotelList||subItem.HotelList.length>0)){ if (subItem && (subItem.HotelList || subItem.HotelList.length > 0)) {
subItem.HotelList = res.data.data subItem.HotelList = res.data.data
// subItem.HotelId = null // subItem.HotelId = null
// subItem.HotelName = '' // subItem.HotelName = ''
} }
}else if(day!=null){ } else if (day != null) {
this.dayCostPrice[day].HotelList = res.data.data this.dayCostPrice[day].HotelList = res.data.data
} }
this.$forceUpdate() this.$forceUpdate()
...@@ -1436,8 +1428,8 @@ ...@@ -1436,8 +1428,8 @@
DinnerCostPrice: 0, //晚餐报价 DinnerCostPrice: 0, //晚餐报价
ContainDinnerType: 0, //含餐类型(1-含早餐,2-含晚餐,3-含早晚) ContainDinnerType: 0, //含餐类型(1-含早餐,2-含晚餐,3-含早晚)
PassFee: 0, //过路费 PassFee: 0, //过路费
HotelList: [],//酒店下拉 HotelList: [], //酒店下拉
HotelId: null,//酒店ID HotelId: null, //酒店ID
HotelName: "", //酒店名称 HotelName: "", //酒店名称
RebatePrice: 0, //回佣 RebatePrice: 0, //回佣
OtherPrice: 0, //其它费用(保险、司导杂费等) OtherPrice: 0, //其它费用(保险、司导杂费等)
...@@ -1709,21 +1701,21 @@ ...@@ -1709,21 +1701,21 @@
dayCostPrice: { dayCostPrice: {
handler(val, oldVal) { handler(val, oldVal) {
// 初始化酒店 // 初始化酒店
setTimeout(()=>{ setTimeout(() => {
if(this.dayCostPrice&&this.dayCostPrice.length>0){ if (this.dayCostPrice && this.dayCostPrice.length > 0) {
let arrList = function(list){ let arrList = function (list) {
list.forEach(x=>{ list.forEach(x => {
x.HotelList = [] x.HotelList = []
}) })
} }
arrList(this.dayCostPrice) arrList(this.dayCostPrice)
for(let i=0;i<this.dayCostPrice.length;i++){ for (let i = 0; i < this.dayCostPrice.length; i++) {
if(this.dayCostPrice[i].HotelName!=''){ if (this.dayCostPrice[i].HotelName != '') {
this.initHotel(this.dayCostPrice[i].HotelName,this.dayCostPrice[i],i) this.initHotel(this.dayCostPrice[i].HotelName, this.dayCostPrice[i], i)
} }
} }
} }
},100) }, 100)
}, },
deep: true, deep: true,
} }
......
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