Commit 0a5c2161 authored by zhengke's avatar zhengke

修改

parent 4998f66d
......@@ -49,6 +49,9 @@
text-align: right;
padding-right: 10px;
}
.CostNewTable .el-input__inner{
padding:0 5px;
}
</style>
<template>
......@@ -159,7 +162,7 @@
</span>
</td>
<td :colspan="9-2-CostCurrencyList.length+1">
<el-form-item class="w100">
<el-form-item class="w80">
<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>
......@@ -170,12 +173,12 @@
<tr>
<td class="CP_ComTitle2 CostcomCenter">汇率</td>
<td v-for='item in CostCurrencyList'>
<el-input class="w80" v-model='item.ExchangeRate'
<el-input class="w60" v-model='item.ExchangeRate'
@keyup.native="checkRate(item,'ExchangeRate'),getchange()">
</el-input>
</td>
<td :colspan="9-2-CostCurrencyList.length+1">
<el-input class="w100" v-model='queryMsg.RateInput'
<el-input class="w80" v-model='queryMsg.RateInput'
@keyup.native="checkRate(queryMsg,'RateInput'),getchange()">
</el-input>
</td>
......@@ -183,7 +186,7 @@
<tr>
<td width="170" class="CP_ComTitle2 CostcomCenter">人数</td>
<td v-for="(item,index) in CostNumberList" :key='item.subCode'>
<el-input class="w79" v-model='item.PeopleNumber' @keyup.native="checkInteger(item,'PeopleNumber')">
<el-input class="w50" v-model='item.PeopleNumber' @keyup.native="checkInteger(item,'PeopleNumber')">
</el-input>
<span>
<i class="iconfont icon-quxiao" @click="DeletePNumber(index),getchange()"></i>
......@@ -191,7 +194,7 @@
</td>
<td width="150" :colspan="9-2-CostNumberList.length+1">
<el-form-item>
<el-input class="w79" v-model='queryMsg.PeopleNumber'
<el-input class="w50" v-model='queryMsg.PeopleNumber'
@keyup.native="checkInteger(queryMsg,'PeopleNumber'),getchange()"></el-input>
<i class="iconfont icon-img_haha" style="cursor:pointer;" @click="addPeoNunber"></i>
</el-form-item>
......@@ -203,7 +206,7 @@
</td>
<td v-if="checkExists(item.CurrencyId)" v-for="childItem in getCurrencyNumberList(item.CurrencyId)">
<el-form-item>
<el-input class="w80" v-model='childItem.Money'
<el-input class="w60" v-model='childItem.Money'
@keyup.native="checkPrice(childItem,'Money',true),getchange()"></el-input>
</el-form-item>
</td>
......@@ -233,11 +236,11 @@
<div style="width:100px;">{{subItem.DayNum}}</div>
</td>
<td>
<el-input type="textarea" resize="none" v-model="subItem.Title"></el-input>
<el-input type="textarea" resize="none" class="w200" v-model="subItem.Title"></el-input>
</td>
<td>
<el-form-item>
<el-select v-model='subItem.CurrencyId' class="w100">
<el-select v-model='subItem.CurrencyId' class="w80">
<el-option :label="$t('pub.unlimitedSel')" :value='defaultSelect'></el-option>
<el-option v-for="items in CostCurrencyList" :label='items.CurrencyName' :value='items.CurrencyId'
:key='items.CurrencyId'>
......@@ -246,20 +249,20 @@
</el-form-item>
</td>
<td>
<el-input type='text' v-model="subItem.HotelCostPrice" class="w100"
<el-input type='text' v-model="subItem.HotelCostPrice" class="w80"
@keyup.native="checkPrice(subItem,'HotelCostPrice')"></el-input>
</td>
<td>
<el-input type='text' v-model="subItem.BusCostPrice" class="w100"
<el-input type='text' v-model="subItem.BusCostPrice" class="w80"
@keyup.native="checkPrice(subItem,'BusCostPrice'),getchange()">
</el-input>
</td>
<td>
<el-input type='text' v-model="subItem.ScenicCostPrice" class="w100"
<el-input type='text' v-model="subItem.ScenicCostPrice" class="w80"
@keyup.native="checkPrice(subItem,'ScenicCostPrice'),getchange()"></el-input>
</td>
<td>
<el-input type="text" v-model='subItem.BreakfastCostPrice' class="w100"
<el-input type="text" v-model='subItem.BreakfastCostPrice' class="w80"
@keyup.native="checkPrice(subItem,'BreakfastCostPrice'),getchange()">
</el-input>
</td>
......@@ -284,7 +287,7 @@
<td class="CP_ComTitle2">内陆段机位(每人)</td>
<td>
<el-form-item>
<el-select v-model='OtherPrice.InlandAirTicketCurrency' class="w100">
<el-select v-model='OtherPrice.InlandAirTicketCurrency' class="w80">
<el-option :label="$t('pub.unlimitedSel')" :value='defaultSelect'></el-option>
<el-option v-for="items in CostCurrencyList" :label='items.CurrencyName' :value='items.CurrencyId'
:key='items.CurrencyId'>
......@@ -294,7 +297,7 @@
</td>
<td >
<el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.InlandAirTicketMoney"
<el-input type='text' class="w80" v-model="OtherPrice.InlandAirTicketMoney"
@keyup.native="checkPrice(OtherPrice,'InlandAirTicketMoney'),getchange()"></el-input>
</el-form-item>
</td>
......@@ -312,7 +315,7 @@
<td class="CP_ComTitle2">内陆段船票(每人)</td>
<td>
<el-form-item>
<el-select v-model='OtherPrice.InlandShipTicketCurrency' class="w100">
<el-select v-model='OtherPrice.InlandShipTicketCurrency' class="w80">
<el-option :label="$t('pub.unlimitedSel')" :value='defaultSelect'></el-option>
<el-option v-for="items in CostCurrencyList" :label='items.CurrencyName' :value='items.CurrencyId'
:key='items.CurrencyId'>
......@@ -322,7 +325,7 @@
</td>
<td >
<el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.InlandShipTicketMoney"
<el-input type='text' class="w80" v-model="OtherPrice.InlandShipTicketMoney"
@keyup.native="checkPrice(OtherPrice,'InlandShipTicketMoney'),getchange()"></el-input>
</el-form-item>
</td>
......@@ -340,7 +343,7 @@
<td class="CP_ComTitle2">内陆段火车票(每人)</td>
<td>
<el-form-item>
<el-select v-model='OtherPrice.InlandTrainTicketCurrency' class="w100">
<el-select v-model='OtherPrice.InlandTrainTicketCurrency' class="w80">
<el-option :label="$t('pub.unlimitedSel')" :value='defaultSelect'></el-option>
<el-option v-for="items in CostCurrencyList" :label='items.CurrencyName' :value='items.CurrencyId'
:key='items.CurrencyId'>
......@@ -350,7 +353,7 @@
</td>
<td >
<el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.InlandTrainTicketMoney"
<el-input type='text' class="w80" v-model="OtherPrice.InlandTrainTicketMoney"
@keyup.native="checkPrice(OtherPrice,'InlandTrainTicketMoney'),getchange()"></el-input>
</el-form-item>
</td>
......@@ -385,13 +388,13 @@
</tr>
<tr>
<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">金额(人民币)</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>
</tr>
<tr>
<td style="white-space:nowrap; " class="CP_ComTitle2">销售提成1%</td>
......@@ -404,14 +407,14 @@
<td class="CP_ComTitle2">机票</td>
<td>
<el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.AirTicketMoeny"
<el-input type='text' class="w80" v-model="OtherPrice.AirTicketMoeny"
@keyup.native="checkPrice(OtherPrice,'AirTicketMoeny'),getchange()"></el-input>
</el-form-item>
</td>
<td class="CP_ComTitle2">客人小费收入</td>
<td>
<el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.TripMoney"
<el-input type='text' class="w80" v-model="OtherPrice.TripMoney"
@keyup.native="checkPrice(OtherPrice,'TripMoney',true),getchange()"></el-input>
</el-form-item>
</td>
......@@ -435,7 +438,7 @@
<td class="CP_ComTitle2">导游人头费</td>
<td>
<el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.GuidePeopleMoney"
<el-input type='text' class="w80" v-model="OtherPrice.GuidePeopleMoney"
@keyup.native="checkPrice(OtherPrice,'GuidePeopleMoney'),getchange()"></el-input>
</el-form-item>
</td>
......@@ -466,25 +469,25 @@
</td>
<td>
<el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.TicketShareMoney"
<el-input type='text' class="w80" v-model="OtherPrice.TicketShareMoney"
@keyup.native="checkPrice(OtherPrice,'TicketShareMoney'),getchange()"></el-input>
</el-form-item>
</td>
<td>
<el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.SingleRoomShareMoney"
<el-input type='text' class="w80" v-model="OtherPrice.SingleRoomShareMoney"
@keyup.native="checkPrice(OtherPrice,'SingleRoomShareMoney'),getchange()"></el-input>
</el-form-item>
</td>
<td>
<el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.InlandTrafficShareMoney"
<el-input type='text' class="w80" v-model="OtherPrice.InlandTrafficShareMoney"
@keyup.native="checkPrice(OtherPrice,'InlandTrafficShareMoney'),getchange()"></el-input>
</el-form-item>
</td>
<td>
<el-form-item>
<el-input type='text' class="w100" v-model="OtherPrice.OtherShareMoney"
<el-input type='text' class="w80" v-model="OtherPrice.OtherShareMoney"
@keyup.native="checkPrice(OtherPrice,'OtherShareMoney'),getchange()"></el-input>
</el-form-item>
</td>
......@@ -503,7 +506,7 @@
<td colspan="9"></td>
</tr>
<tr>
<td colspan="9" class="CP_ComTitle2">成本统计</td>
<td colspan="9" class="CP_ComTitle2">成本统计(以下报价为每人费用)</td>
</tr>
<tr>
<td class="CP_ComTitle2">人数统计</td>
......@@ -514,100 +517,7 @@
<td colspan="8">{{item.TotalMoney}}</td>
</tr>
</table>
<!-- <div class="CP_ComTitle">领队分摊部分</div>
<table class="CP_comTable">
<tr>
<td width='200'>人数</td>
<td width="200"></td>
<td width="150" v-for="item in CostNumberList" :key="item.subCode">
{{item.PeopleNumber}}+1
</td>
</tr>
<tr>
<td>机票</td>
<td>
<el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.AirTicketShareMoney"
@keyup.native="checkPrice(OtherPrice,'AirTicketShareMoney'),getchange()"></el-input>
</el-form-item>
</td>
<td v-for="item in CostNumberList" :key="item.subCode">
{{item.AirTicketMoney}}
</td>
</tr>
<tr>
<td>门票</td>
<td>
<el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.TicketShareMoney"
@keyup.native="checkPrice(OtherPrice,'TicketShareMoney'),getchange()"></el-input>
</el-form-item>
</td>
<td v-for="item in CostNumberList" :key="item.subCode">
{{item.TicketMoney}}
</td>
</tr>
<tr>
<td>单房差</td>
<td>
<el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.SingleRoomShareMoney"
@keyup.native="checkPrice(OtherPrice,'SingleRoomShareMoney'),getchange()"></el-input>
</el-form-item>
</td>
<td v-for="item in CostNumberList" :key="item.subCode">
{{item.SingleRoomMoney}}
</td>
</tr>
<tr>
<td>内陆段交通</td>
<td>
<el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.InlandTrafficShareMoney"
@keyup.native="checkPrice(OtherPrice,'InlandTrafficShareMoney'),getchange()"></el-input>
</el-form-item>
</td>
<td v-for="item in CostNumberList" :key="item.subCode">
{{item.InlandTrafficMoney}}
</td>
</tr>
<tr>
<td>杂费</td>
<td>
<el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.OtherShareMoney"
@keyup.native="checkPrice(OtherPrice,'OtherShareMoney'),getchange()"></el-input>
</el-form-item>
</td>
<td v-for="item in CostNumberList" :key="item.subCode">
{{item.OtherMoney}}
</td>
</tr>
<tr>
<td>小计</td>
<td></td>
<td v-for="item in CostNumberList" :key="item.subCode">
{{item.SubtotalMoney}}
</td>
</tr>
</table> -->
<div class="Cost_Line"></div>
<!-- <div class="CP_ComTitle Cost_Title">成本统计</div>
<table class="CostPriceTable">
<tr>
<td width='250' rowspan="2" class="CP_comBack">
人数统计
</td>
<td v-for="item in CostNumberList" :key="item.subCode" class="CP_comBack">
{{item.PeopleNumber}}+1
</td>
</tr>
<tr>
<td v-for="item in CostNumberList" :key="item.subCode">
{{item.TotalMoney}}
</td>
</tr>
</table> -->
</el-form>
</div>
</div>
......@@ -637,10 +547,6 @@
},
methods: {
ReCalc() {
// this.OfferCostPriceObj = JSON.parse(
// JSON.stringify(this.OfferCostPriceObj)
// );
// this.$emit("headCallBack", this.OfferCostPriceObj);
},
//获取汇率
getCurrencyMoney(currencyId) {
......
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