Commit 3f756676 authored by zhengke's avatar zhengke

增加国际化和bus样式

parent cf3107cf
...@@ -658,6 +658,12 @@ export const visa = { ...@@ -658,6 +658,12 @@ export const visa = {
v_yibaoru:'已报入', v_yibaoru:'已报入',
v_houbu:'候补', v_houbu:'候补',
v_yxhoubu:'允许候补', v_yxhoubu:'允许候补',
v_byxhoubu:'不允许候补',
v_sqtime:'送签日期',
v_cqtime:'出签日期',
v_kptime:'开票日期',
v_EuropeanVisaType:'欧洲签证类型',
v_britishVisa:'英国签证',
...@@ -1217,6 +1223,50 @@ export const Operation = { ...@@ -1217,6 +1223,50 @@ export const Operation = {
Op_localBranchPrice:'当地分公司价格', Op_localBranchPrice:'当地分公司价格',
Op_localdaiPrice:'当地代销商价格', Op_localdaiPrice:'当地代销商价格',
Op_localDangPrice:'当地当团利润归属', Op_localDangPrice:'当地当团利润归属',
Op_Country:'国别',
Op_WarningTeam:'预警团',
Op_TransportState:'联运状态',
Op_hide:'隐藏',
Op_TeamWarningSearch:'团控预警查询',
Op_daysChoice:'天数选择',
Op_Attendance:'上座率',
Op_warningSearch:'预警查询',
Op_TeamName:'团名',
Op_nei:'内',
Op_zhu:'主',
Op_lian:'联',
Op_jietuan:'结团',
Op_night:'晚',
Op_teamNotice:'出团通知书',
Op_downLoadword:'下载WORD行程',
Op_PriceInfo:'价格信息',
Op_tradePrice:'同业价',
Op_directPrice:'直客价',
Op_fellowMember:'同行会员',
Op_standard:'标准',
Op_fellow:'同行',
Op_directMember:'直客会员',
Op_direct:'直客',
Op_baby:'婴儿',
Op_spickupPrice:'单地接价格',
Op_Income:'增收',
Op_childBed:'儿童占床',
Op_childSurcharge:'儿童附加费',
Op_oldmanSurcharge:'老人附加费',
Op_visaPrice:'签证费',
Op_singleRoomcha:'单房差',
Op_insurance:'保险',
Op_zafei:'杂费',
Op_jianmian:'减免',
Op_childNobed:'儿童不占床',
Op_visafeeBack:'退签证费',
Op_priceDetail:'查看价格明细',
Op_people:'人',
Op_takeSeat:'占位',
Op_nozhipai:'尚未指派',
Op_caozuoop:'操作op',
Op_bindNum:'绑定数量',
Op_Warmprompt:'温馨提示',
} }
export const rule = { export const rule = {
company: '请选择公司', company: '请选择公司',
......
...@@ -447,91 +447,91 @@ ...@@ -447,91 +447,91 @@
<div class="el-col" style="width:220px;"> <div class="el-col" style="width:220px;">
<div class="d3"> <div class="d3">
<p> <p>
<i class="iconfont icon-tuandui"></i>团队信息 <i class="iconfont icon-tuandui"></i>{{$t('visa.v_teaminfo')}}
</p> </p>
<p> <p>
<em>{{item.DayNum}}{{item.NightNum}}</em> <em>{{item.DayNum}}{{$t('hotel.hotel_day')}}{{item.NightNum}}{{$t('Operation.Op_night')}}</em>
</p> </p>
<p class="travelnowrap"> <p class="travelnowrap">
<span>出发时间</span> <span>{{$t('Airticket.Air_StartTime')}}</span>
<span class="go_date">{{item.StartDate}}</span> <span class="go_date">{{item.StartDate}}</span>
</p> </p>
<p class="travelnowrap"> <p class="travelnowrap">
<span>出团通知书</span> <span>{{$t('Operation.Op_teamNotice')}}</span>
{{item.OutNotice==1?'OK':'暂定'}} {{item.OutNotice==1?'OK':'暂定'}}
</p> </p>
<p class="travelnowrap"> <p class="travelnowrap">
<span>出团公司</span> <span>{{$t('scen.sc_cp')}}</span>
{{item.OutBranchName}} {{item.OutBranchName}}
</p> </p>
<p class="travelnowrap" v-if="item.WordPath!=''"> <p class="travelnowrap" v-if="item.WordPath!=''">
<a style="corsor:pointer;" :href="domainManager().ViittoFileUrl+item.WordPath">下载WORD行程</a> <a style="corsor:pointer;" :href="domainManager().ViittoFileUrl+item.WordPath">{{$t('Operation.Op_downLoadword')}}</a>
</p> </p>
</div> </div>
</div> </div>
<div class="el-col" style="width:190px;"> <div class="el-col" style="width:190px;">
<div class="d4"> <div class="d4">
<p> <p>
<i class="iconfont icon-jiage"></i>价格信息 <i class="iconfont icon-jiage"></i>{{$t('Operation.Op_PriceInfo')}}
</p> </p>
<p class="travelprice">同业价:¥{{item.B2BMemberPrice|priceFormat(item.B2BMemberPrice)}}</p> <p class="travelprice">{{$t('Operation.Op_tradePrice')}}:¥{{item.B2BMemberPrice|priceFormat(item.B2BMemberPrice)}}</p>
<p class="travelprice">直客价:¥{{item.B2CMemberPrice|priceFormat(item.B2CMemberPrice)}}</p> <p class="travelprice">{{$t('Operation.Op_directPrice')}}:¥{{item.B2CMemberPrice|priceFormat(item.B2CMemberPrice)}}</p>
<p> <p>
<el-popover width="700" trigger="click" popper-class="TC_customerInfo"> <el-popover width="700" trigger="click" popper-class="TC_customerInfo">
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td rowspan="2" style="text-align:center" width="60"> <td rowspan="2" style="text-align:center" width="60">
<i>标准</i> <i>{{$t('Operation.Op_standard')}}</i>
</td> </td>
<td class="TC_cusTitle">同行会员</td> <td class="TC_cusTitle">{{$t('Operation.Op_fellowMember')}}</td>
<td><b>{{item.B2BMemberPrice|priceFormat(item.B2BMemberPrice)}}</b></td> <td><b>{{item.B2BMemberPrice|priceFormat(item.B2BMemberPrice)}}</b></td>
<td class="TC_cusTitle">同行</td> <td class="TC_cusTitle">{{$t('Operation.Op_fellow')}}</td>
<td><b>{{item.B2BPrice|priceFormat(item.B2BPrice)}}</b></td> <td><b>{{item.B2BPrice|priceFormat(item.B2BPrice)}}</b></td>
<td class="TC_cusTitle">直客会员</td> <td class="TC_cusTitle">{{$t('Operation.Op_directMember')}}</td>
<td><b>{{item.B2CMemberPrice|priceFormat(item.B2CMemberPrice)}}</b></td> <td><b>{{item.B2CMemberPrice|priceFormat(item.B2CMemberPrice)}}</b></td>
<td class="TC_cusTitle">直客</td> <td class="TC_cusTitle">{{$t('Operation.Op_direct')}}</td>
<td><b>{{item.B2CPrice|priceFormat(item.B2CPrice)}}</b></td> <td><b>{{item.B2CPrice|priceFormat(item.B2CPrice)}}</b></td>
</tr> </tr>
<tr> <tr>
<td class="TC_cusTitle">婴儿</td> <td class="TC_cusTitle">{{$t('Operation.Op_baby')}}</td>
<td><b>{{item.BabyPrice|priceFormat(item.BabyPrice)}}</b></td> <td><b>{{item.BabyPrice|priceFormat(item.BabyPrice)}}</b></td>
<td class="TC_cusTitle">单地接价格</td> <td class="TC_cusTitle">{{$t('Operation.Op_spickupPrice')}}</td>
<td colspan="5"> <td colspan="5">
<b>{{item.SingleDMCPrice|priceFormat(item.SingleDMCPrice)}}</b> <b>{{item.SingleDMCPrice|priceFormat(item.SingleDMCPrice)}}</b>
</td> </td>
</tr> </tr>
<tr> <tr>
<td rowspan="2" style="text-align:center"> <td rowspan="2" style="text-align:center">
<i>增收</i> <i>{{$t('Operation.Op_Income')}}</i>
</td> </td>
<td class="TC_cusTitle">儿童占床</td> <td class="TC_cusTitle">{{$t('Operation.Op_childBed')}}</td>
<td><b>{{(item.ChildNeedPrice)|priceFormat(item.ChildNeedPrice)}}</b></td> <td><b>{{(item.ChildNeedPrice)|priceFormat(item.ChildNeedPrice)}}</b></td>
<td class="TC_cusTitle">儿童附加费</td> <td class="TC_cusTitle">{{$t('Operation.Op_childSurcharge')}}</td>
<td><b>{{item.BabyChargePrice|priceFormat(item.BabyChargePrice)}}</b></td> <td><b>{{item.BabyChargePrice|priceFormat(item.BabyChargePrice)}}</b></td>
<td class="TC_cusTitle">老人附加费</td> <td class="TC_cusTitle">{{$t('Operation.Op_oldmanSurcharge')}}</td>
<td><b>{{item.OldManChargePrice|priceFormat(item.OldManChargePrice)}}</b></td> <td><b>{{item.OldManChargePrice|priceFormat(item.OldManChargePrice)}}</b></td>
<td class="TC_cusTitle">签证费</td> <td class="TC_cusTitle">{{$t('Operation.Op_visaPrice')}}</td>
<td><b>{{item.VisaPrice|priceFormat(item.VisaPrice)}}</b></td> <td><b>{{item.VisaPrice|priceFormat(item.VisaPrice)}}</b></td>
</tr> </tr>
<tr> <tr>
<td class="TC_cusTitle">单房差</td> <td class="TC_cusTitle">{{$t('Operation.Op_singleRoomcha')}}</td>
<td><b>{{item.SingleRoomPrice|priceFormat(item.SingleRoomPrice)}}</b></td> <td><b>{{item.SingleRoomPrice|priceFormat(item.SingleRoomPrice)}}</b></td>
<td class="TC_cusTitle">保险</td> <td class="TC_cusTitle">{{$t('Operation.Op_insurance')}}</td>
<td><b>{{item.SafeMoney|priceFormat(item.SafeMoney)}}</b></td> <td><b>{{item.SafeMoney|priceFormat(item.SafeMoney)}}</b></td>
<td class="TC_cusTitle">杂费</td> <td class="TC_cusTitle">{{$t('Operation.Op_zafei')}}</td>
<td colspan="3"><b>{{item.OtherPrice|priceFormat(item.OtherPrice)}}</b></td> <td colspan="3"><b>{{item.OtherPrice|priceFormat(item.OtherPrice)}}</b></td>
</tr> </tr>
<tr> <tr>
<td style="text-align:center"> <td style="text-align:center">
<i>减免</i> <i>{{$t('Operation.Op_jianmian')}}</i>
</td> </td>
<td class="TC_cusTitle">儿童不占床</td> <td class="TC_cusTitle">{{$t('Operation.Op_childNobed')}}</td>
<td><b>{{item.ChildNoNeedPrice|priceFormat(item.ChildNoNeedPrice)}}</b></td> <td><b>{{item.ChildNoNeedPrice|priceFormat(item.ChildNoNeedPrice)}}</b></td>
<td class="TC_cusTitle">退签证费</td> <td class="TC_cusTitle">{{$t('Operation.Op_visafeeBack')}}</td>
<td colspan="6"><b>{{item.BackVisaPrice|priceFormat(item.BackVisaPrice)}}</b></td> <td colspan="6"><b>{{item.BackVisaPrice|priceFormat(item.BackVisaPrice)}}</b></td>
</tr> </tr>
</table> </table>
<span slot="reference" class="price">查看价格明细</span> <span slot="reference" class="price">{{$t('Operation.Op_priceDetail')}}</span>
</el-popover> </el-popover>
</p> </p>
</div> </div>
...@@ -539,31 +539,31 @@ ...@@ -539,31 +539,31 @@
<div class="el-col" style="width:150px;"> <div class="el-col" style="width:150px;">
<div class="d5"> <div class="d5">
<p> <p>
<i class="iconfont icon-tuanwei"></i>团位信息 <i class="iconfont icon-tuanwei"></i>{{$t('visa.v_tuanweiinfo')}}
</p> </p>
<p> <p>
<span>当前余位</span> <span>{{$t('visa.v_currentseat')}}</span>
<i>{{item.SurplusSeat=item.SurplusSeat < 0 ? 0:item.SurplusSeat}}</i></p> <i>{{item.SurplusSeat=item.SurplusSeat < 0 ? 0:item.SurplusSeat}}</i></p>
<p> <p>
<span>已报入</span> <span>{{$t('visa.v_yibaoru')}}</span>
<i> <i>
{{item.OrderGuestNum}} {{item.OrderGuestNum}}
<span class="TCL-redType" v-if="item.OrderLeaderGuestNum>=1">+{{item.OrderLeaderGuestNum}}</span> <span class="TCL-redType" v-if="item.OrderLeaderGuestNum>=1">+{{item.OrderLeaderGuestNum}}</span>{{$t('Operation.Op_people')}}
</i> </i>
</p> </p>
<p> <p>
<span>占位</span> <span>{{$t('Operation.Op_takeSeat')}}</span>
<i>{{item.Occupied}}</i> <i>{{item.Occupied}}</i>{{$t('Operation.Op_people')}}
</p> </p>
<p class="travelnowrap"> <p class="travelnowrap">
<span>候补</span> <span>{{$t('visa.v_houbu')}}</span>
<span v-if="item.IsSubstitution==1" class="TCL-greenType">允许候补(候补{{item.HBNum}}</span> <span v-if="item.IsSubstitution==1" class="TCL-greenType">{{$t('visa.v_yxhoubu')}}{{$t('visa.v_houbu')}}{{item.HBNum}}{{$t('Operation.Op_people')}}</span>
<span v-else class="TCL-redType">不允许候补</span> <span v-else class="TCL-redType">{{$t('visa.v_byxhoubu')}}</span>
</p> </p>
<p> <p>
<span>领队</span> <span>{{$t('leader.leader_Leader')}}</span>
<span v-if="item.LeaderName==null" class="TCL-redType">尚未指派</span> <span v-if="item.LeaderName==null" class="TCL-redType">{{$t('Operation.Op_nozhipai')}}</span>
<span v-else class="TCL-greenType">{{item.LeaderName}}</span> <span v-else class="TCL-greenType">{{item.LeaderName}}</span>
</p> </p>
</div> </div>
...@@ -571,7 +571,7 @@ ...@@ -571,7 +571,7 @@
<div class="el-col" style="width:130px;"> <div class="el-col" style="width:130px;">
<div class="d5 TC-oparation"> <div class="d5 TC-oparation">
<p> <p>
<i class="iconfont icon-yuangong"></i>操作OP <i class="iconfont icon-yuangong"></i>{{$t('Operation.Op_caozuoop')}}
</p> </p>
<div class="clearfix TC-OpInfo"> <div class="clearfix TC-OpInfo">
<div class="TC-leftIMG"> <div class="TC-leftIMG">
...@@ -580,38 +580,38 @@ ...@@ -580,38 +580,38 @@
</div> </div>
<div class="TC-OPName">{{item.OPName}}</div> <div class="TC-OPName">{{item.OPName}}</div>
</div> </div>
<div class="TC_SeatList">头等舱{{item.FSeat}}</div> <div class="TC_SeatList">{{$t('Airticket.Air_firstClass')}}{{item.FSeat}}</div>
<div class="TC_SeatList">商务舱{{item.CSeat}}</div> <div class="TC_SeatList">{{$t('Airticket.Air_businessClass')}}{{item.CSeat}}</div>
<div class="TC_SeatList">经济舱{{item.YSeat}}</div> <div class="TC_SeatList">{{$t('Airticket.Air_EconomyClass')}}{{item.YSeat}}</div>
<div class="TC_SeatList">绑定数量<span style="color:red">{{item.BindNum}}</span></div> <div class="TC_SeatList">{{$t('Operation.Op_bindNum')}}<span style="color:red">{{item.BindNum}}</span></div>
</div> </div>
</div> </div>
<div class="el-col" style="width:200px;"> <div class="el-col" style="width:200px;">
<div class="d3"> <div class="d3">
<p> <p>
<i class="iconfont icon-wenxintishi"></i>温馨提示 <i class="iconfont icon-wenxintishi"></i>{{$t('Operation.Op_Warmprompt')}}
</p> </p>
<p v-if="item.VisaType"> <p v-if="item.VisaType">
<span>签证类型</span> <span>{{$t('visa.v_visaType')}}</span>
<span v-if="item.VisaType==1">个签</span> <span v-if="item.VisaType==1">{{$t('visa.v_gvisa')}}</span>
<span v-else-if="item.VisaType==2">团签</span> <span v-else-if="item.VisaType==2">{{$t('visa.v_tvisa')}}</span>
</p> </p>
<p> <p>
<span>送签日期</span> <span>{{$t('visa.v_sqtime')}}</span>
<span class="TCL-redType"> {{item.SendVisaTime}}</span> <span class="TCL-redType"> {{item.SendVisaTime}}</span>
</p> </p>
<p> <p>
<span>出签日期</span> <span>{{$t('visa.v_cqtime')}}</span>
{{item.OutVisaTime}} {{item.OutVisaTime}}
</p> </p>
<p> <p>
<span>开票日期</span> <span>{{$t('visa.v_kptime')}}</span>
{{item.TicketDeadline}} {{item.TicketDeadline}}
</p> </p>
<p v-if="item.LineID==2&&item.EuropeVisaType>0"> <p v-if="item.LineID==2&&item.EuropeVisaType>0">
<span> <span>
<span v-if="item.EuropeVisaType">欧洲签证类型</span> <span v-if="item.EuropeVisaType">{{$t('visa.v_EuropeanVisaType')}}</span>
<span v-if="item.EuropeVisaType==1">英国签证</span> <span v-if="item.EuropeVisaType==1">{{$t('visa.v_britishVisa')}}</span>
<span v-else-if="item.EuropeVisaType==2">申根签证</span> <span v-else-if="item.EuropeVisaType==2">申根签证</span>
</span> </span>
</p> </p>
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
cursor: pointer; cursor: pointer;
} }
.BusTyleFirst .w150 { .BusTyleFirst .w170 {
margin-right: 22px; margin-right: 22px;
} }
...@@ -157,79 +157,66 @@ ...@@ -157,79 +157,66 @@
<el-form :model="PostData" :rules="rules" ref="PostData"> <el-form :model="PostData" :rules="rules" ref="PostData">
<table class="bo_bus" cellspacing="1"> <table class="bo_bus" cellspacing="1">
<tr> <tr>
<th width="100">日期</th>
<th width="280">酒店名称</th>
<th width="50">停车场</th>
<th width="400">用车计划</th>
<th width="200">订团号</th>
<th width="100">司机姓名</th> <th width="100">司机姓名</th>
<th width="100">联系电话</th> <th width="280">联系电话</th>
<th width="50">车牌号码</th>
<th width="120">供应商</th>
<th width="120">付款方式</th>
<th width="200">订团号</th>
<th width="250">司机住宿</th> <th width="250">司机住宿</th>
<th>泊车说明</th> <th>泊车说明</th>
<th width="120">车辆类型</th>
<th width="120">使用人数</th> <th width="120">使用人数</th>
<th width="120">车牌号码</th>
<th width="120">供应商</th>
<th>成本价</th> <th>成本价</th>
<th width="120">付款方式</th>
<th width="120">备注</th> <th width="120">备注</th>
<th width="400">用车计划</th>
<th width="100">日期</th>
<th width="100">酒店名称</th>
<th width="120">车辆类型</th>
<th width="120">停车场</th>
<th width="120">小计</th> <th width="120">小计</th>
</tr> </tr>
<tr v-for="(item,index) in PlanTableData"> <tr v-for="(item,index) in PlanTableData">
<td> <td>
<div class="w100"> <el-input class="w100" v-model="item.DriverName"></el-input>
{{item.PlanDateStr}}
</div>
</td> </td>
<td> <td>
<div class="w280"> <el-input class="w100" v-model="item.DriverTel"></el-input>
{{item.HotelName}}
</div>
</td> </td>
<td> <td>
<div class="w50"> <div class="w150">
{{item.IsHavearking=='0'?'无':'有'}} <el-input class="w135" v-model="item.BusNum"></el-input>
</div> </div>
</td> </td>
<td class="carPlanOne" :class="{'otherSpan':index!=0&&index!=PlanTableData.length-1}"> <td>
<div class="w320" v-for="(subItem,subIndex) in item.DetailList"> <div class="w200">
<em> <el-select class="w150" filterable placeholder="请选择" v-model="item.BusCompany">
<!--接机送机--> <el-option v-for="item in SupplierList" :key="item.ID" :label="item.Name" :value="item.ID">
<el-select class="w150" placeholder="请选择" v-model="subItem.AirportPickUp" :disabled="forbidInput">
<el-option :key="0" :value="0" label="请选择"></el-option>
<el-option v-for="childitem in BusAirportPickUpList" :key="childitem.Id" :label="childitem.Name"
:value="childitem.Id">
</el-option> </el-option>
</el-select> </el-select>
</em>
<!--用车类型-->
<span v-for="childItem in UseTypeArray" class="BusinfoSpan">
<span v-if="childItem.Id==1" class="subName"
:class="{'spanCked':subItem.UseType==childItem.Id,'disSpan':forbidInput==true}"
@click="UseTypeClick(childItem.Id,index,subIndex);getBusPrice(subItem)">{{childItem.Name}}</span>
</span>
<span style="width:30px;display:inline-block;" >
<a v-if="subIndex>0" @click="DeleteSubItem(item,subIndex)" style="color:blue;cursor:pointer">删除</a>
</span>
<span style="display:inline-block;width:30px;margin-left:5px;">
<span class="busAddbtn" v-if="subIndex==item.DetailList.length-1" @click="AddSubItem(item)" style="margin-bottom:10px;">
<i class="iconfont icon-img_haha"></i>
</span>
</span>
</div> </div>
</td> </td>
<td> <td>
<el-input class='w170' type="text" v-model="item.BookGroup"></el-input> <div class="w120">
</td> <el-select class='w100 sel' v-model='item.PayType' :placeholder="$t('pub.pleaseSel')">
<td> <el-option label='请选择' :value='0'></el-option>
<el-input class="w100" v-model="item.DriverName"></el-input> <el-option label='现付' :value='1'></el-option>
<el-option label='公司结算' :value='2'></el-option>
<el-option label='预付' :value='3'></el-option>
</el-select>
</div>
</td> </td>
<td> <td>
<el-input class="w100" v-model="item.DriverTel"></el-input> <div class="w200" :class="{'BusTyleFirst':index==0}">
<el-input class='w170' type="text" v-model="item.BookGroup"></el-input>
<el-tooltip class="item" effect="dark" content="同上" placement="top">
<i class="iconfont icon-tongshang" style="cursor:pointer;" v-if="index!=0"
@click="getBeforeInfo(index)"></i>
</el-tooltip>
</div>
</td> </td>
<td class="carPlanOne"> <td class="carPlanOne">
<!--司机住宿类型--> <!--司机住宿类型-->
<div class="w260"> <div class="w200">
<span v-for="subItem in AccommodationTypeArray"> <span v-for="subItem in AccommodationTypeArray">
<span class="subName" :class="{'spanCked':item.AccommodationType==subItem.Id}" <span class="subName" :class="{'spanCked':item.AccommodationType==subItem.Id}"
@click="AccommodationCLick(subItem.Id,index)">{{subItem.Name}}</span> @click="AccommodationCLick(subItem.Id,index)">{{subItem.Name}}</span>
...@@ -244,59 +231,70 @@ ...@@ -244,59 +231,70 @@
<el-input class="w135" v-model="item.ParkExplain" placeholder="请输入说明"></el-input> <el-input class="w135" v-model="item.ParkExplain" placeholder="请输入说明"></el-input>
</div> </div>
</td> </td>
<td>
<div class="w180" :class="{'BusTyleFirst':index==0}">
<el-select clearable class="w150" filterable placeholder="请选择" v-model="item.BusType"
:disabled="forbidInput" @change='getBusPrice(item)'>
<el-option :key="0" :value="0" label="请选择"></el-option>
<el-option v-for="item in BusTypeList" :key="item.Id" :label="item.newName" :value="item.Id">
</el-option>
</el-select>
<el-tooltip class="item" effect="dark" content="同上" placement="top">
<i class="iconfont icon-tongshang" style="cursor:pointer;" v-if="index!=0"
@click="getBeforeInfo(index)"></i>
</el-tooltip>
</div>
</td>
<td> <td>
<div class="w80"> <div class="w80">
<el-input class="w50" v-model="item.UseNum" @keyup.native="checkPrice(item,'UseNum')"></el-input> <el-input class="w50" v-model="item.UseNum" @keyup.native="checkPrice(item,'UseNum')"></el-input>
</div> </div>
</td> </td>
<td> <td>
<div class="w150"> <div class="w120">
<el-input class="w135" v-model="item.BusNum"></el-input> <el-input class="w120" v-model="item.CostPrice" @keyup.native="checkPrice(item,'CostPrice')"
placeholder="请输入成本价"></el-input>
</div> </div>
</td> </td>
<td> <td>
<div class="w200"> <div class="w180">
<el-select class="w150" filterable placeholder="请选择" v-model="item.BusCompany"> <el-input class='w180' type="text" v-model="item.Remarks"></el-input>
<el-option v-for="item in SupplierList" :key="item.ID" :label="item.Name" :value="item.ID"> </div>
</td>
<td class="carPlanOne" :class="{'otherSpan':index!=0&&index!=PlanTableData.length-1}">
<div class="w320" v-for="(subItem,subIndex) in item.DetailList">
<em>
<!--接机送机-->
<el-select class="w150" placeholder="请选择" v-model="subItem.AirportPickUp" :disabled="forbidInput">
<el-option :key="0" :value="0" label="请选择"></el-option>
<el-option v-for="childitem in BusAirportPickUpList" :key="childitem.Id" :label="childitem.Name"
:value="childitem.Id">
</el-option> </el-option>
</el-select> </el-select>
</em>
<!--用车类型-->
<span v-for="childItem in UseTypeArray" class="BusinfoSpan">
<span v-if="childItem.Id==1" class="subName"
:class="{'spanCked':subItem.UseType==childItem.Id,'disSpan':forbidInput==true}"
@click="UseTypeClick(childItem.Id,index,subIndex);getBusPrice(subItem)">{{childItem.Name}}</span>
</span>
<span style="width:30px;display:inline-block;" >
<a v-if="subIndex>0" @click="DeleteSubItem(item,subIndex)" style="color:blue;cursor:pointer">删除</a>
</span>
<span style="display:inline-block;width:30px;margin-left:5px;">
<span class="busAddbtn" v-if="subIndex==item.DetailList.length-1" @click="AddSubItem(item)" style="margin-bottom:10px;">
<i class="iconfont icon-img_haha"></i>
</span>
</span>
</div> </div>
</td> </td>
<td> <td>
<div class="w100"> <div class="w100">
<el-input class="w80" v-model="item.CostPrice" @keyup.native="checkPrice(item,'CostPrice')" {{item.PlanDateStr}}
placeholder="请输入成本价"></el-input>
</div> </div>
</td> </td>
<td> <td>
<div class="w120"> <div class="w280">{{item.HotelName}}</div>
<el-select class='w100 sel' v-model='item.PayType' :placeholder="$t('pub.pleaseSel')"> </td>
<el-option label='请选择' :value='0'></el-option> <td>
<el-option label='现付' :value='1'></el-option> <div class="w180">
<el-option label='公司结算' :value='2'></el-option> <el-select clearable class="w150" filterable placeholder="请选择" v-model="item.BusType"
<el-option label='预付' :value='3'></el-option> :disabled="forbidInput" @change='getBusPrice(item)'>
<el-option :key="0" :value="0" label="请选择"></el-option>
<el-option v-for="item in BusTypeList" :key="item.Id" :label="item.newName" :value="item.Id">
</el-option>
</el-select> </el-select>
</div> </div>
</td> </td>
<td> <td>
<div class="w80"> <div class="w50">
<el-input class='w80' type="text" v-model="item.Remarks"></el-input> {{item.IsHavearking=='0'?'无':'有'}}
</div> </div>
</td> </td>
<td> <td>
...@@ -569,6 +567,7 @@ ...@@ -569,6 +567,7 @@
x.BookGroup = this.$route.query.NewCombinationNum; x.BookGroup = this.$route.query.NewCombinationNum;
} }
}) })
console.log(this.PlanTableData,'planTabledata');
} }
}, },
null null
...@@ -753,20 +752,12 @@ ...@@ -753,20 +752,12 @@
getBeforeInfo(index) { getBeforeInfo(index) {
let oldPlanData = this.PlanTableData[index - 1]; let oldPlanData = this.PlanTableData[index - 1];
let newPlanData = this.PlanTableData[index]; let newPlanData = this.PlanTableData[index];
newPlanData.AirportPickUp = oldPlanData.AirportPickUp;
newPlanData.UseType = oldPlanData.UseType;
newPlanData.UseTime = oldPlanData.UseTime;
newPlanData.BookGroup = oldPlanData.BookGroup;
newPlanData.DriverName = oldPlanData.DriverName; newPlanData.DriverName = oldPlanData.DriverName;
newPlanData.DriverTel = oldPlanData.DriverTel; newPlanData.DriverTel = oldPlanData.DriverTel;
newPlanData.AccommodationType = oldPlanData.AccommodationType;
newPlanData.AccommodationRemark = oldPlanData.AccommodationRemark;
newPlanData.BusType = oldPlanData.BusType;
newPlanData.UseNum = oldPlanData.UseNum;
newPlanData.BusNum = oldPlanData.BusNum; newPlanData.BusNum = oldPlanData.BusNum;
newPlanData.BusCompany = oldPlanData.BusCompany; newPlanData.BusCompany = oldPlanData.BusCompany;
newPlanData.ParkExplain = oldPlanData.ParkExplain; newPlanData.PayType = oldPlanData.PayType;
newPlanData.CostPrice = oldPlanData.CostPrice; newPlanData.BookGroup = oldPlanData.BookGroup;
} }
}, },
mounted() { mounted() {
......
...@@ -1443,6 +1443,14 @@ export default { ...@@ -1443,6 +1443,14 @@ export default {
title: '一日游' title: '一日游'
}, },
}, },
{
path:'/oneDayTrip2', //一日游销售自主开团用
name:'oneDayTrip2',
component: resolve => require(['@/components/TravelManager/TravelList/oneDayTrip'], resolve),
meta: {
title: '一日游'
},
},
{ {
path: '/priceIncomeConfirmInfo',///priceIncomeConfirmInfo path: '/priceIncomeConfirmInfo',///priceIncomeConfirmInfo
name: 'priceIncomeConfirmInfo', name: 'priceIncomeConfirmInfo',
......
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