Commit 48b8c965 authored by 黄奎's avatar 黄奎

报价单页面修改

parent 83a68ee9
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
.CostNewPrice .QuotationFirstDiv1 .el-form-item__content .el-select { .CostNewPrice .QuotationFirstDiv1 .el-form-item__content .el-select {
width: calc(100% - 100px); width: calc(100% - 100px);
} }
.CostNewPrice .CP_ComTitle2{ color:blue;font-weight: bold;}
</style> </style>
<template> <template>
...@@ -49,12 +49,31 @@ ...@@ -49,12 +49,31 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="团队标题" label-width="100px"> <el-form-item label="团队标题" label-width="100px">
<el-input v-model="postConfig.Title" type="textarea" style="width:94%" <el-input v-model="postConfig.Title" type="textarea" style="width:91%"
:autosize="{minRows: 1, maxRows: 2 }" resize="none" placeholder="请填写团队标题" maxlength="200"></el-input> :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"> <el-row :gutter="40">
<el-col :span="12">
<el-form-item label="客户名称" label-width="100px">
<el-input v-model="postConfig.CustomerName" type="text" style="width:385px" placeholder="客户名称" maxlength="200"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="行程天数" label-width="100px">
<el-input class="w120 LowNum" v-model="postConfig.DayNum"
@keyup.native="checkInteger(postConfig,'DayNum');createDayTripPrice()" maxlength="2">
<template slot="append"></template>
</el-input>
<el-input class="w120 LowNum" v-model="postConfig.NightNum" style="display:none;"
@keyup.native="checkInteger(postConfig,'NightNum')" maxlength="2">
<template slot="append"></template>
</el-input>
</el-form-item>
</el-col>
</el-row>
<div class="seat-box" style="display:none;">
<div class="left" style="float:left;margin:6px 0 0 64px;">座位</div> <div class="left" style="float:left;margin:6px 0 0 64px;">座位</div>
<div class="right"> <div class="right">
<el-row :gutter="20"> <el-row :gutter="20">
...@@ -92,25 +111,6 @@ ...@@ -92,25 +111,6 @@
</el-row> </el-row>
</div> </div>
</div> </div>
<div class="seat-box">
<div class="left" style="float:left;margin:6px 0 0 34px;">行程天数</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');createDayTripPrice()" maxlength="2">
<template slot="append"></template>
</el-input>
<el-input class="w120 LowNum" v-model="postConfig.NightNum"
@keyup.native="checkInteger(postConfig,'NightNum')" maxlength="2">
<template slot="append"></template>
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
</div>
</div> </div>
<table class="CP_comTable"> <table class="CP_comTable">
<tr> <tr>
...@@ -143,8 +143,6 @@ ...@@ -143,8 +143,6 @@
</el-input> </el-input>
</td> </td>
</tr> </tr>
</table>
<table class="CP_comTable">
<tr> <tr>
<td class="CP_comBack" width="170">人数</td> <td class="CP_comBack" width="170">人数</td>
<td v-for="(item,index) in CostNumberList" :key='item.subCode'> <td v-for="(item,index) in CostNumberList" :key='item.subCode'>
...@@ -177,15 +175,16 @@ ...@@ -177,15 +175,16 @@
</tr> </tr>
</table> </table>
<table class="CostPriceTable"> <table class="CostPriceTable">
<tr> <tr>
<th rowspan="2" width='80'>Day</th> <th rowspan="2" width='50'>Day</th>
<th rowspan="2" width='200'>行程大点</th> <th rowspan="2" width='200'>行程大点</th>
<th rowspan="2" width="200">币种</th> <th rowspan="2" width="100">币种</th>
<th rowspan="2" width='200'>酒店</th> <th rowspan="2" width='100'>酒店</th>
<th rowspan="2" width='200'></th> <th rowspan="2" width='100'></th>
<th rowspan="2" width='200'>门票</th> <th rowspan="2" width='100'>门票</th>
<th colspan="3" width='200'></th> <th colspan="3" width='100'></th>
</tr> </tr>
<tr> <tr>
<th width="90"></th> <th width="90"></th>
...@@ -234,9 +233,22 @@ ...@@ -234,9 +233,22 @@
@keyup.native="checkPrice(subItem,'DinnerCostPrice'),getchange()"></el-input> @keyup.native="checkPrice(subItem,'DinnerCostPrice'),getchange()"></el-input>
</td> </td>
</tr> </tr>
</table> </table>
<div class="CP_ComTitle">内陆段交通部分</div>
<table class="CostPriceTable"> <table class="CostPriceTable">
<tr>
<td class="CP_ComTitle2" colspan="4">
内陆段交通部分
</td>
<td>
</td>
<td>
</td>
<td class="CP_ComTitle2" colspan="3">
杂支部分
</td>
</tr>
<tr> <tr>
<td width='50'>1</td> <td width='50'>1</td>
<td width='200'>内陆段机位(每人)</td> <td width='200'>内陆段机位(每人)</td>
...@@ -256,6 +268,18 @@ ...@@ -256,6 +268,18 @@
@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>
</td>
<td>
</td>
<td width='50'>1</td>
<td width='200'>签证费(每人)</td>
<td colspan='3'>
<el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.VisaMoney"
@keyup.native="checkPrice(OtherPrice,'VisaMoney'),getchange()"></el-input>
</el-form-item>
</td>
</tr> </tr>
<tr> <tr>
<td>2</td> <td>2</td>
...@@ -276,6 +300,18 @@ ...@@ -276,6 +300,18 @@
@keyup.native="checkPrice(OtherPrice,'InlandShipTicketMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'InlandShipTicketMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td>
</td>
<td>
</td>
<td>2</td>
<td>保险费(每人)</td>
<td>
<el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.SafeMoney"
@keyup.native="checkPrice(OtherPrice,'SafeMoney'),getchange()"></el-input>
</el-form-item>
</td>
</tr> </tr>
<tr> <tr>
<td>3</td> <td>3</td>
...@@ -296,31 +332,10 @@ ...@@ -296,31 +332,10 @@
@keyup.native="checkPrice(OtherPrice,'InlandTrainTicketMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'InlandTrainTicketMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
</tr> <td>
</table>
<div class="CP_ComTitle">杂支部分</div>
<table class="CostPriceTable">
<tr>
<td width='50'>1</td>
<td width='200'>签证费(每人)</td>
<td colspan='3'>
<el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.VisaMoney"
@keyup.native="checkPrice(OtherPrice,'VisaMoney'),getchange()"></el-input>
</el-form-item>
</td> </td>
</tr>
<tr>
<td>2</td>
<td>保险费(每人)</td>
<td> <td>
<el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.SafeMoney"
@keyup.native="checkPrice(OtherPrice,'SafeMoney'),getchange()"></el-input>
</el-form-item>
</td> </td>
</tr>
<tr>
<td>3</td> <td>3</td>
<td>领队小费</td> <td>领队小费</td>
<td> <td>
...@@ -331,6 +346,18 @@ ...@@ -331,6 +346,18 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>4</td> <td>4</td>
<td>司机、导游小费</td> <td>司机、导游小费</td>
<td> <td>
...@@ -341,6 +368,7 @@ ...@@ -341,6 +368,7 @@
</td> </td>
</tr> </tr>
</table> </table>
<div class="CP_ComTitle">其他支出</div> <div class="CP_ComTitle">其他支出</div>
<table class="CostPriceTable"> <table class="CostPriceTable">
<tr> <tr>
...@@ -601,9 +629,8 @@ ...@@ -601,9 +629,8 @@
return totalMoney; return totalMoney;
}, },
//获取系列列表 //获取系列列表
getLineTeamList(lineId,isClear) { getLineTeamList(lineId, isClear) {
if(isClear&&isClear==1) if (isClear && isClear == 1) {
{
this.postConfig.LineteamId = 0; this.postConfig.LineteamId = 0;
} }
......
...@@ -145,22 +145,22 @@ ...@@ -145,22 +145,22 @@
<el-form-item> <el-form-item>
<el-input placeholder="" v-model="teamPrice.B2BMemberPrice" <el-input placeholder="" v-model="teamPrice.B2BMemberPrice"
@keyup.native="checkPrice(teamPrice,'B2BMemberPrice')" class="w200 ComSeat"> @keyup.native="checkPrice(teamPrice,'B2BMemberPrice')" class="w200 ComSeat">
<template slot="prepend">同行会员</template> <template slot="prepend">成本价格</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-input placeholder="" v-model="teamPrice.B2BPrice" @keyup.native="checkPrice(teamPrice,'B2BPrice')" <el-input placeholder="" v-model="teamPrice.B2BPrice" @keyup.native="checkPrice(teamPrice,'B2BPrice')"
class="w200 ComSeat"> class="w200 ComSeat">
<template slot="prepend">同行</template> <template slot="prepend">销售价格</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item style="display:none;">
<el-input placeholder="" v-model="teamPrice.B2CMemberPrice" <el-input placeholder="" v-model="teamPrice.B2CMemberPrice"
@keyup.native="checkPrice(teamPrice,'B2CMemberPrice')" class="w200 ComSeat"> @keyup.native="checkPrice(teamPrice,'B2CMemberPrice')" class="w200 ComSeat">
<template slot="prepend">直客会员</template> <template slot="prepend">直客会员</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item style="display:none;">
<el-input placeholder="" v-model="teamPrice.B2CPrice" @keyup.native="checkPrice(teamPrice,'B2CPrice')" <el-input placeholder="" v-model="teamPrice.B2CPrice" @keyup.native="checkPrice(teamPrice,'B2CPrice')"
class="w200 ComSeat"> class="w200 ComSeat">
<template slot="prepend">直客</template> <template slot="prepend">直客</template>
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
NightNum: 0, //晚数 NightNum: 0, //晚数
StartCityId: 0, StartCityId: 0,
ReturnArriveCityId: 0, //返回抵达城市 ReturnArriveCityId: 0, //返回抵达城市
CustomerName:"",//客户名称
}, },
dayCostPriceList: [], //报价列表 dayCostPriceList: [], //报价列表
isSubmit: true, isSubmit: true,
...@@ -204,6 +205,7 @@ ...@@ -204,6 +205,7 @@
if (tempData.NightNum && tempData.NightNum > 0) { if (tempData.NightNum && tempData.NightNum > 0) {
this.postData.NightNum = tempData.NightNum; this.postData.NightNum = tempData.NightNum;
} }
this.postData.CustomerName=tempData.CustomerName;
this.LineList = tempData.LineList; this.LineList = tempData.LineList;
if (tempData.dayCostPriceList && tempData.dayCostPriceList != null && tempData.dayCostPriceList.length > if (tempData.dayCostPriceList && tempData.dayCostPriceList != null && tempData.dayCostPriceList.length >
0) { 0) {
......
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