Commit 79adadb5 authored by 黄奎's avatar 黄奎

报价单调整

parent b706681b
...@@ -181,6 +181,10 @@ ...@@ -181,6 +181,10 @@
<el-input type="textarea" resize="none" style="width:180px;" v-model="subItem.Title"></el-input> <el-input type="textarea" resize="none" style="width:180px;" v-model="subItem.Title"></el-input>
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==90">
<el-input v-model="subItem.HotelName"></el-input>
</template>
<template v-else>
<el-select filterable remote :remote-method="(query) => remoteSearchAdGroup(query, subItem)" <el-select filterable remote :remote-method="(query) => remoteSearchAdGroup(query, subItem)"
v-model='subItem.HotelId' :placeholder="$t('objFill.qingshurujdmc')" :loading="loading" v-model='subItem.HotelId' :placeholder="$t('objFill.qingshurujdmc')" :loading="loading"
@change="getHotel(subItem,subItem.HotelId)" style="width:135px;"> @change="getHotel(subItem,subItem.HotelId)" style="width:135px;">
...@@ -195,6 +199,7 @@ ...@@ -195,6 +199,7 @@
</template> </template>
</el-option> </el-option>
</el-select> </el-select>
</template>
<el-form-item :label="$t('objFill.v101.hancan')"> <el-form-item :label="$t('objFill.v101.hancan')">
<el-select v-model='subItem.ContainDinnerType' style="width:100px;" <el-select v-model='subItem.ContainDinnerType' style="width:100px;"
:placeholder="$t('objFill.v101.hancanlxin')" @change="DinnerTypeChange(subItem)"> :placeholder="$t('objFill.v101.hancanlxin')" @change="DinnerTypeChange(subItem)">
...@@ -305,6 +310,17 @@ ...@@ -305,6 +310,17 @@
</template> </template>
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==90">
<template v-for="(scenicItem,scenicIndex) in subItem.ScenicList">
<template v-if="scenicIndex==0">
<el-input v-model="scenicItem.TicketName"></el-input>
</template>
<template v-else-if="scenicIndex!=0 && subItem.ScenicList[scenicIndex-1].TicketName!=''">
<el-input v-model="scenicItem.TicketName"></el-input>
</template>
</template>
</template>
<template v-else>
<template v-for="(scenicItem,scenicIndex) in subItem.ScenicList"> <template v-for="(scenicItem,scenicIndex) in subItem.ScenicList">
<template v-if="scenicIndex==0"> <template v-if="scenicIndex==0">
<el-select :key="`d_`+subIndex+`_sn_`+scenicIndex" filterable remote <el-select :key="`d_`+subIndex+`_sn_`+scenicIndex" filterable remote
...@@ -327,8 +343,26 @@ ...@@ -327,8 +343,26 @@
</el-select> </el-select>
</template> </template>
</template> </template>
</template>
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==90">
<template v-for="(scenicItem,scenicIndex) in subItem.ScenicList">
<template v-if="scenicIndex==0">
<el-input :key="`d_`+subIndex+`_sc_`+scenicIndex" type='text' v-model="scenicItem.TicketCostPrice"
class="w70" @keyup.native="checkPrice(scenicItem,'TicketCostPrice'),getchange(1)"
:placeholder="$t('objFill.v101.jindianjiag')">
</el-input>
</template>
<template v-else-if="scenicIndex!=0 && subItem.ScenicList[scenicIndex-1].TicketName!=''">
<el-input :key="`d_`+subIndex+`_sc_`+scenicIndex" type='text' v-model="scenicItem.TicketCostPrice"
class="w70" @keyup.native="checkPrice(scenicItem,'TicketCostPrice'),getchange(1)"
:placeholder="$t('objFill.v101.jindianjiag')">
</el-input>
</template>
</template>
</template>
<template v-else>
<template v-for="(scenicItem,scenicIndex) in subItem.ScenicList"> <template v-for="(scenicItem,scenicIndex) in subItem.ScenicList">
<template v-if="scenicIndex==0"> <template v-if="scenicIndex==0">
<el-input :key="`d_`+subIndex+`_sc_`+scenicIndex" type='text' v-model="scenicItem.TicketCostPrice" <el-input :key="`d_`+subIndex+`_sc_`+scenicIndex" type='text' v-model="scenicItem.TicketCostPrice"
...@@ -343,6 +377,8 @@ ...@@ -343,6 +377,8 @@
</el-input> </el-input>
</template> </template>
</template> </template>
</template>
</td> </td>
<td> <td>
<el-input type="text" v-model='subItem.OtherName' class="w70" <el-input type="text" v-model='subItem.OtherName' class="w70"
......
...@@ -168,6 +168,29 @@ ...@@ -168,6 +168,29 @@
</el-input> </el-input>
</td> </td>
</tr> </tr>
<tr v-if="postData.LineId==90">
<td colspan="6" style="height:20px;">
</td>
</tr>
<tr v-if="postData.LineId==90">
<td width="80" class="txtRightCost">客户电话</td>
<td>
<el-input v-model="postData.CustomerTel" type="text" placeholder="客户电话"
maxlength="200">
</el-input>
</td>
<td width="80" class="txtRightCost">领队人数</td>
<td>
<el-input v-model="postData.LeaderNum" type="text" :placeholder="$t('fnc.khmingcheng')" maxlength="200">
</el-input>
</td>
<td width="80" class="txtRightCost">自动下单</td>
<td>
<el-switch v-model="postData.IsCreateOrder" active-color="#13ce66" inactive-color="#ff4949"
:active-value="1" :inactive-value="0">
</el-switch>
</td>
</tr>
<tr> <tr>
<td colspan="6" style="height:20px;"> <td colspan="6" style="height:20px;">
</td> </td>
...@@ -272,7 +295,10 @@ ...@@ -272,7 +295,10 @@
OPId: "", OPId: "",
AssistantList: [], AssistantList: [],
dayCostPriceList: [], //行程报价 dayCostPriceList: [], //行程报价
OfferArray: [] OfferArray: [],
CustomerTel: "", //客户电话
LeaderNum: 0, //领队数量
IsCreateOrder: 0, //是否自动生成订单
}, },
isSubmit: true, isSubmit: true,
LineList: [], //线路列表 LineList: [], //线路列表
...@@ -675,6 +701,15 @@ ...@@ -675,6 +701,15 @@
if (tempData.OutBranchName && tempData.OutBranchName != '') { if (tempData.OutBranchName && tempData.OutBranchName != '') {
this.postData.OutBranchId = Number(tempData.OutBranchId); this.postData.OutBranchId = Number(tempData.OutBranchId);
} }
if (tempData.OutBranchName && tempData.OutBranchName != '') {
this.postData.CustomerTel = tempData.CustomerTel;
}
if (tempData.LeaderNum && tempData.LeaderNum != 0) {
this.postData.LeaderNum = Number(tempData.LeaderNum);
}
if (tempData.IsCreateOrder && tempData.IsCreateOrder != 0) {
this.postData.IsCreateOrder = Number(tempData.IsCreateOrder);
}
if (tempData.IsRoll) { if (tempData.IsRoll) {
this.postData.IsRoll = tempData.IsRoll; this.postData.IsRoll = tempData.IsRoll;
} }
......
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