Commit 256fd9ff authored by zhengke's avatar zhengke

修改

parent 8376a94b
......@@ -8,14 +8,15 @@
<div>
<div class="singlePrice clearfix CP_Div">
<div class="CP_title">
{{lineName}}{{lineTeamName}}
<!-- {{lineName}}{{lineTeamName}} -->
123
</div>
<el-form>
<!-- <div class="QuotationFirstDiv">
<div class="QuotationFirstDiv">
<el-row :gutter="40">
<el-col :span="12">
<el-form-item label="线路">
<el-select v-model="subConfig.LineId" :placeholder="$t('pub.pleaseSel')" @change="getLineTeamList(subConfig.LineId)" filterable>
<el-select v-model="postConfig.LineId" :placeholder="$t('pub.pleaseSel')" @change="getLineTeamList(postConfig.LineId)" filterable>
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option
v-for="item in LineList"
......@@ -28,7 +29,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="系列">
<el-select v-model="subConfig.LineteamId" :placeholder="$t('pub.pleaseSel')" @change="getCountryId(subConfig.LineteamId)" filterable>
<el-select v-model="postConfig.LineteamId" :placeholder="$t('pub.pleaseSel')" @change="getCountryId(postConfig.LineteamId)" filterable>
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option
v-for="item in LineTeamList"
......@@ -43,7 +44,7 @@
<el-row>
<el-col :span="24">
<el-form-item label="团队标题">
<el-input v-model="subConfig.Title" type="textarea" :autosize="{minRows: 1, maxRows: 2 }" resize="none" placeholder="请填写团队标题" maxlength="200"></el-input>
<el-input v-model="postConfig.Title" type="textarea" :autosize="{minRows: 1, maxRows: 2 }" resize="none" placeholder="请填写团队标题" maxlength="200"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -53,28 +54,28 @@
<el-row :gutter="20">
<el-col :span="6">
<el-form-item prop="YSeat" >
<el-input placeholder="人数" v-model="subConfig.YSeat" maxlength="2" @keyup.native="checkInteger(subConfig,'YSeat'),calcTotalCount()">
<el-input placeholder="人数" v-model="postConfig.YSeat" maxlength="2" @keyup.native="checkInteger(postConfig,'YSeat'),calcTotalCount()">
<template slot="prepend">经济舱/上铺</template>
</el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item prop="CSeat">
<el-input placeholder="人数" v-model="subConfig.CSeat" maxlength="2" @keyup.native="checkInteger(subConfig,'CSeat'),calcTotalCount()">
<el-input placeholder="人数" v-model="postConfig.CSeat" maxlength="2" @keyup.native="checkInteger(postConfig,'CSeat'),calcTotalCount()">
<template slot="prepend">商务舱/中铺</template>
</el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item prop="FSeat">
<el-input placeholder="人数" v-model="subConfig.FSeat" maxlength="2" @keyup.native="checkInteger(subConfig,'FSeat'),calcTotalCount()">
<el-input placeholder="人数" v-model="postConfig.FSeat" maxlength="2" @keyup.native="checkInteger(postConfig,'FSeat'),calcTotalCount()">
<template slot="prepend">头等舱/下铺</template>
</el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item>
<el-input placeholder="人数" v-model="subConfig.LowNum" maxlength="2" >
<el-input placeholder="人数" v-model="postConfig.LowNum" maxlength="2" >
<template slot="prepend">最低成团人数</template>
</el-input>
</el-form-item>
......@@ -82,7 +83,28 @@
</el-row>
</div>
</div>
</div> -->
<div class="seat-box">
<div class="left">行程天数</div>
<div class="right">
<el-row :gutter="20">
<el-col :span="6">
<el-form-item>
<el-input class="w120 LowNum" v-model="postConfig.DayNum" @keyup.native="checkInteger(postConfig,'DayNum');createLineTrip()">
<template slot="append"></template>
</el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item>
<el-input class="w120 LowNum" v-model="postConfig.NightNum" @keyup.native="checkInteger(postConfig,'NightNum')">
<template slot="append"></template>
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
</div>
</div>
<table class="CP_comTable">
<tr>
<td class="CP_comBack" width="170">币种</td>
......@@ -156,6 +178,7 @@
<table class="CostPriceTable">
<tr>
<th rowspan="2" width='100'>Day</th>
<th rowspan="2" width='100'>行程大点</th>
<th rowspan="2" width="200">币种</th>
<th rowspan="2" width='220'>酒店</th>
<th rowspan="2" width='200'></th>
......@@ -169,6 +192,9 @@
</tr>
<tr v-for="subItem in OfferCostPriceObj.CostLocalList" :key="subItem.subCode">
<td align="center">{{subItem.DayNum}}</td>
<td>
<el-input type="textarea" resize="none"></el-input>
</td>
<td>
<el-form-item>
<el-select v-model='subItem.CurrencyId'>
......@@ -490,7 +516,7 @@
</template>
<script>
export default {
props: ["OfferCostPrice", "lineName", "lineTeamName"],
props: ["postConfig","OfferCostPrice", "dayCostPrice"],
data() {
return {
checkedPei: [],
......@@ -834,6 +860,8 @@
});
this.shortPeopleNumber();
this.getSubtotalMoney();
console.log(this.OfferCostPriceObj,'offerobj');
},
//计算领队分摊
getLeaderShare() {
......
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