Commit 256fd9ff authored by zhengke's avatar zhengke

修改

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