Commit c5cb7164 authored by 黄奎's avatar 黄奎

合团查询修改

parent b7cfd0e5
<style> <style>
@import "../../../assets/css/newTravelManager.css"; @import "../../../assets/css/newTravelManager.css";
.TravelQueryList { .TravelQueryList {
width: 100%; width: 100%;
padding-left: 10px; padding-left: 10px;
} }
.TravelQueryList {
.TravelQueryList {
width: 100%; width: 100%;
border: 1px solid #e5e5e5; border: 1px solid #e5e5e5;
background: #fff; background: #fff;
margin-bottom: 10px; margin-bottom: 10px;
color: #333; color: #333;
font-size: 14px; font-size: 14px;
} }
.TravelQueryList i.iconfont {
.TravelQueryList i.iconfont {
color: #bbb; color: #bbb;
margin-right: 8px; margin-right: 8px;
} }
.TravelQueryList > div {
.TravelQueryList>div {
height: 144px; height: 144px;
border-right: 1px dashed #dcdfe6; border-right: 1px dashed #dcdfe6;
} }
.TravelQueryList > div:last-child {
.TravelQueryList>div:last-child {
border-right: none; border-right: none;
} }
.TravelQueryList .d11 {
.TravelQueryList .d11 {
float: left; float: left;
width: 160px; width: 160px;
height: 120px; height: 120px;
margin: 14px 14px 0 14px; margin: 14px 14px 0 14px;
} }
.TravelQueryList .d11 > li {
.TravelQueryList .d11>li {
width: 160px; width: 160px;
height: 120px; height: 120px;
border: none; border: none;
} }
.TravelQueryList .d11 > li > img {
.TravelQueryList .d11>li>img {
width: 160px; width: 160px;
height: 120px; height: 120px;
} }
.TravelQueryList .d12 {
.TravelQueryList .d12 {
float: left; float: left;
padding: 0 30px; padding: 0 30px;
} }
.TravelQueryList .d12 .d12p {
.TravelQueryList .d12 .d12p {
margin-top: 3px; margin-top: 3px;
font-size: 12px; font-size: 12px;
color: #999; color: #999;
...@@ -56,29 +65,33 @@ ...@@ -56,29 +65,33 @@
/* autoprefixer: on */ /* autoprefixer: on */
text-overflow: ellipsis; text-overflow: ellipsis;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
} }
.TravelQueryList .d12 .d12p:hover {
.TravelQueryList .d12 .d12p:hover {
text-decoration: underline; text-decoration: underline;
color: #333; color: #333;
} }
.TravelQueryList .d12 .d12TC {
.TravelQueryList .d12 .d12TC {
margin: 10px 0 0 0; margin: 10px 0 0 0;
color: #666666; color: #666666;
font-size: 12px; font-size: 12px;
} }
.TravelQueryList .d2 {
.TravelQueryList .d2 {
text-align: center; text-align: center;
padding-top: 15px; padding-top: 15px;
width: 160px; width: 160px;
margin: auto; margin: auto;
} }
.TravelQueryList .TCLflight_GO {
.TravelQueryList .TCLflight_GO {
display: inline-block; display: inline-block;
width: 160px; width: 160px;
text-align: left; text-align: left;
} }
.TravelQueryList .d2 p.flightNo { .TravelQueryList .d2 p.flightNo {
background: #ccc; background: #ccc;
width: 160px; width: 160px;
margin: 5px 0; margin: 5px 0;
...@@ -87,130 +100,157 @@ ...@@ -87,130 +100,157 @@
line-height: 22px; line-height: 22px;
display: inline-block; display: inline-block;
font-size: 14px; font-size: 14px;
} }
.TravelQueryList .d2 p.flightNo em {
.TravelQueryList .d2 p.flightNo em {
font-style: normal; font-style: normal;
color: #333; color: #333;
font-size: 12px; font-size: 12px;
font-weight: bold; font-weight: bold;
} }
.TravelQueryList .d2 p.flightNo .flem {
.TravelQueryList .d2 p.flightNo .flem {
height: 22px; height: 22px;
width: 70px; width: 70px;
display: inline-block; display: inline-block;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.TravelQueryList .d2 p > span {
.TravelQueryList .d2 p>span {
color: #fff; color: #fff;
font-size: 12px; font-size: 12px;
border-radius: 10px; border-radius: 10px;
background: #2aaef2; background: #2aaef2;
padding: 2px 5px; padding: 2px 5px;
cursor: pointer; cursor: pointer;
} }
.TravelQueryList .d2 > div > div {
.TravelQueryList .d2>div>div {
display: inline-block; display: inline-block;
line-height: 24px; line-height: 24px;
font-size: 12px; font-size: 12px;
} }
.TravelQueryList .d3 {
.TravelQueryList .d3 {
padding: 15px 0 0 25px; padding: 15px 0 0 25px;
} }
.TravelQueryList .d3 p {
.TravelQueryList .d3 p {
line-height: 24px; line-height: 24px;
font-size: 12px; font-size: 12px;
color: #333333; color: #333333;
} }
.TravelQueryList .d3 p > span {
.TravelQueryList .d3 p>span {
color: #666; color: #666;
font-size: 12px; font-size: 12px;
margin-right: 10px; margin-right: 10px;
} }
.TravelQueryList .d3 p > em {
.TravelQueryList .d3 p>em {
background: #ff9c00; background: #ff9c00;
font-style: normal; font-style: normal;
margin-left: 8px; margin-left: 8px;
color: #fff; color: #fff;
border-radius: 4px; border-radius: 4px;
padding: 2px 5px; padding: 2px 5px;
} }
.TravelQueryList .d4 {
.TravelQueryList .d4 {
padding-left: 25px; padding-left: 25px;
padding-top: 15px; padding-top: 15px;
} }
.TravelQueryList .d4 p span.price {
.TravelQueryList .d4 p span.price {
color: #333; color: #333;
text-decoration: underline; text-decoration: underline;
font-size: 12px; font-size: 12px;
} }
.TravelQueryList .d4 p span.price:hover {
.TravelQueryList .d4 p span.price:hover {
color: #e95252; color: #e95252;
font-weight: bold; font-weight: bold;
cursor: pointer; cursor: pointer;
} }
.TravelQueryList .d5 {
.TravelQueryList .d5 {
padding: 15px 0 0 25px; padding: 15px 0 0 25px;
} }
.TravelQueryList .d5 p {
.TravelQueryList .d5 p {
line-height: 26px; line-height: 26px;
font-size: 12px; font-size: 12px;
} }
.TravelQueryList .d5 p > span {
.TravelQueryList .d5 p>span {
color: #666; color: #666;
font-size: 12px; font-size: 12px;
margin-right: 5px; margin-right: 5px;
} }
.TravelQueryList .d5 p > i {
.TravelQueryList .d5 p>i {
font-weight: bold; font-weight: bold;
font-style: normal; font-style: normal;
} }
.TravelQueryList .d6 {
.TravelQueryList .d6 {
padding: 20px 10px 0 15px; padding: 20px 10px 0 15px;
} }
.TravelQueryList .d6 p {
.TravelQueryList .d6 p {
line-height: 26px; line-height: 26px;
} }
.TravelQueryList .d6 p:nth-child(2) {
.TravelQueryList .d6 p:nth-child(2) {
width: 100%; width: 100%;
height: 78px; height: 78px;
font-size: 12px; font-size: 12px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.TravelQueryList .d7 {
.TravelQueryList .d7 {
text-align: center; text-align: center;
} }
.TravelQueryList .d7 button {
.TravelQueryList .d7 button {
height: 30px; height: 30px;
border-radius: 4px; border-radius: 4px;
} }
.TravelQueryList .d7 .el-button--primary {
.TravelQueryList .d7 .el-button--primary {
padding: 3px; padding: 3px;
margin: 0; margin: 0;
font-size: 12px !important; font-size: 12px !important;
color: #fff; color: #fff;
} }
.TravelQueryList .d7 i.iconfont {
.TravelQueryList .d7 i.iconfont {
color: #fff; color: #fff;
margin: 0; margin: 0;
} }
.TravelQueryList .disabledBtn {
.TravelQueryList .disabledBtn {
background: #999 !important; background: #999 !important;
border-color: #999 !important; border-color: #999 !important;
} }
.TravelQueryList .el-col {
.TravelQueryList .el-col {
height: 100%; height: 100%;
border-right: 1px dashed #dcdfe6; border-right: 1px dashed #dcdfe6;
} }
.TravelQueryList .el-col:last-child {
.TravelQueryList .el-col:last-child {
border: none; border: none;
} }
.TCL-redType {
.TCL-redType {
color: red !important; color: red !important;
} }
.TravelQueryList .el-dropdown {
.TravelQueryList .el-dropdown {
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;
background-color: #f2f2f2; background-color: #f2f2f2;
...@@ -221,34 +261,41 @@ ...@@ -221,34 +261,41 @@
border-top-right-radius: 4px; border-top-right-radius: 4px;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
cursor: pointer; cursor: pointer;
} }
.TravelControlList .TC_remarkContent {
.TravelControlList .TC_remarkContent {
width: 100%; width: 100%;
height: auto !important; height: auto !important;
border-top: 1px solid #e5e5e5; border-top: 1px solid #e5e5e5;
padding: 10px; padding: 10px;
font-size: 12px; font-size: 12px;
} }
.TravelControlList .TCL_remarkTitle {
.TravelControlList .TCL_remarkTitle {
float: left; float: left;
width: 65px; width: 65px;
text-align: right; text-align: right;
} }
.TravelControlList .TCL_Content {
.TravelControlList .TCL_Content {
float: left; float: left;
width: 92%; width: 92%;
} }
.TravelControlList .TCL-Opremark {
.TravelControlList .TCL-Opremark {
margin-top: 10px; margin-top: 10px;
} }
.TC_customerInfo .elPopoverLayer {
.TC_customerInfo .elPopoverLayer {
padding: 0px 10px; padding: 0px 10px;
} }
.TC_customerInfo .elPopoverLayer p {
.TC_customerInfo .elPopoverLayer p {
line-height: 34px; line-height: 34px;
font-size: 12px; font-size: 12px;
} }
.TC_customerInfo .elPopoverLayer p > i {
.TC_customerInfo .elPopoverLayer p>i {
font-style: normal; font-style: normal;
border: 1px solid #999; border: 1px solid #999;
padding: 0 3px; padding: 0 3px;
...@@ -256,79 +303,108 @@ ...@@ -256,79 +303,108 @@
margin-right: 10px; margin-right: 10px;
font-weight: bold; font-weight: bold;
color: #333; color: #333;
} }
.TC_customerInfo .elPopoverLayer p > span {
.TC_customerInfo .elPopoverLayer p>span {
display: inline-block; display: inline-block;
width: 130px; width: 130px;
} }
.TC_customerInfo .elPopoverLayer p > span > b {
.TC_customerInfo .elPopoverLayer p>span>b {
margin-left: 10px; margin-left: 10px;
color: #2aaef2; color: #2aaef2;
} }
.TCL-Popspan {
.TCL-Popspan {
margin-left: 48px; margin-left: 48px;
} }
.TC_SalePlat {
.TC_SalePlat {
position: absolute; position: absolute;
bottom: 10px; bottom: 10px;
left: 25px; left: 25px;
} }
.TC_SalePlat span {
.TC_SalePlat span {
display: inline-block; display: inline-block;
padding: 0 3px; padding: 0 3px;
margin-right: 2px; margin-right: 2px;
} }
.TravelControlList .Opcontent {
.TravelControlList .Opcontent {
width: 600px; width: 600px;
} }
.OPremarkDiv {
.OPremarkDiv {
height: 250px; height: 250px;
} }
.TC-dropdown .el-dropdown-menu__item {
.TC-dropdown .el-dropdown-menu__item {
width: 124px; width: 124px;
} }
.TC_tripDetails {
.TC_tripDetails {
padding: 0; padding: 0;
box-shadow: 0px 1px 3px 0px #dedede; box-shadow: 0px 1px 3px 0px #dedede;
max-height: 400px; max-height: 400px;
overflow-y: auto; overflow-y: auto;
} }
.TC_tripDetails .popper__arrow::after {
.TC_tripDetails .popper__arrow::after {
border-bottom-color: #ededed !important; border-bottom-color: #ededed !important;
} }
.TC_tripDetails table {
.TC_tripDetails table {
padding: 10px 0 0 20px; padding: 10px 0 0 20px;
background-color: #ededed; background-color: #ededed;
border-collapse: collapse; border-collapse: collapse;
border: 1px solid #d2d2d2; border: 1px solid #d2d2d2;
font-size: 12px; font-size: 12px;
} }
.TC_tripDetails table th {
.TC_tripDetails table th {
background-color: #ededed; background-color: #ededed;
padding: 5px; padding: 5px;
} }
.TC_tripDetails table td {
.TC_tripDetails table td {
background-color: #ffffff; background-color: #ffffff;
padding: 9px 15px; padding: 9px 15px;
color: #333333; color: #333333;
border: 1px solid #d2d2d2; border: 1px solid #d2d2d2;
} }
.TC_tripDetails table td._d_name {
.TC_tripDetails table td._d_name {
background-color: #ededed; background-color: #ededed;
} }
.TC_tripDetails table ._color_666 {
.TC_tripDetails table ._color_666 {
color: #666666; color: #666666;
} }
.TC_tripDetails table tr._color_666 th {
.TC_tripDetails table tr._color_666 th {
padding: 9px 15px; padding: 9px 15px;
} }
.TCL-TCNUM {
.TCL-TCNUM {
font-size: 12px; font-size: 12px;
margin: 5px 0 0 30px; margin: 5px 0 0 30px;
} }
.TravelControlListTable{width: 100%;border-collapse:collapse;}
.TravelControlListTable tr{background: #fff;} .TravelControlListTable {
.TravelControlListTable tr td{font-size: 12px;border: 1px solid #E5E5E5;} width: 100%;
border-collapse: collapse;
}
.TravelControlListTable tr {
background: #fff;
}
.TravelControlListTable tr td {
font-size: 12px;
border: 1px solid #E5E5E5;
}
</style> </style>
<template> <template>
<div> <div>
...@@ -340,24 +416,25 @@ ...@@ -340,24 +416,25 @@
<em>{{$t('active.ad_xlmc')}}</em> <em>{{$t('active.ad_xlmc')}}</em>
<el-select class="w150" v-model="queryMsg.LineteamId" filterable :placeholder="$t('pub.pleaseSel')"> <el-select class="w150" v-model="queryMsg.LineteamId" filterable :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.unlimitedSel')" :value="queryCommonData.SelectDefaultValue"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="queryCommonData.SelectDefaultValue"></el-option>
<el-option v-for="item in queryCommonData.LineTeamList" :label="item.LtName" :value="item.LtID" :key="item.LtID"></el-option> <el-option v-for="item in queryCommonData.LineTeamList" :label="item.LtName" :value="item.LtID"
:key="item.LtID"></el-option>
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('visa.v_tuanhao')}}</em> <em>{{$t('visa.v_tuanhao')}}</em>
<el-input maxlength="50" v-model="queryMsg.TCNUM" class="permiss-input w150" @keyup.native.enter="getControlList" <el-input maxlength="50" v-model="queryMsg.TCNUM" class="permiss-input w150"
:placeholder="$t('pub.pleaseImport')"></el-input> @keyup.native.enter="getControlList" :placeholder="$t('pub.pleaseImport')"></el-input>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('scen.sc_ftTime')}}</em> <em>{{$t('scen.sc_ftTime')}}</em>
<el-date-picker class="w150" type="date" v-model="queryMsg.StartGroupDate" :picker-options="pickerBeginDateBefore" <el-date-picker class="w150" type="date" v-model="queryMsg.StartGroupDate"
value-format="yyyy-MM-dd" placeholder></el-date-picker> :picker-options="pickerBeginDateBefore" value-format="yyyy-MM-dd" placeholder></el-date-picker>
<el-date-picker class="w150" type="date" v-model="queryMsg.EndGroupDate" :picker-options="pickerBeginDateAfter" <el-date-picker class="w150" type="date" v-model="queryMsg.EndGroupDate"
value-format="yyyy-MM-dd" placeholder></el-date-picker> :picker-options="pickerBeginDateAfter" value-format="yyyy-MM-dd" placeholder></el-date-picker>
</span> </span>
</li> </li>
<li> <li>
...@@ -375,15 +452,16 @@ ...@@ -375,15 +452,16 @@
<em>{{$t('scen.sc_cp')}}</em> <em>{{$t('scen.sc_cp')}}</em>
<el-select class="w150" v-model="queryMsg.OutBranchId" filterable :placeholder="$t('pub.pleaseSel')"> <el-select class="w150" v-model="queryMsg.OutBranchId" filterable :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.unlimitedSel')" :value="queryCommonData.BranchDefaultValue"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="queryCommonData.BranchDefaultValue"></el-option>
<el-option v-for="item in queryCommonData.BranchList" :label="item.BName" :key="item.Id" :value="item.Id">{{item.BName}}</el-option> <el-option v-for="item in queryCommonData.BranchList" :label="item.BName" :key="item.Id"
:value="item.Id">{{item.BName}}</el-option>
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('Operation.Op_hetuan')}}</em> <em>{{$t('Operation.Op_hetuan')}}</em>
<el-input maxlength="50" v-model="queryMsg.CombinationNum" class="permiss-input w150" @keyup.native.enter="getControlList" <el-input maxlength="50" v-model="queryMsg.CombinationNum" class="permiss-input w150"
:placeholder="$t('pub.pleaseImport')"></el-input> @keyup.native.enter="getControlList" :placeholder="$t('pub.pleaseImport')"></el-input>
</span> </span>
</li> </li>
<li> <li>
...@@ -398,7 +476,8 @@ ...@@ -398,7 +476,8 @@
<tr height="40"> <tr height="40">
<td align="center" width="80" v-if="index==0" :rowspan="outItem.TravelPriceList.length*3"> <td align="center" width="80" v-if="index==0" :rowspan="outItem.TravelPriceList.length*3">
<label> <label>
<input :value="outItem.TCIDs" style="vertical-align: middle;" v-model="ArrList" type="checkbox">{{outItem.TCIDs}} <input :value="outItem.TCIDs" style="vertical-align: middle;" v-model="ArrList"
type="checkbox">{{outItem.TCIDs}}
</label> </label>
<span v-if='outItem.TravelPriceList.length>1'></span> <span v-if='outItem.TravelPriceList.length>1'></span>
</td> </td>
...@@ -433,7 +512,8 @@ ...@@ -433,7 +512,8 @@
<td class="_d_name _color_666"> <td class="_d_name _color_666">
<span v-if="din==0">{{$t('Airticket.Air_go')}}</span> <span v-if="din==0">{{$t('Airticket.Air_go')}}</span>
<span v-else-if="din==item.flightList.length-1">{{$t('Airticket.Air_returnTrip')}}</span> <span v-else-if="din==item.flightList.length-1">{{$t('Airticket.Air_returnTrip')}}</span>
<span v-else-if="din>0 && din!=item.flightList.length-1">{{$t('Airticket.Air_transit')}}</span> <span
v-else-if="din>0 && din!=item.flightList.length-1">{{$t('Airticket.Air_transit')}}</span>
</td> </td>
<td> <td>
<div>{{ds.Flight_number}}</div> <div>{{ds.Flight_number}}</div>
...@@ -451,8 +531,8 @@ ...@@ -451,8 +531,8 @@
</tr> </tr>
</table> </table>
<div class="FlightDiv-TCL" slot="reference"> <div class="FlightDiv-TCL" slot="reference">
<div v-for="subItem in item.flightList" slot="reference" :key="subItem.subCode" class="TCL-flighInfoList" <div v-for="subItem in item.flightList" slot="reference" :key="subItem.subCode"
style="text-align: center!important"> class="TCL-flighInfoList" style="text-align: center!important">
<span class="travelnowrap"> <span class="travelnowrap">
<span class="TCL-FlightNumber">{{subItem.Flight_number}}</span>{{subItem.DepartureName}} <span class="TCL-FlightNumber">{{subItem.Flight_number}}</span>{{subItem.DepartureName}}
{{subItem.StopoverName==""?"":"-"+subItem.StopoverName}} {{subItem.StopoverName==""?"":"-"+subItem.StopoverName}}
...@@ -502,7 +582,8 @@ ...@@ -502,7 +582,8 @@
<td width="240"> <td width="240">
<div class="d7"> <div class="d7">
<el-button-group v-if='outItem.TravelPriceList.length>1'> <el-button-group v-if='outItem.TravelPriceList.length>1'>
<el-button @click.native='chaiTuan(item)' type="primary" style="background:#00C6FF; border-color:#00C6FF">{{$t('Operation.Op_chaifen')}}</el-button> <el-button @click.native='chaiTuan(item)' type="primary"
style="background:#00C6FF; border-color:#00C6FF">{{$t('Operation.Op_chaifen')}}</el-button>
</el-button-group> </el-button-group>
</div> </div>
</td> </td>
...@@ -519,8 +600,8 @@ ...@@ -519,8 +600,8 @@
<td colspan="6">{{$t('system.content_noData')}}</td> <td colspan="6">{{$t('system.content_noData')}}</td>
</tr> </tr>
</table> </table>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage" layout="total,prev, pager, next, jumper" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage"
:page-size="queryMsg.pageSize" :total="queryMsg.total"></el-pagination> layout="total,prev, pager, next, jumper" :page-size="queryMsg.pageSize" :total="queryMsg.total"></el-pagination>
</div> </div>
</div> </div>
</template> </template>
...@@ -561,7 +642,7 @@ ...@@ -561,7 +642,7 @@
//出团公司 //出团公司
OutBranchId: -1, OutBranchId: -1,
//合团团号 //合团团号
CombinationNum:"" CombinationNum: ""
}, },
pickerBeginDateBefore: { pickerBeginDateBefore: {
disabledDate: time => { disabledDate: time => {
...@@ -604,8 +685,19 @@ ...@@ -604,8 +685,19 @@
this.ArrList.forEach(item => { this.ArrList.forEach(item => {
sumArr = sumArr.concat(item.split(',')) sumArr = sumArr.concat(item.split(','))
}); });
var newArray = [];
if (sumArr != null && sumArr.length > 0) {
sumArr.forEach(item => {
if (item != "") {
newArray.push(item);
}
});
}
if (newArray != null && newArray.length > 0) {
this.apipost('travel_post_SetCombination', { this.apipost('travel_post_SetCombination', {
Ids: sumArr Ids: newArray
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.$message.success(res.data.message) this.$message.success(res.data.message)
...@@ -614,7 +706,8 @@ ...@@ -614,7 +706,8 @@
} else { } else {
this.Error(res.data.message) this.Error(res.data.message)
} }
}, err => {}) }, err => {});
}
}, },
goUrl(path, obj, title) { goUrl(path, obj, title) {
this.$router.push({ this.$router.push({
...@@ -711,4 +804,5 @@ ...@@ -711,4 +804,5 @@
this.getControlList(); this.getControlList();
} }
}; };
</script> </script>
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