Commit a955c623 authored by 黄奎's avatar 黄奎

页面修改

parent b9042413
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
</tr> </tr>
<tr> <tr>
<th width="120">入住时间</th> <th width="120">入住时间</th>
<th width="200">选择酒店</th> <th width="200">选择酒店</th>
<th width="120">机位数(Y/E/F)</th> <th width="120">机位数(Y/E/F)</th>
<th width="120">占床/不占床</th> <th width="120">占床/不占床</th>
...@@ -38,9 +37,6 @@ ...@@ -38,9 +37,6 @@
<td v-if="childIndex==0&&subIndex==0" :rowspan="5*item.HotelOrderList.length" class="tdCenter"> <td v-if="childIndex==0&&subIndex==0" :rowspan="5*item.HotelOrderList.length" class="tdCenter">
{{item.UseTimeStr}} {{item.UseTimeStr}}
</td> </td>
<!-- <td v-if="childIndex==0" :rowspan="5" class="tdCenter">
<el-checkbox v-model='subItem.IsChecked'></el-checkbox>
</td> -->
<td v-if="childIndex==0" :rowspan="5" class="tdLeft"> <td v-if="childIndex==0" :rowspan="5" class="tdLeft">
<p class="link" style="word-break: normal;" @click="goUrlR('HotelManagement',HotelId.HotelId,'酒店管理')"> <p class="link" style="word-break: normal;" @click="goUrlR('HotelManagement',HotelId.HotelId,'酒店管理')">
{{subItem.HotelName}}</p> {{subItem.HotelName}}</p>
...@@ -67,7 +63,9 @@ ...@@ -67,7 +63,9 @@
{{subItem.HouseStatistics.HouseTypeList[childIndex].HouseGuestNum}} {{subItem.HouseStatistics.HouseTypeList[childIndex].HouseGuestNum}}
</td> </td>
<td v-if="childIndex==0" :rowspan="5" class="tdLeft"> <td v-if="childIndex==0" :rowspan="5" class="tdLeft">
{{subItem.NewHotelName}}
<template v-if="subItem.HotelName!=subItem.NewHotelName" ><span style="color:red;">{{subItem.NewHotelName}}</span></template>
<template v-else>{{subItem.NewHotelName}}</template>
</td> </td>
<td class="tdCenter"> <td class="tdCenter">
{{childItem.HouseTypeCount}} {{childItem.HouseTypeCount}}
...@@ -153,6 +151,7 @@ ...@@ -153,6 +151,7 @@
this.Loading = false; this.Loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.DataList = res.data.data.HotelOrderListReport; this.DataList = res.data.data.HotelOrderListReport;
console.log("this.DataList",this.DataList)
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
......
...@@ -126,8 +126,8 @@ ...@@ -126,8 +126,8 @@
<table class="hotelTable"> <table class="hotelTable">
<tr> <tr>
<td width="70" style="text-align:center;" colspan="2"> <td width="70" style="text-align:center;" colspan="2">
<span style="color:red">{{subItem.NewHotelName}}</span> <span style="color:green">{{subItem.NewHotelName}}</span>
<el-popover placement="right" width="540" trigger="click" v-model="subItem.isShowPop"> <el-popover placement="right" width="540" trigger="click" v-model="subItem.isShowPop" v-if="subItem.OPState!=1">
<comCheckHotel :ref="'comCheckHotel'+index+subIndex+''" v-on:childHotel="childHotelList" <comCheckHotel :ref="'comCheckHotel'+index+subIndex+''" v-on:childHotel="childHotelList"
:UseDate="item.UseTimeStr"> :UseDate="item.UseTimeStr">
</comCheckHotel> </comCheckHotel>
...@@ -137,6 +137,9 @@ ...@@ -137,6 +137,9 @@
酒店选择 酒店选择
</el-button> </el-button>
</el-popover> </el-popover>
<template v-else>
<br /> <span class="Hotel_red">OP-指定,不能更换酒店.</span>
</template>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -340,18 +343,17 @@ ...@@ -340,18 +343,17 @@
</td> </td>
<!-- 操作 --> <!-- 操作 -->
<td v-if="childIndex==0" :rowspan="5"> <td v-if="childIndex==0" :rowspan="5">
<!--v-if="subItem.OPState!=1"-->
<template v-if="subItem.OPState==1"> <template v-if="subItem.OPState==1">
<span class="Hotel_red">OP选房确认</span> <span class="Hotel_red">OP-指定</span>
</template> </template>
<template v-if="IsOperation!=1"> <template v-if="IsOperation!=1">
<el-tooltip class="item" effect="dark" content="保存" placement="top-start"> <el-tooltip class="item" effect="dark" content="保存" placement="top-start">
<el-button icon="iconfont icon-baocun1" @click="SaveSingle(subItem)" type="primary"></el-button> <el-button icon="iconfont icon-baocun1" @click="SaveSingle(subItem)" type="primary"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="新增" placement="top-start"> <el-tooltip class="item" effect="dark" content="新增" v-if="subItem.OPState!=1" placement="top-start">
<el-button @click='AddHotel(item,subIndex)' icon="iconfont icon-tianjia" type="primary"></el-button> <el-button @click='AddHotel(item,subIndex)' icon="iconfont icon-tianjia" type="primary"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip v-if="item.HotelOrderList.length>1" class="item" effect="dark" content="删除" <el-tooltip v-if="item.HotelOrderList.length>1 && subItem.OPState!=1" class="item" effect="dark" content="删除"
placement="top-start"> placement="top-start">
<el-button type="primary" icon="iconfont icon-shanchu" @click='DeleteHotel(item,subIndex)'> <el-button type="primary" icon="iconfont icon-shanchu" @click='DeleteHotel(item,subIndex)'>
</el-button> </el-button>
...@@ -361,9 +363,6 @@ ...@@ -361,9 +363,6 @@
<commonHotelLog :ref="'comHotelLog'+index+subIndex+''"> </commonHotelLog> <commonHotelLog :ref="'comHotelLog'+index+subIndex+''"> </commonHotelLog>
<div slot="reference" class="w80" style="cursor:pointer;text-decoration:underline;" @click="GetHotelLog(subItem,index,subIndex)">日志</div> <div slot="reference" class="w80" style="cursor:pointer;text-decoration:underline;" @click="GetHotelLog(subItem,index,subIndex)">日志</div>
</el-popover> </el-popover>
<!--<template v-else>
<span class="Hotel_red">OP选房确认</span>
</template> -->
</td> </td>
</tr> </tr>
</template> </template>
...@@ -854,6 +853,9 @@ ...@@ -854,6 +853,9 @@
color: red; color: red;
} }
.roomReservationsDetailsTalbe .hotelTable { .roomReservationsDetailsTalbe .hotelTable {
border: none; border: none;
} }
......
...@@ -1105,7 +1105,8 @@ ...@@ -1105,7 +1105,8 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="参团类型" prop="GroupType"> <el-form-item label="参团类型" prop="GroupType">
<el-select v-model='addMsg.GroupType' filterable :placeholder="$t('pub.pleaseSel')" @change="gettypechange(addMsg.GroupType)"> <el-select v-model='addMsg.GroupType' filterable :placeholder="$t('pub.pleaseSel')"
@change="gettypechange(addMsg.GroupType)">
<el-option v-for="item in ctlxList" :label='item.Name' :value='item.Id' :key='item.Id' <el-option v-for="item in ctlxList" :label='item.Name' :value='item.Id' :key='item.Id'
v-if="item.Id!=5"> v-if="item.Id!=5">
</el-option> </el-option>
...@@ -1184,7 +1185,7 @@ ...@@ -1184,7 +1185,7 @@
<template> <template>
<el-form-item label="成交单价" prop="Unit_Price" v-if="HightUnitPrice === '2'"> <el-form-item label="成交单价" prop="Unit_Price" v-if="HightUnitPrice === '2'">
<el-select v-model='addMsg.Unit_Price' filterable :placeholder="$t('pub.pleaseSel')" <el-select v-model='addMsg.Unit_Price' filterable :placeholder="$t('pub.pleaseSel')"
@change="getTotalPrice()"> @change="getTotalPrice()">
<el-option v-for="item in Unit_PriceList" :label='item.LessMoney' :value='item.ID' :key='item.ID'> <el-option v-for="item in Unit_PriceList" :label='item.LessMoney' :value='item.ID' :key='item.ID'>
</el-option> </el-option>
</el-select> </el-select>
...@@ -1193,7 +1194,7 @@ ...@@ -1193,7 +1194,7 @@
<el-input v-model='addMsg.Unit_Price' @change="getTotalPrice(3)"></el-input> <el-input v-model='addMsg.Unit_Price' @change="getTotalPrice(3)"></el-input>
</el-form-item> </el-form-item>
</template> </template>
<el-form-item label="高于本团单价" v-show="addMsg.GroupType != 4" > <el-form-item label="高于本团单价" v-show="addMsg.GroupType != 4">
<el-switch v-model="HightUnitPrice" active-value="1" inactive-value="2"></el-switch> <el-switch v-model="HightUnitPrice" active-value="1" inactive-value="2"></el-switch>
</el-form-item> </el-form-item>
...@@ -1217,39 +1218,40 @@ ...@@ -1217,39 +1218,40 @@
<el-col :span="4"> <el-col :span="4">
<el-form-item label="成人人数" prop="ManNum" v-show="addMsg.GroupType !== '4'"> <el-form-item label="成人人数" prop="ManNum" v-show="addMsg.GroupType !== '4'">
<el-input v-model='addMsg.ManNum' @keyup.native="checkInteger(addMsg,'ManNum')" <el-input v-model='addMsg.ManNum' @keyup.native="checkInteger(addMsg,'ManNum')"
@input='getNumber();getHouseNo();getTotalPrice()'></el-input> @input='getNumber();getHouseNo();getTotalPrice()'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<p v-if='IsChildrenTour==2' style="color: #E95252; font-size: 12px; line-height: 40px; text-align: center;"> <p v-if='IsChildrenTour==2' style="color: #E95252; font-size: 12px; line-height: 40px; text-align: center;">
本团不支持儿童出游!</p> 本团不支持儿童出游!</p>
<el-form-item v-if='IsChildrenTour==1' label="儿童不占床" prop="ChirdNoNeedBedNum" v-show="addMsg.GroupType !== '4'"> <el-form-item v-if='IsChildrenTour==1' label="儿童不占床" prop="ChirdNoNeedBedNum"
v-show="addMsg.GroupType !== '4'">
<el-input v-model='addMsg.ChirdNoNeedBedNum' @keyup.native="checkInteger(addMsg,'ChirdNoNeedBedNum')" <el-input v-model='addMsg.ChirdNoNeedBedNum' @keyup.native="checkInteger(addMsg,'ChirdNoNeedBedNum')"
@input='getNumber();getHouseNo();getTotalPrice()'></el-input> @input='getNumber();getHouseNo();getTotalPrice()'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" v-if='IsChildrenTour==1'> <el-col :span="4" v-if='IsChildrenTour==1'>
<el-form-item label="儿童占床" prop="ChirdNeedBedNum" v-show="addMsg.GroupType !== '4'"> <el-form-item label="儿童占床" prop="ChirdNeedBedNum" v-show="addMsg.GroupType !== '4'">
<el-input v-model='addMsg.ChirdNeedBedNum' @keyup.native="checkInteger(addMsg,'ChirdNeedBedNum')" <el-input v-model='addMsg.ChirdNeedBedNum' @keyup.native="checkInteger(addMsg,'ChirdNeedBedNum')"
@input='getHouseNo();getTotalPrice()'></el-input> @input='getHouseNo();getTotalPrice()'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" v-if='IsChildrenTour==1'> <el-col :span="4" v-if='IsChildrenTour==1'>
<el-form-item label="婴儿人数" prop="BabyNum" v-show="addMsg.GroupType !== '4'"> <el-form-item label="婴儿人数" prop="BabyNum" v-show="addMsg.GroupType !== '4'">
<el-input v-model='addMsg.BabyNum' @keyup.native="checkInteger(addMsg,'BabyNum')" <el-input v-model='addMsg.BabyNum' @keyup.native="checkInteger(addMsg,'BabyNum')"
@input='getNumber();getTotalPrice()'></el-input> @input='getNumber();getTotalPrice()'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item label="老人人数" prop="OldPeopleNum" v-show="addMsg.GroupType !== '4'"> <el-form-item label="老人人数" prop="OldPeopleNum" v-show="addMsg.GroupType !== '4'">
<el-input v-model='addMsg.OldPeopleNum' @keyup.native="checkInteger(addMsg,'OldPeopleNum')" <el-input v-model='addMsg.OldPeopleNum' @keyup.native="checkInteger(addMsg,'OldPeopleNum')"
@input='getNumber();getHouseNo();getTotalPrice()'></el-input> @input='getNumber();getHouseNo();getTotalPrice()'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="3"> <el-col :span="3">
<el-form-item label="单地接数量" prop="AirticketNum" v-show="addMsg.GroupType !== '1'"> <el-form-item label="单地接数量" prop="AirticketNum" v-show="addMsg.GroupType !== '1'">
<el-input v-model='addMsg.AirticketNum' @keyup.native="checkInteger(addMsg,'AirticketNum')" <el-input v-model='addMsg.AirticketNum' @keyup.native="checkInteger(addMsg,'AirticketNum')"
@input='getNumber();getTotalPrice();getHouseNo()'></el-input> @input='getNumber();getTotalPrice();getHouseNo()'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -1496,12 +1498,15 @@ ...@@ -1496,12 +1498,15 @@
@click="goTeamBalance(ConfigData.Config.TCID,ConfigData.Config.OutBranchId)" value="团报" /> @click="goTeamBalance(ConfigData.Config.TCID,ConfigData.Config.OutBranchId)" value="团报" />
<input type="button" class="normalBtn" @click="getOrderInfo()" <input type="button" class="normalBtn" @click="getOrderInfo()"
:value="'出团通知书('+(SetNoticeMsg.OutNotice==1?'OK':'暂定')+')'" /> :value="'出团通知书('+(SetNoticeMsg.OutNotice==1?'OK':'暂定')+')'" v-if="isShow===true" />
<input type="button" @click="CancelLeader" v-if="ConfigData.Leader!=null&&ConfigData.Leader.LeaderId>0" <template v-if="isShow===true">
class="normalBtn" value="重选领队" />
<input type="button" class="normalBtn" v-else <input type="button" @click="CancelLeader" v-if="ConfigData.Leader!=null&&ConfigData.Leader.LeaderId>0"
@click="showSetLeader=true,isShowLayerRemarks = false,isShowLayer = false" value="设置领队" /> class="normalBtn" value="重选领队" />
<input type="button" class="normalBtn" @click="goUrl('TravelPassengerList',msg.TCID,'旅客名单')" value="旅客名单" /> <input type="button" class="normalBtn" v-else
@click="showSetLeader=true,isShowLayerRemarks = false,isShowLayer = false" value="设置领队" />
<input type="button" class="normalBtn" @click="goUrl('TravelPassengerList',msg.TCID,'旅客名单')" value="旅客名单" />
</template>
</div> </div>
</div> </div>
...@@ -1562,10 +1567,10 @@ ...@@ -1562,10 +1567,10 @@
slot="reference">{{item.GuestNum}}/{{item.YSeatNum>0? item.YSeatNum+'Y ':''}}{{item.ESeatNum>0? item.ESeatNum+'E ':''}}{{item.FSeatNum>0? item.FSeatNum+'F ':''}}</span> slot="reference">{{item.GuestNum}}/{{item.YSeatNum>0? item.YSeatNum+'Y ':''}}{{item.ESeatNum>0? item.ESeatNum+'E ':''}}{{item.FSeatNum>0? item.FSeatNum+'F ':''}}</span>
<span v-if='item.GuestNumStatus==3' style="color:#666; " class="personNo nowrap" <span v-if='item.GuestNumStatus==3' style="color:#666; " class="personNo nowrap"
slot="reference">{{item.GuestNum}}/{{item.YSeatNum>0? item.YSeatNum+'Y ':''}}{{item.ESeatNum>0? item.ESeatNum+'E ':''}}{{item.FSeatNum>0? item.FSeatNum+'F ':''}}</span> slot="reference">{{item.GuestNum}}/{{item.YSeatNum>0? item.YSeatNum+'Y ':''}}{{item.ESeatNum>0? item.ESeatNum+'E ':''}}{{item.FSeatNum>0? item.FSeatNum+'F ':''}}</span>
<br/> <br />
<span v-if="item.RefuseVisaNum>0" style="color:red"> <span v-if="item.RefuseVisaNum>0" style="color:red">
(拒签 {{item.RefuseVisaNum}}人) (拒签 {{item.RefuseVisaNum}}人)
</span> </span>
</td> </td>
<td>{{item.TC_Price}}</td> <td>{{item.TC_Price}}</td>
<td>{{item.Unit_Price}}</td> <td>{{item.Unit_Price}}</td>
...@@ -1644,7 +1649,7 @@ ...@@ -1644,7 +1649,7 @@
<td> <td>
</td> </td>
<td class="RL-BTNlist" rowspan="2"> <td class="RL-BTNlist" rowspan="2">
<el-button-group> <el-button-group v-if="isShow===true">
<el-tooltip class="item" effect="dark" content="修改备注" placement="top-start"> <el-tooltip class="item" effect="dark" content="修改备注" placement="top-start">
<el-button type="primary" style='background:green; border-color:green' <el-button type="primary" style='background:green; border-color:green'
icon="iconfont icon-bianji-smal" @click='getRemarks(item)'></el-button> icon="iconfont icon-bianji-smal" @click='getRemarks(item)'></el-button>
...@@ -1701,9 +1706,9 @@ ...@@ -1701,9 +1706,9 @@
<span style="color:blue !important" v-for="(childItem) in item.GuestList" <span style="color:blue !important" v-for="(childItem) in item.GuestList"
@click="goUrl('TravelPassengerList',msg.TCID,childItem.OrderId,'旅客名单')">{{childItem.userName}}</span> @click="goUrl('TravelPassengerList',msg.TCID,childItem.OrderId,'旅客名单')">{{childItem.userName}}</span>
</p> </p>
<!-- <p class="RL-redType RL-remarkCon" v-else>--> <!-- <p class="RL-redType RL-remarkCon" v-else>-->
<!-- <span>暂无名单</span>--> <!-- <span>暂无名单</span>-->
<!-- </p>--> <!-- </p>-->
<span>房间信息:{{item.OrderGuestHouseStr}}</span> <span>房间信息:{{item.OrderGuestHouseStr}}</span>
<span v-if="item.TipMoney" style="color:red">(小费:{{item.TipMoney}})</span> <span v-if="item.TipMoney" style="color:red">(小费:{{item.TipMoney}})</span>
</td> </td>
...@@ -1753,7 +1758,8 @@ ...@@ -1753,7 +1758,8 @@
</div> </div>
<p v-if="childItem.IsChargeLossOrders==1" style="color:red"></p> <p v-if="childItem.IsChargeLossOrders==1" style="color:red"></p>
<div class="fbold over_ellipsis" style="width: 120px;cursor:pointer;" :title="childItem.OrderId"> <div class="fbold over_ellipsis" style="width: 120px;cursor:pointer;" :title="childItem.OrderId">
<span style="font-weight: 100;" v-if="childItem.scoreNum >= 0" @click='goInvetig("investigationList", childItem.tcid, childItem.orderId)'>(评分{{childItem.scoreNum}})</span>{{childItem.OrderId}} <span style="font-weight: 100;" v-if="childItem.scoreNum >= 0"
@click='goInvetig("investigationList", childItem.tcid, childItem.orderId)'>(评分{{childItem.scoreNum}})</span>{{childItem.OrderId}}
<el-tooltip class="item" effect="dark" content="通过小程序确认单报名" placement="top" <el-tooltip class="item" effect="dark" content="通过小程序确认单报名" placement="top"
v-show="childItem.OrderForm==4"> <i class="iconfont icon-xiaochengxu" v-show="childItem.OrderForm==4"> <i class="iconfont icon-xiaochengxu"
style="font-size:22px;color:red;"></i></el-tooltip> style="font-size:22px;color:red;"></i></el-tooltip>
...@@ -1810,7 +1816,7 @@ ...@@ -1810,7 +1816,7 @@
slot="reference">{{childItem.GuestNum}}/{{childItem.YSeatNum>0? childItem.YSeatNum+'Y ':''}}{{childItem.ESeatNum>0? childItem.ESeatNum+'E ':''}}{{childItem.FSeatNum>0? childItem.FSeatNum+'F ':''}}</span> slot="reference">{{childItem.GuestNum}}/{{childItem.YSeatNum>0? childItem.YSeatNum+'Y ':''}}{{childItem.ESeatNum>0? childItem.ESeatNum+'E ':''}}{{childItem.FSeatNum>0? childItem.FSeatNum+'F ':''}}</span>
<span v-if='childItem.GuestNumStatus==3' style="color:#666; " class="personNo nowrap" <span v-if='childItem.GuestNumStatus==3' style="color:#666; " class="personNo nowrap"
slot="reference">{{childItem.GuestNum}}/{{childItem.YSeatNum>0? childItem.YSeatNum+'Y ':''}}{{childItem.ESeatNum>0? childItem.ESeatNum+'E ':''}}{{childItem.FSeatNum>0? childItem.FSeatNum+'F ':''}}</span> slot="reference">{{childItem.GuestNum}}/{{childItem.YSeatNum>0? childItem.YSeatNum+'Y ':''}}{{childItem.ESeatNum>0? childItem.ESeatNum+'E ':''}}{{childItem.FSeatNum>0? childItem.FSeatNum+'F ':''}}</span>
<br/> <br />
<span v-if="childItem.RefuseVisaNum>0" style="color:red"> <span v-if="childItem.RefuseVisaNum>0" style="color:red">
(拒签 {{childItem.RefuseVisaNum}}人) (拒签 {{childItem.RefuseVisaNum}}人)
</span> </span>
...@@ -1901,7 +1907,7 @@ ...@@ -1901,7 +1907,7 @@
</td> </td>
<td class="RL-BTNlist" rowspan="2"> <td class="RL-BTNlist" rowspan="2">
<el-button-group> <el-button-group v-if="isShow===true">
<el-tooltip class="item" effect="dark" content="修改" placement="top-start"> <el-tooltip class="item" effect="dark" content="修改" placement="top-start">
<el-button type="primary" style='background:#00C6FF; border-color:#00C6FF' <el-button type="primary" style='background:#00C6FF; border-color:#00C6FF'
icon="iconfont icon-bianji-smal" @click='getDetail(childItem)'></el-button> icon="iconfont icon-bianji-smal" @click='getDetail(childItem)'></el-button>
...@@ -1957,7 +1963,8 @@ ...@@ -1957,7 +1963,8 @@
@click='deleteItem(childItem)'> @click='deleteItem(childItem)'>
删除 删除
</div> </div>
<div v-if="childItem.ScoreNum >= 0" @click='goInvetig("investigationList", childItem.tcid, childItem.OrderId)'>查看旅客调查</div> <div v-if="childItem.ScoreNum >= 0"
@click='goInvetig("investigationList", childItem.tcid, childItem.OrderId)'>查看旅客调查</div>
</div> </div>
<el-button slot="reference" type="primary" <el-button slot="reference" type="primary"
style='background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;' style='background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;'
...@@ -1974,9 +1981,9 @@ ...@@ -1974,9 +1981,9 @@
<span style="color:blue !important" v-for="(fourthItem) in childItem.GuestList" <span style="color:blue !important" v-for="(fourthItem) in childItem.GuestList"
@click="goUrl('TravelPassengerList',msg.TCID,fourthItem.OrderId,'旅客名单')">{{fourthItem.userName}}</span> @click="goUrl('TravelPassengerList',msg.TCID,fourthItem.OrderId,'旅客名单')">{{fourthItem.userName}}</span>
</span> </span>
<!-- <span class="RL-redType RL-remarkCon" v-else>--> <!-- <span class="RL-redType RL-remarkCon" v-else>-->
<!-- <span>暂无名单</span>--> <!-- <span>暂无名单</span>-->
<!-- </span>--> <!-- </span>-->
<span style="display: block">房间信息:{{childItem.OrderGuestHouseStr}}</span> <span style="display: block">房间信息:{{childItem.OrderGuestHouseStr}}</span>
<span v-if="childItem.TipMoney" style="color:red">(小费:{{childItem.TipMoney}}</span> <span v-if="childItem.TipMoney" style="color:red">(小费:{{childItem.TipMoney}}</span>
</td> </td>
...@@ -2003,6 +2010,7 @@ ...@@ -2003,6 +2010,7 @@
<span class="RL-redType RL-remarkCon" <span class="RL-redType RL-remarkCon"
style="width:80%;display:inline-block;">{{childItem.OP_Remarks ? childItem.OP_Remarks : '无'}}</span> style="width:80%;display:inline-block;">{{childItem.OP_Remarks ? childItem.OP_Remarks : '无'}}</span>
</div> </div>
<template v-if="isShow==true">
<div style="float:right;" v-if="childItem.IsCanClear==0"> <div style="float:right;" v-if="childItem.IsCanClear==0">
<input type="button" value="确认订单" class="rgsureBtn" @click="clearSeat(childItem,1)" <input type="button" value="确认订单" class="rgsureBtn" @click="clearSeat(childItem,1)"
style="display:block;" /> style="display:block;" />
...@@ -2015,6 +2023,7 @@ ...@@ -2015,6 +2023,7 @@
<div class="rgComTips">该订单<span style="color:green">已确认</span></div> <div class="rgComTips">该订单<span style="color:green">已确认</span></div>
<div class="rgComTips">会被系统清位</div> <div class="rgComTips">会被系统清位</div>
</div> </div>
</template>
</td> </td>
<td colspan="4" style="height: 40px;cursor: pointer;" <td colspan="4" style="height: 40px;cursor: pointer;"
@click="goUrlSFD('SalesFinancialDetail', '销售财务单据', childItem)"> @click="goUrlSFD('SalesFinancialDetail', '销售财务单据', childItem)">
...@@ -2150,10 +2159,10 @@ ...@@ -2150,10 +2159,10 @@
slot="reference">{{item.GuestNum}}/{{item.YSeatNum>0? item.YSeatNum+'Y ':''}}{{item.ESeatNum>0? item.ESeatNum+'E ':''}}{{item.FSeatNum>0? item.FSeatNum+'F ':''}}</span> slot="reference">{{item.GuestNum}}/{{item.YSeatNum>0? item.YSeatNum+'Y ':''}}{{item.ESeatNum>0? item.ESeatNum+'E ':''}}{{item.FSeatNum>0? item.FSeatNum+'F ':''}}</span>
<span v-if='item.GuestNumStatus==3' style="color:#666;" class="personNo" <span v-if='item.GuestNumStatus==3' style="color:#666;" class="personNo"
slot="reference">{{item.GuestNum}}/{{item.YSeatNum>0? item.YSeatNum+'Y ':''}}{{item.ESeatNum>0? item.ESeatNum+'E ':''}}{{item.FSeatNum>0? item.FSeatNum+'F ':''}}</span> slot="reference">{{item.GuestNum}}/{{item.YSeatNum>0? item.YSeatNum+'Y ':''}}{{item.ESeatNum>0? item.ESeatNum+'E ':''}}{{item.FSeatNum>0? item.FSeatNum+'F ':''}}</span>
<br/> <br />
<span v-if="item.RefuseVisaNum>0" style="color:red"> <span v-if="item.RefuseVisaNum>0" style="color:red">
(拒签 {{item.RefuseVisaNum}}人) (拒签 {{item.RefuseVisaNum}}人)
</span> </span>
<!-- </el-popover> --> <!-- </el-popover> -->
</td> </td>
<td>{{item.TC_Price}}</td> <td>{{item.TC_Price}}</td>
...@@ -2293,9 +2302,9 @@ ...@@ -2293,9 +2302,9 @@
<span style="color:blue !important" v-for="(childItem) in item.GuestList" <span style="color:blue !important" v-for="(childItem) in item.GuestList"
@click="goUrl('TravelPassengerList',msg.TCID,childItem.OrderId,'旅客名单')">{{childItem.userName}}</span> @click="goUrl('TravelPassengerList',msg.TCID,childItem.OrderId,'旅客名单')">{{childItem.userName}}</span>
</span> </span>
<!-- <span class="RL-redType RL-remarkCon" v-else>--> <!-- <span class="RL-redType RL-remarkCon" v-else>-->
<!-- <span>暂无名单</span>--> <!-- <span>暂无名单</span>-->
<!-- </span>--> <!-- </span>-->
<span v-if="item.TipMoney" style="color:red">(小费:{{item.TipMoney}})</span> <span v-if="item.TipMoney" style="color:red">(小费:{{item.TipMoney}})</span>
</td> </td>
</tr> </tr>
...@@ -2401,17 +2410,17 @@ ...@@ -2401,17 +2410,17 @@
<th width=100>时间</th> <th width=100>时间</th>
</tr> </tr>
<template v-if="LeaderHolidyList&&LeaderHolidyList.length>0"> <template v-if="LeaderHolidyList&&LeaderHolidyList.length>0">
<tr v-for="(leaderItem,leaderIndex) in LeaderHolidyList"> <tr v-for="(leaderItem,leaderIndex) in LeaderHolidyList">
<td> <td>
{{LeaderInfoList.LeaderGuide.Surname}}{{LeaderInfoList.LeaderGuide.Name}} {{LeaderInfoList.LeaderGuide.Surname}}{{LeaderInfoList.LeaderGuide.Name}}
</td> </td>
<td> <td>
请假 请假
</td> </td>
<td> <td>
{{leaderItem.StartDateStr2}}{{leaderItem.EndDateStr2}} {{leaderItem.StartDateStr2}}{{leaderItem.EndDateStr2}}
</td> </td>
</tr> </tr>
</template> </template>
<template v-else> <template v-else>
<tr> <tr>
...@@ -2500,7 +2509,7 @@ ...@@ -2500,7 +2509,7 @@
<button class="hollowFixedBtn" @click="OrderLoading=false">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" @click="OrderLoading=false">{{$t('pub.cancelBtn')}}</button>
</div> </div>
</el-dialog> </el-dialog>
<!-- 联运返佣弹窗 --> <!-- 联运返佣弹窗 -->
<el-dialog custom-class='w350' title="联运返佣" :visible.sync="FyongLoading" center> <el-dialog custom-class='w350' title="联运返佣" :visible.sync="FyongLoading" center>
<!--zhaunMsg.TCNUM--> <!--zhaunMsg.TCNUM-->
<el-form label-width="110px"> <el-form label-width="110px">
...@@ -2568,7 +2577,7 @@ ...@@ -2568,7 +2577,7 @@
</el-dialog> </el-dialog>
<el-dialog custom-class='w600' title="修改订单收损金额" :visible.sync="shousunDialog" center> <el-dialog custom-class='w600' title="修改订单收损金额" :visible.sync="shousunDialog" center>
<commonShouSun ref="childShou" :Type="1" @closeShouSun="closeShouSunDialog" @getList="getList"></commonShouSun> <commonShouSun ref="childShou" :Type="1" @closeShouSun="closeShouSunDialog" @getList="getList"></commonShouSun>
</el-dialog> </el-dialog>
...@@ -2688,13 +2697,14 @@ ...@@ -2688,13 +2697,14 @@
export default { export default {
data() { data() {
return { return {
IsHaveAuth: 0, //是否有权限
// 修改应收总额 // 修改应收总额
Ysze: false, Ysze: false,
addMsg_form: {}, addMsg_form: {},
IsUpdateOrderMoney: false, IsUpdateOrderMoney: false,
outerVisible: false, outerVisible: false,
//收损金额 //收损金额
shousunDialog:false, shousunDialog: false,
//弹窗 //弹窗
OrderLoading: false, OrderLoading: false,
...@@ -3090,7 +3100,7 @@ ...@@ -3090,7 +3100,7 @@
}, },
SuperiorPeople: [], SuperiorPeople: [],
IsBackStatus: 1, IsBackStatus: 1,
Unit_Price:0 Unit_Price: 0
}; };
}, },
components: { components: {
...@@ -3099,13 +3109,13 @@ ...@@ -3099,13 +3109,13 @@
commonShouSun: commonShouSun commonShouSun: commonShouSun
}, },
methods: { methods: {
closeShouSunDialog(){ closeShouSunDialog() {
this.shousunDialog=false; this.shousunDialog = false;
}, },
//点击设置收损 //点击设置收损
SetShouSunClick(OrderId){ SetShouSunClick(OrderId) {
this.shousunDialog=true; this.shousunDialog = true;
this.$nextTick(()=>{ this.$nextTick(() => {
this.$refs.childShou.getShouSunList(OrderId); this.$refs.childShou.getShouSunList(OrderId);
}) })
}, },
...@@ -3114,7 +3124,7 @@ ...@@ -3114,7 +3124,7 @@
OrderId: this.lianyunFYId, OrderId: this.lianyunFYId,
IsBackStatus: this.IsBackStatus IsBackStatus: this.IsBackStatus
} }
this.apipost('sellorder_post_SetOrderUnionBackMoney', msg, res=>{ this.apipost('sellorder_post_SetOrderUnionBackMoney', msg, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.$message.success(res.data.message) this.$message.success(res.data.message)
this.getList() this.getList()
...@@ -3217,10 +3227,10 @@ ...@@ -3217,10 +3227,10 @@
this.IsBirdDiscount = x.IsBirdDiscount; this.IsBirdDiscount = x.IsBirdDiscount;
this.OpSetLossPeople = x.OpSetLossPeople; this.OpSetLossPeople = x.OpSetLossPeople;
this.OpSetLossMoney = x.OpSetLossMoney; this.OpSetLossMoney = x.OpSetLossMoney;
if(this.addMsg.GroupType == 4){ if (this.addMsg.GroupType == 4) {
this.HightUnitPrice = '1' this.HightUnitPrice = '1'
this.Unit_Price = x.Unit_Price this.Unit_Price = x.Unit_Price
}else { } else {
this.HightUnitPrice = '2' this.HightUnitPrice = '2'
this.Unit_Price = this.addObj.SingleDMCPrice this.Unit_Price = this.addObj.SingleDMCPrice
} }
...@@ -3836,9 +3846,9 @@ ...@@ -3836,9 +3846,9 @@
Number(this.addMsg.OldPeopleNum)) * Number(this.addMsg.OldPeopleNum)) *
(Number(this.stratPrice) + Number(this.returnPrice)); (Number(this.stratPrice) + Number(this.returnPrice));
let dandijie let dandijie
if(this.addMsg.GroupType == 4){ if (this.addMsg.GroupType == 4) {
dandijie = this.addMsg.Unit_Price * Number(this.addMsg.AirticketNum); dandijie = this.addMsg.Unit_Price * Number(this.addMsg.AirticketNum);
}else { } else {
dandijie = this.addObj.SingleDMCPrice * Number(this.addMsg.AirticketNum); dandijie = this.addObj.SingleDMCPrice * Number(this.addMsg.AirticketNum);
} }
this.addMsg.PreferPrice = this.addMsg.PreferPrice =
...@@ -3896,9 +3906,9 @@ ...@@ -3896,9 +3906,9 @@
Number(this.addMsg.OldPeopleNum)) * Number(this.addMsg.OldPeopleNum)) *
(Number(this.stratPrice) + Number(this.returnPrice)); (Number(this.stratPrice) + Number(this.returnPrice));
let dandijie let dandijie
if(this.addMsg.GroupType == 4){ if (this.addMsg.GroupType == 4) {
dandijie = this.addMsg.Unit_Price * Number(this.addMsg.AirticketNum); dandijie = this.addMsg.Unit_Price * Number(this.addMsg.AirticketNum);
}else { } else {
dandijie = this.addObj.SingleDMCPrice * Number(this.addMsg.AirticketNum); dandijie = this.addObj.SingleDMCPrice * Number(this.addMsg.AirticketNum);
} }
this.addMsg.PreferPrice = this.addMsg.PreferPrice =
...@@ -4578,7 +4588,7 @@ ...@@ -4578,7 +4588,7 @@
"leader_Get_GetPriceLeaderInfo", msg, "leader_Get_GetPriceLeaderInfo", msg,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.LeaderHolidyList=res.data.data.holidyList; this.LeaderHolidyList = res.data.data.holidyList;
this.LeaderInfoList = res.data.data; this.LeaderInfoList = res.data.data;
this.beforeInfo.DuringHoliday = ""; this.beforeInfo.DuringHoliday = "";
this.beforeInfo.date = ""; this.beforeInfo.date = "";
...@@ -4887,9 +4897,9 @@ ...@@ -4887,9 +4897,9 @@
// }, // },
// err => {}) // err => {})
}, },
gettypechange(type){ gettypechange(type) {
//切换参团类型时 把值初始化 //切换参团类型时 把值初始化
if(type == 4){ if (type == 4) {
this.addMsg.Unit_Price = this.Unit_Price; //成交单价 this.addMsg.Unit_Price = this.Unit_Price; //成交单价
this.HightUnitPrice = '1'; this.HightUnitPrice = '1';
this.addMsg.AirticketNum = 0; this.addMsg.AirticketNum = 0;
...@@ -4905,7 +4915,7 @@ ...@@ -4905,7 +4915,7 @@
this.addMsg.VisaNum = 0; this.addMsg.VisaNum = 0;
this.addMsg.PredictRoomNum = 0; this.addMsg.PredictRoomNum = 0;
this.addMsg.YSeatNum = 0; this.addMsg.YSeatNum = 0;
}else { } else {
this.HightUnitPrice = '2'; this.HightUnitPrice = '2';
this.addMsg.AirticketNum = 0; this.addMsg.AirticketNum = 0;
this.addMsg.ManNum = 0; this.addMsg.ManNum = 0;
...@@ -4922,26 +4932,26 @@ ...@@ -4922,26 +4932,26 @@
this.addMsg.YSeatNum = 0; this.addMsg.YSeatNum = 0;
}; };
if (this.addMsg.CustomerType == 1) { if (this.addMsg.CustomerType == 1) {
if(this.addMsg.GroupType==4){ if (this.addMsg.GroupType == 4) {
this.addMsg.TC_Price = this.addObj.SingleDMCPrice; this.addMsg.TC_Price = this.addObj.SingleDMCPrice;
}else { } else {
this.addMsg.TC_Price = this.addObj.B2BMemberPrice; this.addMsg.TC_Price = this.addObj.B2BMemberPrice;
this.addMsg.Unit_Price = this.addObj.B2BMemberPrice; this.addMsg.Unit_Price = this.addObj.B2BMemberPrice;
} }
} }
if (this.addMsg.CustomerType == 2) { if (this.addMsg.CustomerType == 2) {
if(this.addMsg.GroupType==4){ if (this.addMsg.GroupType == 4) {
this.addMsg.TC_Price = this.addObj.SingleDMCPrice; this.addMsg.TC_Price = this.addObj.SingleDMCPrice;
}else { } else {
this.addMsg.TC_Price = this.addObj.B2BPrice this.addMsg.TC_Price = this.addObj.B2BPrice
this.addMsg.Unit_Price = this.addObj.B2BPrice; this.addMsg.Unit_Price = this.addObj.B2BPrice;
} }
} }
if (this.addMsg.CustomerType == 3) { if (this.addMsg.CustomerType == 3) {
if(this.addMsg.GroupType==4){ if (this.addMsg.GroupType == 4) {
this.addMsg.TC_Price = this.addObj.SingleDMCPrice; this.addMsg.TC_Price = this.addObj.SingleDMCPrice;
}else { } else {
this.addMsg.TC_Price = this.addObj.B2CMemberPrice this.addMsg.TC_Price = this.addObj.B2CMemberPrice
this.addMsg.Unit_Price = this.addObj.B2CMemberPrice; this.addMsg.Unit_Price = this.addObj.B2CMemberPrice;
} }
...@@ -4950,9 +4960,9 @@ ...@@ -4950,9 +4960,9 @@
} }
if (this.addMsg.CustomerType == 4) { if (this.addMsg.CustomerType == 4) {
if(this.addMsg.GroupType==4){ if (this.addMsg.GroupType == 4) {
this.addMsg.TC_Price = this.addObj.SingleDMCPrice; this.addMsg.TC_Price = this.addObj.SingleDMCPrice;
}else { } else {
this.addMsg.TC_Price = this.addObj.B2CPrice this.addMsg.TC_Price = this.addObj.B2CPrice
this.addMsg.Unit_Price = this.addObj.B2CPrice; this.addMsg.Unit_Price = this.addObj.B2CPrice;
...@@ -4964,7 +4974,8 @@ ...@@ -4964,7 +4974,8 @@
}, },
getTypePrice2() { getTypePrice2() {
let maxPeopleNum = (Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNoNeedBedNum) + Number(this.addMsg.ChirdNeedBedNum) + Number(this.addMsg.OldPeopleNum) + Number(this.addMsg.AirticketNum) ) let maxPeopleNum = (Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNoNeedBedNum) + Number(this.addMsg
.ChirdNeedBedNum) + Number(this.addMsg.OldPeopleNum) + Number(this.addMsg.AirticketNum))
this.Unit_PriceList = []; this.Unit_PriceList = [];
this.apipost('sellorder_post_GetLessPrice', { this.apipost('sellorder_post_GetLessPrice', {
"TCID": this.addMsg.TCID, "TCID": this.addMsg.TCID,
......
<style>
.comHotelOperation {
margin-top: 10px;
}
.comHotelOperation tr td {
text-align: left;
width: 50%;
padding: 5px 0;
}
.comHotelOperation .tdRight {
text-align: right;
width: 20%;
}
.comHotelOperation .tdLeft {
text-align: left;
padding-left: 5px;
width: 30%;
}
</style>
<template>
<div>
<div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="singeRowTable">
<tr>
<th width="120">日期</th>
<th style="width:150px;">团期</th>
<th style="width:100px;">状态</th>
</tr>
<template v-for="(item,index) in HotelPriceList">
<tr >
</tr>
</template>
</table>
</div>
</div>
</template>
<script>
export default {
data() {
return {
loading: false,
HotelPriceList:[],
queryMsg:{
HotelId:0,
UseTime:"",
}
};
},
methods: {
//获取日志
getHotelPriceList(HotelId, timeStr) {
this.HotelPriceList=[];
this.loading = true;
if (HotelId) {
this.queryMsg.HotelId = HotelId;
}
if (timeStr) {
this.queryMsg.UseTime = timeStr;
}
this.apipost('travel_get_GetHotelUsePriceListService', this.queryMsg, res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.HotelLogsList = res.data.data;
console.log("this.HotelLogsList",this.HotelLogsList);
}
}, err => {})
},
},
mounted() {}
};
</script>
...@@ -859,6 +859,12 @@ ...@@ -859,6 +859,12 @@
<span v-if="childItem.UseCount>0 && subItem.SubList.length==1"> <span v-if="childItem.UseCount>0 && subItem.SubList.length==1">
<span style="color:red;white-space:nowrap;cursor:pointer;" @click="DeleteStock(subItem)">删除</span> <span style="color:red;white-space:nowrap;cursor:pointer;" @click="DeleteStock(subItem)">删除</span>
</span> </span>
<span>
<el-popover width="300" trigger="click" popper-class="DMC_HotelPop">
<commonPHInfo :name='"comPriceHotelInfo"+subIndex+childIndex' :ref='"comPriceHotelInfo"+subIndex+childIndex' ></commonPHInfo>
<span slot="reference" class="price" style="cursor:pointer;text-decoration:underline;" @click="GetHotelUsePriceList(childItem.HotelId,subItem.UseDay,subIndex,childIndex)">库存情况</span>
</el-popover>
</span>
</td> </td>
</tr> </tr>
</template> </template>
...@@ -914,6 +920,7 @@ ...@@ -914,6 +920,7 @@
</template> </template>
<script> <script>
import TravelPriceFlightList from "../TravelGroupControl/TravelPriceFlightList.vue"; import TravelPriceFlightList from "../TravelGroupControl/TravelPriceFlightList.vue";
import commonPriceHotelInfo from "../../commonPage/commonPriceHotelInfo.vue";
export default { export default {
props: ["priceList", "priceIsDirect", "OfferList", "PostConfig", "modifyTcid", "TeamType"], props: ["priceList", "priceIsDirect", "OfferList", "PostConfig", "modifyTcid", "TeamType"],
data() { data() {
...@@ -1007,7 +1014,17 @@ ...@@ -1007,7 +1014,17 @@
lessPriceData: [], lessPriceData: [],
}; };
}, },
components: {
commonPHInfo:commonPriceHotelInfo
},
methods: { methods: {
//调用子组件方法
GetHotelUsePriceList(HotelId,UseDay,index,hotelSubIndex)
{
// let str = `comPriceHotelInfo${index}${hotelSubIndex}`;
// console.log(this.$refs[str]);
// this.$refs[str][0].getHotelPriceList(HotelId, UseDay);
},
//点击折叠 //点击折叠
fold() { fold() {
if (this.isFold == "") { if (this.isFold == "") {
......
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