Commit e29604f0 authored by 黄奎's avatar 黄奎

包机团跳转调整

parent 3ce25ea8
...@@ -349,14 +349,7 @@ ...@@ -349,14 +349,7 @@
<i class="iconfont icon-tiaozheng" style="font-size: 22px; color: #297bef"></i></el-tooltip> <i class="iconfont icon-tiaozheng" style="font-size: 22px; color: #297bef"></i></el-tooltip>
</p> </p>
<p class="fz12 over_ellipsis" style="width: 100%; text-decoration: underline; cursor: pointer" <p class="fz12 over_ellipsis" style="width: 100%; text-decoration: underline; cursor: pointer"
:title="item.alName" @click=" :title="item.alName" @click="gotoProduct(item)">
goUrlX(
'产品查询',
item.isOneDay === 1 ? 'productQueryOne' : 'productQuery',
item.tcid,
item.tcnum
)
">
{{ item.tcnum }} {{ item.tcnum }}
</p> </p>
<p class="fz12 over_ellipsis" style="width: 100%"> <p class="fz12 over_ellipsis" style="width: 100%">
...@@ -1125,6 +1118,21 @@ ...@@ -1125,6 +1118,21 @@
(err) => {} (err) => {}
); );
}, },
gotoProduct(item) {
var path = "productQuery";
if (item.teamType == 2) {
path = "productQueryOne";
} else if (item.teamType == 4) {
path = "priceGroup";
} else {
path = "productQuery";
}
var ntcnum = item.tcnum;
if (ntcnum && ntcnum.indexOf('(') > -1) {
ntcnum = ntcnum.substring(0, ntcnum.indexOf('('));
}
this.goUrlX('产品查询', path, item.tcid, ntcnum)
},
goUrlX(name, path, id, tcmun) { goUrlX(name, path, id, tcmun) {
this.$router.push({ this.$router.push({
name: path, name: path,
...@@ -1349,7 +1357,7 @@ ...@@ -1349,7 +1357,7 @@
this.msg.CEndDate = this.$route.query.CEndDate this.msg.CEndDate = this.$route.query.CEndDate
if (this.$route.query.discount) this.msg.IsUseCoupon = this.$route.query.discount if (this.$route.query.discount) this.msg.IsUseCoupon = this.$route.query.discount
} }
if (this.$route.query.BranchId &&this.$route.query.BranchId >= -1) { if (this.$route.query.BranchId && this.$route.query.BranchId >= -1) {
this.msg.BranchId = Number(this.$route.query.BranchId); this.msg.BranchId = Number(this.$route.query.BranchId);
} }
if (this.$route.query.isNormal) this.msg.isNormal = this.$route.query.isNormal if (this.$route.query.isNormal) this.msg.isNormal = this.$route.query.isNormal
......
...@@ -764,9 +764,11 @@ ...@@ -764,9 +764,11 @@
width: 200px; width: 200px;
} }
.el-input-group__append, .el-input-group__prepend { .el-input-group__append,
.el-input-group__prepend {
padding: 0 5px !important; padding: 0 5px !important;
} }
</style> </style>
<template> <template>
<div class="flexOne groupts" style="min-width: 1200px"> <div class="flexOne groupts" style="min-width: 1200px">
...@@ -935,7 +937,8 @@ ...@@ -935,7 +937,8 @@
</el-col> </el-col>
<el-col :span="4" v-if="addMsg.IsLessPrice ==1 && this.addMsg.GroupType ==1"> <el-col :span="4" v-if="addMsg.IsLessPrice ==1 && this.addMsg.GroupType ==1">
<el-form-item label="少价/人" prop="LessAvgPrice"> <el-form-item label="少价/人" prop="LessAvgPrice">
<el-input type="Number" v-model="addMsg.LessAvgPrice" @change="ValidateLess2"><template slot="append">最高{{LessNAvgPrice}}/人</template></el-input> <el-input type="Number" v-model="addMsg.LessAvgPrice" @change="ValidateLess2"><template
slot="append">最高{{LessNAvgPrice}}/人</template></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
...@@ -1097,7 +1100,8 @@ ...@@ -1097,7 +1100,8 @@
</el-col> </el-col>
<el-col :span="4" v-if="addMsg.IsLessPrice ==1 && this.addMsg.GroupType ==1"> <el-col :span="4" v-if="addMsg.IsLessPrice ==1 && this.addMsg.GroupType ==1">
<el-form-item :label="$t('objFill.v101.shaojiazonge')" prop="LessPrice"> <el-form-item :label="$t('objFill.v101.shaojiazonge')" prop="LessPrice">
<el-input type="Number" v-model="addMsg.LessPrice" @change="ValidateLess"><template slot="append">最高少价{{LessNPrice}}</template></el-input> <el-input type="Number" v-model="addMsg.LessPrice" @change="ValidateLess"><template
slot="append">最高少价{{LessNPrice}}</template></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
...@@ -1198,7 +1202,8 @@ ...@@ -1198,7 +1202,8 @@
</el-col> </el-col>
<el-col :span="4" v-show="addMsg.GroupType == '2'"> <el-col :span="4" v-show="addMsg.GroupType == '2'">
<el-form-item :label="$t('ground.bjd')" prop="QuotationUrl"> <el-form-item :label="$t('ground.bjd')" prop="QuotationUrl">
<div style="margin-bottom: 10px; width: 32%" v-loading="uploadLloading" :element-loading-text="$t('objFill.pingminscz')"> <div style="margin-bottom: 10px; width: 32%" v-loading="uploadLloading"
:element-loading-text="$t('objFill.pingminscz')">
<el-upload ref="my-upload" class="upload-demo" :http-request="uploadFileBtnFJ" :multiple="true" <el-upload ref="my-upload" class="upload-demo" :http-request="uploadFileBtnFJ" :multiple="true"
:show-file-list="true" :on-preview="previewFileFJ" :on-remove="removeFileFJ" :limit="1" :show-file-list="true" :on-preview="previewFileFJ" :on-remove="removeFileFJ" :limit="1"
:file-list="fileFujianList" action> :file-list="fileFujianList" action>
...@@ -1380,10 +1385,11 @@ ...@@ -1380,10 +1385,11 @@
<input type="button" class="normalBtn" :value="$t('pub.saveBtn')" @click="SetGender()" /> <input type="button" class="normalBtn" :value="$t('pub.saveBtn')" @click="SetGender()" />
</span> </span>
</p> </p>
<el-form :model="subGenderInfo" :inline="true" ref="subGenderInfo" label-position="right" :rules="subGenderInfo" label-width="80px"> <el-form :model="subGenderInfo" :inline="true" ref="subGenderInfo" label-position="right" :rules="subGenderInfo"
label-width="80px">
<!-- <el-row :gutter="20"> <!-- <el-row :gutter="20">
<el-col :span="12"> --> <el-col :span="12"> -->
<el-form-item :label="$t('hotel.order_Number')" > <el-form-item :label="$t('hotel.order_Number')">
{{subGenderInfo.OrderId}} {{subGenderInfo.OrderId}}
</el-form-item> </el-form-item>
<el-form-item :label="$t('salesModule.SingleFM')" style="margin-left: 58px"> <el-form-item :label="$t('salesModule.SingleFM')" style="margin-left: 58px">
...@@ -1435,10 +1441,11 @@ ...@@ -1435,10 +1441,11 @@
<span><em>{{ $t("scen.sc_ftTime") }}</em> <span><em>{{ $t("scen.sc_ftTime") }}</em>
<!-- <el-date-picker v-model="msg.QStartDate" @change="dataDui2()" class="w150" value-format="yyyy-MM-dd" <!-- <el-date-picker v-model="msg.QStartDate" @change="dataDui2()" class="w150" value-format="yyyy-MM-dd"
type="date"></el-date-picker> --> type="date"></el-date-picker> -->
<DateLimit :clearable="false" :StartGroupDate="msg.QStartDate" :EndGroupDate="msg.QEndDate" @change="(date)=> {msg.QStartDate = date,dataDui2()}"></DateLimit> <DateLimit :clearable="false" :StartGroupDate="msg.QStartDate" :EndGroupDate="msg.QEndDate"
@change="(date)=> {msg.QStartDate = date,dataDui2()}"></DateLimit>
- -
<el-date-picker v-model="msg.QEndDate" @change="dataDui2()" class="w150" value-format="yyyy-MM-dd" <el-date-picker v-model="msg.QEndDate" @change="dataDui2()" class="w150" value-format="yyyy-MM-dd"
type="date":picker-options="pickerBeginDateAfter"></el-date-picker> type="date" :picker-options="pickerBeginDateAfter"></el-date-picker>
</span> </span>
</li> </li>
<li style="line-height: 30px; padding-left: 30px"> <li style="line-height: 30px; padding-left: 30px">
...@@ -1694,7 +1701,8 @@ ...@@ -1694,7 +1701,8 @@
<td rowspan="3" style="position: relative;"> <td rowspan="3" style="position: relative;">
<span class="TC_neibu" <span class="TC_neibu"
style="float: inherit;margin-left: 5px;margin-right: 5px;position: absolute;top: 10px;left:3px" style="float: inherit;margin-left: 5px;margin-right: 5px;position: absolute;top: 10px;left:3px"
v-if="item.standardCurrencyName" :class="{'TCneibu':item.standardCurrencyName=='人民币','TCb2b':item.standardCurrencyName=='日元', v-if="item.standardCurrencyName"
:class="{'TCneibu':item.standardCurrencyName=='人民币','TCb2b':item.standardCurrencyName=='日元',
'TCb2c':item.standardCurrencyName=='新台币','AppPlat':item.standardCurrencyName=='', 'TCb2c':item.standardCurrencyName=='新台币','AppPlat':item.standardCurrencyName=='',
'otherPlat':item.standardCurrencyName=='',}">{{item.standardCurrencyName}}{{$t('objFill.jiesuan')}}</span> 'otherPlat':item.standardCurrencyName=='',}">{{item.standardCurrencyName}}{{$t('objFill.jiesuan')}}</span>
<p v-if="item.isChargeLossOrders == 1" style="color: red"> <p v-if="item.isChargeLossOrders == 1" style="color: red">
...@@ -1725,9 +1733,7 @@ ...@@ -1725,9 +1733,7 @@
<i class="iconfont icon-tiaozheng" style="font-size: 22px; color: #297bef"></i></el-tooltip> <i class="iconfont icon-tiaozheng" style="font-size: 22px; color: #297bef"></i></el-tooltip>
</p> </p>
<p class="fz12 over_ellipsis" style="width: 100%; text-decoration: underline; cursor: pointer" <p class="fz12 over_ellipsis" style="width: 100%; text-decoration: underline; cursor: pointer"
:title="item.alName" @click=" :title="item.alName" @click="gotoProduct(item)">
goUrlX('产品查询', 'productQuery', item.tcid, item.tcnum)
">
{{ item.tcnum }} {{ item.tcnum }}
</p> </p>
...@@ -2096,7 +2102,8 @@ ...@@ -2096,7 +2102,8 @@
<span v-else>{{ $t("salesModule.LossReceipt") }}</span> <span v-else>{{ $t("salesModule.LossReceipt") }}</span>
</div> </div>
<div v-if="item.orderState == '1' || item.orderState == '2'|| item.orderState == '3'" @click="getOrderGender(item)"> <div v-if="item.orderState == '1' || item.orderState == '2'|| item.orderState == '3'"
@click="getOrderGender(item)">
{{$t("pub.updateMsg")+$t("salesModule.SingleFM")}} {{$t("pub.updateMsg")+$t("salesModule.SingleFM")}}
</div> </div>
<!-- item.confirmFileList.length>0 && ((item.receivableMoney - item.invoiceApplyTotal) > 0) --> <!-- item.confirmFileList.length>0 && ((item.receivableMoney - item.invoiceApplyTotal) > 0) -->
...@@ -2212,7 +2219,8 @@ ...@@ -2212,7 +2219,8 @@
<span style="display: block">{{ $t("salesModule.RoomInfo") <span style="display: block">{{ $t("salesModule.RoomInfo")
}}<span v-if="item.oneSex > 0" }}<span v-if="item.oneSex > 0"
style="color: #e95252">({{ item.oneSex == 1 ?$t('objFill.dannan') : $t('objFill.dannv') }})</span><span style="color: #e95252">({{ item.oneSex == 1 ?$t('objFill.dannan') : $t('objFill.dannv') }})</span><span
v-if="item.chirdNoNeedBedNum > 0" style="color: #e95252">({{$t('Operation.Op_childNobed')}}{{ item.chirdNoNeedBedNum }}{{$t('hotel.hotel_people')}} v-if="item.chirdNoNeedBedNum > 0"
style="color: #e95252">({{$t('Operation.Op_childNobed')}}{{ item.chirdNoNeedBedNum }}{{$t('hotel.hotel_people')}}
</span>:{{ item.orderGuestHouseStr }}</span> </span>:{{ item.orderGuestHouseStr }}</span>
...@@ -2307,13 +2315,15 @@ ...@@ -2307,13 +2315,15 @@
</div> </div>
</div> </div>
</div> </div>
<p v-if="item.unionRemark" style="color: red;font-size:10px;margin-top:5px;">{{$t('objFill.liangyunbeizhu')}}:{{ item.unionRemark }} <p v-if="item.unionRemark" style="color: red;font-size:10px;margin-top:5px;">
{{$t('objFill.liangyunbeizhu')}}:{{ item.unionRemark }}
</p> </p>
<template v-if="item.orderGuestFlightList&&item.orderGuestFlightList.length>0"> <template v-if="item.orderGuestFlightList&&item.orderGuestFlightList.length>0">
<template v-for="(uItem,uIndex) in item.orderGuestFlightList"> <template v-for="(uItem,uIndex) in item.orderGuestFlightList">
<div :key="uIndex+20000"> <div :key="uIndex+20000">
{{uItem.guestNames}} {{$t('salesModule.FlighInfo')}} {{uItem.guestNames}} {{$t('salesModule.FlighInfo')}}
<span v-if="uItem.isSure==1" style="color:rgb(71, 191, 140)">【OK】</span> <span v-else>{{$t('visa.v_zanding')}}</span> <span v-if="uItem.isSure==1" style="color:rgb(71, 191, 140)">【OK】</span> <span
v-else>{{$t('visa.v_zanding')}}</span>
<!-- <a v-if="uItem.ticketUnionId&&uItem.ticketUnionId>0" @click="toTrip(item,uItem.ticketUnionId,uItem.GuestIds)" <!-- <a v-if="uItem.ticketUnionId&&uItem.ticketUnionId>0" @click="toTrip(item,uItem.ticketUnionId,uItem.GuestIds)"
style="cursor:pointer;text-decoration:underline;color:green;"> style="cursor:pointer;text-decoration:underline;color:green;">
{{ $t("Operation.Op_teamNotice") }}({{ item.outNotice == 1 ? "OK" : $t('visa.v_zanding')}}) {{ $t("Operation.Op_teamNotice") }}({{ item.outNotice == 1 ? "OK" : $t('visa.v_zanding')}})
...@@ -2356,8 +2366,10 @@ ...@@ -2356,8 +2366,10 @@
</template> </template>
<template v-else> <template v-else>
<span class="font-color-red" v-if="item.orderspecialofferState === -1">{{$t('visa.v_jujue')}}</span> <span class="font-color-red" v-if="item.orderspecialofferState === -1">{{$t('visa.v_jujue')}}</span>
<span class="font-color-org" v-if="item.orderspecialofferState === 0">{{$t('objFill.shengpizhong')}}</span> <span class="font-color-org"
<span class="font-color-green" v-if="item.orderspecialofferState === 1">{{$t('visa.v_tongguo')}}</span> v-if="item.orderspecialofferState === 0">{{$t('objFill.shengpizhong')}}</span>
<span class="font-color-green"
v-if="item.orderspecialofferState === 1">{{$t('visa.v_tongguo')}}</span>
</template> </template>
</div> </div>
<div class="font-color-red" v-if="item.orderspecialofferId !== 0"> <div class="font-color-red" v-if="item.orderspecialofferId !== 0">
...@@ -2431,7 +2443,8 @@ ...@@ -2431,7 +2443,8 @@
</div> </div>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total"></el-pagination> layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total"></el-pagination>
<el-dialog custom-class="w450" :title="$t('Operation.Op_tripDownLoad')" :visible.sync="travelControlTripLayerShow" center> <el-dialog custom-class="w450" :title="$t('Operation.Op_tripDownLoad')" :visible.sync="travelControlTripLayerShow"
center>
<tripDownLoadCommon ref="tripDownLoadCommon" :tripObj="tripObj" @headCallBack="hideTripDown" :downType="2"> <tripDownLoadCommon ref="tripDownLoadCommon" :tripObj="tripObj" @headCallBack="hideTripDown" :downType="2">
</tripDownLoadCommon> </tripDownLoadCommon>
</el-dialog> </el-dialog>
...@@ -2504,7 +2517,8 @@ ...@@ -2504,7 +2517,8 @@
<updateSalesMan @closeUpdiv="closeSalseDiv" @getList="getList" :subInfo="subInfo"></updateSalesMan> <updateSalesMan @closeUpdiv="closeSalseDiv" @getList="getList" :subInfo="subInfo"></updateSalesMan>
</div> </div>
<a id="groupTourOrder_DownLoad" target="_blank" style="display: none">1{{ $t("salesModule.DontDel") }}</a> <a id="groupTourOrder_DownLoad" target="_blank" style="display: none">1{{ $t("salesModule.DontDel") }}</a>
<el-dialog :title="$t('objFill.xuanzhelk')" width="400px" :visible.sync="ShenQingPhotoShow" center :before-close="closeChangeMachie"> <el-dialog :title="$t('objFill.xuanzhelk')" width="400px" :visible.sync="ShenQingPhotoShow" center
:before-close="closeChangeMachie">
<div> <div>
<label><input type="checkbox" v-model="SQcheckdAll" />{{ <label><input type="checkbox" v-model="SQcheckdAll" />{{
$t("system.table_chekAll") $t("system.table_chekAll")
...@@ -2696,9 +2710,9 @@ ...@@ -2696,9 +2710,9 @@
CommissionShareMoney: "0", CommissionShareMoney: "0",
OneSex: 0, OneSex: 0,
QuotationUrl: "", //单团附件 QuotationUrl: "", //单团附件
LessPrice:"0", LessPrice: "0",
LessAvgPrice:"0", LessAvgPrice: "0",
IsLessPrice:"0" IsLessPrice: "0"
}, },
uploadLloading: false, uploadLloading: false,
fileFujianList: [], fileFujianList: [],
...@@ -2890,9 +2904,9 @@ ...@@ -2890,9 +2904,9 @@
F_Finance_Create: false, //制单权限 F_Finance_Create: false, //制单权限
F_ContractManagement: false, //合同权限 F_ContractManagement: false, //合同权限
userInfo: {}, userInfo: {},
LessRule:[], LessRule: [],
LessNPrice:0, LessNPrice: 0,
LessNAvgPrice:0 LessNAvgPrice: 0
}; };
}, },
components: { components: {
...@@ -2925,6 +2939,19 @@ ...@@ -2925,6 +2939,19 @@
}, },
}, },
methods: { methods: {
gotoProduct(item) {
var path = "productQuery";
if (item.teamType == 4) {
path = "priceGroup";
} else {
path = "productQuery";
}
var ntcnum = item.tcnum;
if (ntcnum && ntcnum.indexOf('(') > -1) {
ntcnum = ntcnum.substring(0, ntcnum.indexOf('('));
}
this.goUrlX('产品查询', path, item.tcid, ntcnum)
},
showMore(item, index) { showMore(item, index) {
if (this.isShow === index) { if (this.isShow === index) {
this.isShow = '' this.isShow = ''
...@@ -3478,7 +3505,7 @@ ...@@ -3478,7 +3505,7 @@
); );
}) })
.catch(() => { .catch(() => {
this.$message.info(this.$t('pub.cancelBtn')+'!'); this.$message.info(this.$t('pub.cancelBtn') + '!');
}); });
}, },
getUnionTravelPrice(obj, type) { getUnionTravelPrice(obj, type) {
...@@ -3745,9 +3772,9 @@ ...@@ -3745,9 +3772,9 @@
this.addObj.OpSetLossMoney = x.OpSetLossMoney; this.addObj.OpSetLossMoney = x.OpSetLossMoney;
this.addMsg = x; this.addMsg = x;
this.LessNPrice = this.addMsg.LessMaxPrice;//先初始化 最高少价 this.LessNPrice = this.addMsg.LessMaxPrice; //先初始化 最高少价
this.LessNAvgPrice = this.addMsg.LessMaxAvgPrice; this.LessNAvgPrice = this.addMsg.LessMaxAvgPrice;
if(this.addMsg.IsLessPrice==1){ if (this.addMsg.IsLessPrice == 1) {
this.getLessRuleList(); this.getLessRuleList();
} }
if (x.QuotationUrl) { if (x.QuotationUrl) {
...@@ -4230,24 +4257,33 @@ ...@@ -4230,24 +4257,33 @@
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
//ld 2025-01-22 少价管理 //ld 2025-01-22 少价管理
if(this.addMsg.IsLessPrice ==1 && this.addMsg.GroupType ==1 && (this.addMsg.CustomerType=='1' ||this.addMsg.CustomerType=='2') && this.addMsg.LineId>0 && this.LessRule && this.LessRule.length>0){ if (this.addMsg.IsLessPrice == 1 && this.addMsg.GroupType == 1 && (this.addMsg.CustomerType == '1' || this
.addMsg.CustomerType == '2') && this.addMsg.LineId > 0 && this.LessRule && this.LessRule.length > 0) {
let LessNum = (Number(this.addMsg.ManNum) + let LessNum = (Number(this.addMsg.ManNum) +
Number(this.addMsg.ChirdNum) + Number(this.addMsg.ChirdNum) +
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
let LessSlinge =0; let LessSlinge = 0;
// 首先抓取 人数对应的 少价金额 // 首先抓取 人数对应的 少价金额
this.LessRule.forEach((ritem) => { this.LessRule.forEach((ritem) => {
if(ritem.LineIdList.includes(this.addMsg.LineId)){ if (ritem.LineIdList.includes(this.addMsg.LineId)) {
// 使用这个规则 // 使用这个规则
ritem.RuleList.forEach((qitem)=>{ ritem.RuleList.forEach((qitem) => {
if(qitem.StartValue<=LessNum){LessSlinge= Number(qitem.Rate);} if (qitem.StartValue <= LessNum) {
LessSlinge = Number(qitem.Rate);
}
}); });
} }
}); });
this.LessNAvgPrice = LessSlinge; this.LessNAvgPrice = LessSlinge;
this.LessNPrice = LessSlinge * LessNum; this.LessNPrice = LessSlinge * LessNum;
if(this.LessNPrice==0){this.addMsg.LessPrice=0; this.addMsg.LessAvgPrice=0;} if (this.LessNPrice == 0) {
if(this.addMsg.LessAvgPrice>this.LessNAvgPrice){this.addMsg.LessAvgPrice=this.LessNAvgPrice; this.addMsg.LessPrice = this.addMsg.LessAvgPrice * LessNum;} this.addMsg.LessPrice = 0;
this.addMsg.LessAvgPrice = 0;
}
if (this.addMsg.LessAvgPrice > this.LessNAvgPrice) {
this.addMsg.LessAvgPrice = this.LessNAvgPrice;
this.addMsg.LessPrice = this.addMsg.LessAvgPrice * LessNum;
}
} }
this.addMsg.PreferPrice = this.addMsg.PreferPrice - this.addMsg.LessPrice; this.addMsg.PreferPrice = this.addMsg.PreferPrice - this.addMsg.LessPrice;
} else { } else {
...@@ -4318,24 +4354,33 @@ ...@@ -4318,24 +4354,33 @@
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
//ld 2025-01-22 少价管理 //ld 2025-01-22 少价管理
if(this.addMsg.IsLessPrice ==1 && this.addMsg.GroupType ==1 && (this.addMsg.CustomerType=='1' ||this.addMsg.CustomerType=='2') && this.addMsg.LineId>0 && this.LessRule && this.LessRule.length>0){ if (this.addMsg.IsLessPrice == 1 && this.addMsg.GroupType == 1 && (this.addMsg.CustomerType == '1' || this
.addMsg.CustomerType == '2') && this.addMsg.LineId > 0 && this.LessRule && this.LessRule.length > 0) {
let LessNum = (Number(this.addMsg.ManNum) + let LessNum = (Number(this.addMsg.ManNum) +
Number(this.addMsg.ChirdNum) + Number(this.addMsg.ChirdNum) +
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
let LessSlinge =0; let LessSlinge = 0;
// 首先抓取 人数对应的 少价金额 // 首先抓取 人数对应的 少价金额
this.LessRule.forEach((ritem) => { this.LessRule.forEach((ritem) => {
if(ritem.LineIdList.includes(this.addMsg.LineId)){ if (ritem.LineIdList.includes(this.addMsg.LineId)) {
// 使用这个规则 // 使用这个规则
ritem.RuleList.forEach((qitem)=>{ ritem.RuleList.forEach((qitem) => {
if(qitem.StartValue<=LessNum){LessSlinge= Number(qitem.Rate);} if (qitem.StartValue <= LessNum) {
LessSlinge = Number(qitem.Rate);
}
}); });
} }
}); });
this.LessNAvgPrice = LessSlinge; this.LessNAvgPrice = LessSlinge;
this.LessNPrice = LessSlinge * LessNum; this.LessNPrice = LessSlinge * LessNum;
if(this.LessNPrice==0){this.addMsg.LessPrice=0; this.addMsg.LessAvgPrice=0;} if (this.LessNPrice == 0) {
if(this.addMsg.LessAvgPrice>this.LessNAvgPrice){this.addMsg.LessAvgPrice=this.LessNAvgPrice; this.addMsg.LessPrice = this.addMsg.LessAvgPrice * LessNum;} this.addMsg.LessPrice = 0;
this.addMsg.LessAvgPrice = 0;
}
if (this.addMsg.LessAvgPrice > this.LessNAvgPrice) {
this.addMsg.LessAvgPrice = this.LessNAvgPrice;
this.addMsg.LessPrice = this.addMsg.LessAvgPrice * LessNum;
}
} }
this.addMsg.PreferPrice = this.addMsg.PreferPrice - this.addMsg.LessPrice; this.addMsg.PreferPrice = this.addMsg.PreferPrice - this.addMsg.LessPrice;
} }
...@@ -4907,13 +4952,13 @@ ...@@ -4907,13 +4952,13 @@
}, },
SetGender() { SetGender() {
this.apipost( this.apipost(
"sellorder_post_SetOrderGender",this.subGenderInfo, "sellorder_post_SetOrderGender", this.subGenderInfo,
(res) => { (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();
this.closeGenderDiv(); this.closeGenderDiv();
}else{ } else {
this.$message.error(res.data.message); this.$message.error(res.data.message);
} }
}, },
...@@ -5109,13 +5154,15 @@ ...@@ -5109,13 +5154,15 @@
let LessNum = (Number(this.addMsg.ManNum) + let LessNum = (Number(this.addMsg.ManNum) +
Number(this.addMsg.ChirdNum) + Number(this.addMsg.ChirdNum) +
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
let LessSlinge =0; let LessSlinge = 0;
// 首先抓取 人数对应的 少价金额 // 首先抓取 人数对应的 少价金额
this.LessRule.forEach((ritem) => { this.LessRule.forEach((ritem) => {
if(ritem.LineIdList.includes(this.addMsg.LineId)){ if (ritem.LineIdList.includes(this.addMsg.LineId)) {
// 使用这个规则 // 使用这个规则
ritem.RuleList.forEach((qitem)=>{ ritem.RuleList.forEach((qitem) => {
if(qitem.StartValue<=LessNum){LessSlinge= Number(qitem.Rate);} if (qitem.StartValue <= LessNum) {
LessSlinge = Number(qitem.Rate);
}
}); });
} }
}); });
...@@ -5125,25 +5172,27 @@ ...@@ -5125,25 +5172,27 @@
(err) => {} (err) => {}
); );
}, },
ValidateLess(){ ValidateLess() {
if(this.addMsg.LessPrice>this.LessNPrice){ if (this.addMsg.LessPrice > this.LessNPrice) {
this.addMsg.LessPrice =this.LessNPrice; this.addMsg.LessPrice = this.LessNPrice;
} }
if(this.addMsg.LessPrice>=0){ if (this.addMsg.LessPrice >= 0) {
let LessNum = (Number(this.addMsg.ManNum) + let LessNum = (Number(this.addMsg.ManNum) +
Number(this.addMsg.ChirdNum) + Number(this.addMsg.ChirdNum) +
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
if(LessNum==0){this.addMsg.LessAvgPrice=0;}else{ if (LessNum == 0) {
this.addMsg.LessAvgPrice = 0;
} else {
this.addMsg.LessAvgPrice = this.moneyFormatN(this.addMsg.LessPrice / LessNum); this.addMsg.LessAvgPrice = this.moneyFormatN(this.addMsg.LessPrice / LessNum);
} }
} }
this.getTotalPrice(); this.getTotalPrice();
}, },
ValidateLess2(){ ValidateLess2() {
if(this.addMsg.LessAvgPrice>this.LessNAvgPrice){ if (this.addMsg.LessAvgPrice > this.LessNAvgPrice) {
this.addMsg.LessAvgPrice =this.LessNAvgPrice; this.addMsg.LessAvgPrice = this.LessNAvgPrice;
} }
if(this.addMsg.LessAvgPrice>=0){ if (this.addMsg.LessAvgPrice >= 0) {
let LessNum = (Number(this.addMsg.ManNum) + let LessNum = (Number(this.addMsg.ManNum) +
Number(this.addMsg.ChirdNum) + Number(this.addMsg.ChirdNum) +
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
......
...@@ -1061,9 +1061,11 @@ ...@@ -1061,9 +1061,11 @@
border: 1px solid #e5e5e5; border: 1px solid #e5e5e5;
} }
.el-input-group__append, .el-input-group__prepend { .el-input-group__append,
.el-input-group__prepend {
padding: 0 5px !important; padding: 0 5px !important;
} }
</style> </style>
<template> <template>
...@@ -1468,7 +1470,8 @@ ...@@ -1468,7 +1470,8 @@
</el-col> </el-col>
<el-col :span="4" v-if="addMsg.IsLessPrice ==1 && this.addMsg.GroupType ==1"> <el-col :span="4" v-if="addMsg.IsLessPrice ==1 && this.addMsg.GroupType ==1">
<el-form-item label="少价/人" prop="LessAvgPrice"> <el-form-item label="少价/人" prop="LessAvgPrice">
<el-input type="Number" v-model="addMsg.LessAvgPrice" @change="ValidateLess2"><template slot="append">最高{{LessNAvgPrice}}/人</template></el-input> <el-input type="Number" v-model="addMsg.LessAvgPrice" @change="ValidateLess2"><template
slot="append">最高{{LessNAvgPrice}}/人</template></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
...@@ -1618,7 +1621,8 @@ ...@@ -1618,7 +1621,8 @@
</el-col> </el-col>
<el-col :span="4" v-if="addMsg.IsLessPrice ==1 && this.addMsg.GroupType ==1"> <el-col :span="4" v-if="addMsg.IsLessPrice ==1 && this.addMsg.GroupType ==1">
<el-form-item :label="$t('objFill.v101.shaojiazonge')" prop="LessPrice"> <el-form-item :label="$t('objFill.v101.shaojiazonge')" prop="LessPrice">
<el-input type="Number" v-model="addMsg.LessPrice" @change="ValidateLess"><template slot="append">最高少价{{LessNPrice}}</template></el-input> <el-input type="Number" v-model="addMsg.LessPrice" @change="ValidateLess"><template
slot="append">最高少价{{LessNPrice}}</template></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" v-show="addMsg.CustomerType == 1 || addMsg.CustomerType == 2"> <el-col :span="4" v-show="addMsg.CustomerType == 1 || addMsg.CustomerType == 2">
...@@ -2029,7 +2033,8 @@ ...@@ -2029,7 +2033,8 @@
<td>{{ moneyFormatN(item.ZaiTuMoney) }}</td> <td>{{ moneyFormatN(item.ZaiTuMoney) }}</td>
<td>{{ moneyFormatN(item.CashReceiptsMoney) }}</td> <td>{{ moneyFormatN(item.CashReceiptsMoney) }}</td>
<td> <td>
<span :class="{color_red_order: item.DueInMoney && item.DueInMoney > 0, }">{{ moneyFormatN(item.DueInMoney) }}</span> <span
:class="{color_red_order: item.DueInMoney && item.DueInMoney > 0, }">{{ moneyFormatN(item.DueInMoney) }}</span>
</td> </td>
<td class="fz12"> <td class="fz12">
<span :class="{ 'RL-redType': item.statsstr == '候补' }">{{item.statsstr}}</span> <span :class="{ 'RL-redType': item.statsstr == '候补' }">{{item.statsstr}}</span>
...@@ -2505,7 +2510,8 @@ ...@@ -2505,7 +2510,8 @@
</tr> </tr>
</table> </table>
</div> </div>
<span style="cursor: pointer; color: #e95252" slot="reference">{{ moneyFormatN(childItem.DiscountMoney) }}</span> <span style="cursor: pointer; color: #e95252"
slot="reference">{{ moneyFormatN(childItem.DiscountMoney) }}</span>
</el-popover> </el-popover>
</td> </td>
<td class="nowrap">{{ moneyFormatN(childItem.RedEnvelopeMoney) }}</td> <td class="nowrap">{{ moneyFormatN(childItem.RedEnvelopeMoney) }}</td>
...@@ -3336,7 +3342,8 @@ ...@@ -3336,7 +3342,8 @@
{{ $t("ground.shezhissje") }} {{ $t("ground.shezhissje") }}
</div> </div>
<div @click="ZhuiJiaTuanKuan(item.OrderId)" v-if="RBBranchId == 0|| RBBranchId==1218 || RBBranchId==1253"> <div @click="ZhuiJiaTuanKuan(item.OrderId)"
v-if="RBBranchId == 0|| RBBranchId==1218 || RBBranchId==1253">
{{ $t("ground.zjiatk") }} {{ $t("ground.zjiatk") }}
</div> </div>
<div @click="importNameOrder(item.OrderId)"> <div @click="importNameOrder(item.OrderId)">
...@@ -4128,9 +4135,9 @@ ...@@ -4128,9 +4135,9 @@
QuotationUrl: "", //单团附件 QuotationUrl: "", //单团附件
LuggageNum: "", LuggageNum: "",
IsOneDay: 0, IsOneDay: 0,
LessPrice:"0", LessPrice: "0",
LessAvgPrice:"0", LessAvgPrice: "0",
IsLessPrice:"0" IsLessPrice: "0"
}, },
uploadLloading: false, uploadLloading: false,
fileFujianList: [], fileFujianList: [],
...@@ -4425,9 +4432,9 @@ ...@@ -4425,9 +4432,9 @@
ConfigId: "", ConfigId: "",
OfferId: "", OfferId: "",
}, },
LessRule:[], LessRule: [],
LessNPrice:0, LessNPrice: 0,
LessNAvgPrice:0 LessNAvgPrice: 0
}; };
}, },
components: { components: {
...@@ -4779,9 +4786,9 @@ ...@@ -4779,9 +4786,9 @@
this.addObj = res.data.data.modelPrice; this.addObj = res.data.data.modelPrice;
let x = res.data.data.model; let x = res.data.data.model;
this.addMsg = x; this.addMsg = x;
this.LessNPrice = this.addMsg.LessMaxPrice;//先初始化 最高少价 this.LessNPrice = this.addMsg.LessMaxPrice; //先初始化 最高少价
this.LessNAvgPrice = this.addMsg.LessMaxAvgPrice; this.LessNAvgPrice = this.addMsg.LessMaxAvgPrice;
if(this.addMsg.IsLessPrice==1){ if (this.addMsg.IsLessPrice == 1) {
this.getLessRuleList(); this.getLessRuleList();
} }
if (x.QuotationUrl) { if (x.QuotationUrl) {
...@@ -5100,12 +5107,14 @@ ...@@ -5100,12 +5107,14 @@
//跳转到团控列表 //跳转到团控列表
gotoTCList(item) { gotoTCList(item) {
var path = "TravelControlList"; var path = "TravelControlList";
if (item.TeamType == 0) { if (item.TeamType == 1) {
path = "TravelControlList";
} else if (item.TeamType == 1) {
path = "TravelControlListSale"; path = "TravelControlListSale";
} else if (item.TeamType == 2) { } else if (item.TeamType == 2) {
path = "oneDayTrip"; path = "oneDayTrip";
} else if (item.TeamType == 4) {
path = "TravelTeam";
} else {
path = "TravelControlList";
} }
this.$router.push({ this.$router.push({
name: path, name: path,
...@@ -5593,24 +5602,33 @@ ...@@ -5593,24 +5602,33 @@
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
//ld 2025-01-22 少价管理 //ld 2025-01-22 少价管理
if(this.addMsg.IsLessPrice ==1 && this.addMsg.GroupType ==1 && (this.addMsg.CustomerType=='1' ||this.addMsg.CustomerType=='2') && this.addMsg.LineId>0 && this.LessRule && this.LessRule.length>0){ if (this.addMsg.IsLessPrice == 1 && this.addMsg.GroupType == 1 && (this.addMsg.CustomerType == '1' || this
.addMsg.CustomerType == '2') && this.addMsg.LineId > 0 && this.LessRule && this.LessRule.length > 0) {
let LessNum = (Number(this.addMsg.ManNum) + let LessNum = (Number(this.addMsg.ManNum) +
Number(this.addMsg.ChirdNum) + Number(this.addMsg.ChirdNum) +
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
let LessSlinge =0; let LessSlinge = 0;
// 首先抓取 人数对应的 少价金额 // 首先抓取 人数对应的 少价金额
this.LessRule.forEach((ritem) => { this.LessRule.forEach((ritem) => {
if(ritem.LineIdList.includes(this.addMsg.LineId)){ if (ritem.LineIdList.includes(this.addMsg.LineId)) {
// 使用这个规则 // 使用这个规则
ritem.RuleList.forEach((qitem)=>{ ritem.RuleList.forEach((qitem) => {
if(qitem.StartValue<=LessNum){LessSlinge= Number(qitem.Rate);} if (qitem.StartValue <= LessNum) {
LessSlinge = Number(qitem.Rate);
}
}); });
} }
}); });
this.LessNAvgPrice = LessSlinge; this.LessNAvgPrice = LessSlinge;
this.LessNPrice = LessSlinge * LessNum; this.LessNPrice = LessSlinge * LessNum;
if(this.LessNPrice==0){this.addMsg.LessPrice=0; this.addMsg.LessAvgPrice=0;} if (this.LessNPrice == 0) {
if(this.addMsg.LessAvgPrice>this.LessNAvgPrice){this.addMsg.LessAvgPrice=this.LessNAvgPrice; this.addMsg.LessPrice = this.addMsg.LessAvgPrice * LessNum;} this.addMsg.LessPrice = 0;
this.addMsg.LessAvgPrice = 0;
}
if (this.addMsg.LessAvgPrice > this.LessNAvgPrice) {
this.addMsg.LessAvgPrice = this.LessNAvgPrice;
this.addMsg.LessPrice = this.addMsg.LessAvgPrice * LessNum;
}
} }
this.addMsg.PreferPrice = this.addMsg.PreferPrice - this.addMsg.LessPrice; this.addMsg.PreferPrice = this.addMsg.PreferPrice - this.addMsg.LessPrice;
} else { } else {
...@@ -5682,24 +5700,33 @@ ...@@ -5682,24 +5700,33 @@
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
//ld 2025-01-22 少价管理 //ld 2025-01-22 少价管理
if(this.addMsg.IsLessPrice ==1 && this.addMsg.GroupType ==1 && (this.addMsg.CustomerType=='1' ||this.addMsg.CustomerType=='2') && this.addMsg.LineId>0 && this.LessRule && this.LessRule.length>0){ if (this.addMsg.IsLessPrice == 1 && this.addMsg.GroupType == 1 && (this.addMsg.CustomerType == '1' || this
.addMsg.CustomerType == '2') && this.addMsg.LineId > 0 && this.LessRule && this.LessRule.length > 0) {
let LessNum = (Number(this.addMsg.ManNum) + let LessNum = (Number(this.addMsg.ManNum) +
Number(this.addMsg.ChirdNum) + Number(this.addMsg.ChirdNum) +
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
let LessSlinge =0; let LessSlinge = 0;
// 首先抓取 人数对应的 少价金额 // 首先抓取 人数对应的 少价金额
this.LessRule.forEach((ritem) => { this.LessRule.forEach((ritem) => {
if(ritem.LineIdList.includes(this.addMsg.LineId)){ if (ritem.LineIdList.includes(this.addMsg.LineId)) {
// 使用这个规则 // 使用这个规则
ritem.RuleList.forEach((qitem)=>{ ritem.RuleList.forEach((qitem) => {
if(qitem.StartValue<=LessNum){LessSlinge= Number(qitem.Rate);} if (qitem.StartValue <= LessNum) {
LessSlinge = Number(qitem.Rate);
}
}); });
} }
}); });
this.LessNAvgPrice = LessSlinge; this.LessNAvgPrice = LessSlinge;
this.LessNPrice = LessSlinge * LessNum; this.LessNPrice = LessSlinge * LessNum;
if(this.LessNPrice==0){this.addMsg.LessPrice=0; this.addMsg.LessAvgPrice=0;} if (this.LessNPrice == 0) {
if(this.addMsg.LessAvgPrice>this.LessNAvgPrice){this.addMsg.LessAvgPrice=this.LessNAvgPrice; this.addMsg.LessPrice = this.addMsg.LessAvgPrice * LessNum;} this.addMsg.LessPrice = 0;
this.addMsg.LessAvgPrice = 0;
}
if (this.addMsg.LessAvgPrice > this.LessNAvgPrice) {
this.addMsg.LessAvgPrice = this.LessNAvgPrice;
this.addMsg.LessPrice = this.addMsg.LessAvgPrice * LessNum;
}
} }
this.addMsg.PreferPrice = this.addMsg.PreferPrice - this.addMsg.LessPrice; this.addMsg.PreferPrice = this.addMsg.PreferPrice - this.addMsg.LessPrice;
} }
...@@ -7025,13 +7052,15 @@ ...@@ -7025,13 +7052,15 @@
let LessNum = (Number(this.addMsg.ManNum) + let LessNum = (Number(this.addMsg.ManNum) +
Number(this.addMsg.ChirdNum) + Number(this.addMsg.ChirdNum) +
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
let LessSlinge =0; let LessSlinge = 0;
// 首先抓取 人数对应的 少价金额 // 首先抓取 人数对应的 少价金额
this.LessRule.forEach((ritem) => { this.LessRule.forEach((ritem) => {
if(ritem.LineIdList.includes(this.addMsg.LineId)){ if (ritem.LineIdList.includes(this.addMsg.LineId)) {
// 使用这个规则 // 使用这个规则
ritem.RuleList.forEach((qitem)=>{ ritem.RuleList.forEach((qitem) => {
if(qitem.StartValue<=LessNum){LessSlinge= Number(qitem.Rate);} if (qitem.StartValue <= LessNum) {
LessSlinge = Number(qitem.Rate);
}
}); });
} }
}); });
...@@ -7041,25 +7070,27 @@ ...@@ -7041,25 +7070,27 @@
(err) => {} (err) => {}
); );
}, },
ValidateLess(){ ValidateLess() {
if(this.addMsg.LessPrice>this.LessNPrice){ if (this.addMsg.LessPrice > this.LessNPrice) {
this.addMsg.LessPrice =this.LessNPrice; this.addMsg.LessPrice = this.LessNPrice;
} }
if(this.addMsg.LessPrice>=0){ if (this.addMsg.LessPrice >= 0) {
let LessNum = (Number(this.addMsg.ManNum) + let LessNum = (Number(this.addMsg.ManNum) +
Number(this.addMsg.ChirdNum) + Number(this.addMsg.ChirdNum) +
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
if(LessNum==0){this.addMsg.LessAvgPrice=0;}else{ if (LessNum == 0) {
this.addMsg.LessAvgPrice = 0;
} else {
this.addMsg.LessAvgPrice = this.moneyFormatN(this.addMsg.LessPrice / LessNum); this.addMsg.LessAvgPrice = this.moneyFormatN(this.addMsg.LessPrice / LessNum);
} }
} }
this.getTotalPrice(); this.getTotalPrice();
}, },
ValidateLess2(){ ValidateLess2() {
if(this.addMsg.LessAvgPrice>this.LessNAvgPrice){ if (this.addMsg.LessAvgPrice > this.LessNAvgPrice) {
this.addMsg.LessAvgPrice =this.LessNAvgPrice; this.addMsg.LessAvgPrice = this.LessNAvgPrice;
} }
if(this.addMsg.LessAvgPrice>=0){ if (this.addMsg.LessAvgPrice >= 0) {
let LessNum = (Number(this.addMsg.ManNum) + let LessNum = (Number(this.addMsg.ManNum) +
Number(this.addMsg.ChirdNum) + Number(this.addMsg.ChirdNum) +
Number(this.addMsg.OldPeopleNum)); Number(this.addMsg.OldPeopleNum));
...@@ -7140,4 +7171,5 @@ ...@@ -7140,4 +7171,5 @@
}, },
}, },
}; };
</script> </script>
...@@ -749,11 +749,21 @@ ...@@ -749,11 +749,21 @@
}, },
//跳转到团控列表 //跳转到团控列表
goToTravelList(item) { goToTravelList(item) {
var path = "TravelControlList";
if (item.teamType == 1) { if (item.teamType == 1) {
this.goUrlX('团控列表', 'TravelControlListSale', item.tcid, item.tcnum); path = "TravelControlListSale";
} else if (item.teamType == 2) {
path = "oneDayTrip";
} else if (item.teamType == 4) {
path = "TravelTeam";
} else { } else {
this.goUrlX('团控列表', 'TravelControlList', item.tcid, item.tcnum); path = "TravelControlList";
} }
var ntcnum = item.tcnum;
if (ntcnum && ntcnum.indexOf('(') > -1) {
ntcnum = ntcnum.substring(0, ntcnum.indexOf('('));
}
this.goUrlX('团控列表', path, item.tcid, ntcnum);
}, },
goUrlHappy(item) { goUrlHappy(item) {
this.$router.push({ this.$router.push({
......
...@@ -562,7 +562,7 @@ ...@@ -562,7 +562,7 @@
<li> <li>
<span> <span>
<em>{{ $t("visa.v_tuanhao") }}</em> <em>{{ $t("visa.v_tuanhao") }}</em>
<el-input v-model="msg.TCID" class="w150" clearable></el-input> <el-input v-model="msg.TCNUM" class="w150" clearable></el-input>
</span> </span>
</li> </li>
<li> <li>
...@@ -1006,7 +1006,7 @@ ...@@ -1006,7 +1006,7 @@
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 10, pageSize: 10,
TCID: "", TCNUM: "",
StartTime: "", StartTime: "",
EndTime: "", EndTime: "",
}, },
...@@ -1099,6 +1099,13 @@ ...@@ -1099,6 +1099,13 @@
this.currentPage = 1; this.currentPage = 1;
}, },
}, },
created() {
if (this.$route.query) {
if (this.$route.query.tcmun) {
this.msg.TCNUM = this.$route.query.tcmun;
}
}
},
mounted() { mounted() {
let StartDate = this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")) let StartDate = this.getBeforeDate(0, new Date().Format("yyyy-MM-dd"))
this.msg.StartTime = StartDate this.msg.StartTime = StartDate
......
...@@ -100,6 +100,13 @@ ...@@ -100,6 +100,13 @@
@keyup.native.enter="resetQuery" :placeholder="$t('pub.pleaseImport')"></el-input> @keyup.native.enter="resetQuery" :placeholder="$t('pub.pleaseImport')"></el-input>
</span> </span>
</li> </li>
<li>
<span>
<em>{{ $t("visa.v_tuanhao") }}</em>
<el-input maxlength="50" v-model="queryMsg.TCNUM" class="permiss-input w150"
@keyup.native.enter="resetQuery" :placeholder="$t('pub.pleaseImport')" clearable></el-input>
</span>
</li>
<li> <li>
<span> <span>
<em>{{$t('scen.sc_ftTime')}}</em> <em>{{$t('scen.sc_ftTime')}}</em>
...@@ -123,16 +130,16 @@ ...@@ -123,16 +130,16 @@
@keyup.native.enter="resetQuery" :placeholder="$t('pub.pleaseImport')"></el-input> @keyup.native.enter="resetQuery" :placeholder="$t('pub.pleaseImport')"></el-input>
</span> </span>
</li> --> </li> -->
<li> <!-- <li>
<span> <span>
<em>{{$t('objFill.v101.hezuohuoban')}}:</em> <em>{{$t('objFill.v101.hezuohuoban')}}:</em>
<el-input maxlength="50" v-model="queryMsg.QCustomerName" class="permiss-input w150" clearable <el-input maxlength="50" v-model="queryMsg.QCustomerName" class="permiss-input w150" clearable
@keyup.native.enter="resetQuery" :placeholder="$t('pub.pleaseImport')"></el-input> @keyup.native.enter="resetQuery" :placeholder="$t('pub.pleaseImport')"></el-input>
</span> </span>
</li> </li> -->
<li> <li>
<span> <span>
<em>{{$t('sm.chufadi')}}:</em> <em>{{$t('sm.chufadi')}}</em>
<el-input v-model="queryMsg.StartAddress" class="permiss-input w150" clearable <el-input v-model="queryMsg.StartAddress" class="permiss-input w150" clearable
@keyup.native.enter="resetQuery" :placeholder="$t('objFill.qingshurcfddian')"></el-input> @keyup.native.enter="resetQuery" :placeholder="$t('objFill.qingshurcfddian')"></el-input>
</span> </span>
...@@ -517,6 +524,9 @@ ...@@ -517,6 +524,9 @@
<el-dropdown-item @click.native="gotoPay(item)"> <el-dropdown-item @click.native="gotoPay(item)">
{{$t('objFill.v101.baojijiesuan')}} {{$t('objFill.v101.baojijiesuan')}}
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item @click.native="goTeamBalance(item.TCID, item.OutBranchId)">
{{ $t("Operation.Op_shouzhiDetail") }}
</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
...@@ -571,6 +581,7 @@ ...@@ -571,6 +581,7 @@
QFlightNum: "", //航班号 QFlightNum: "", //航班号
QCustomerName: "", //合作伙伴名称 QCustomerName: "", //合作伙伴名称
StartAddress: "", //出发地 StartAddress: "", //出发地
TCNUM: "", //团队编号
}, },
queryDataObj: { queryDataObj: {
LineList: [], //线路列表 LineList: [], //线路列表
...@@ -663,6 +674,18 @@ ...@@ -663,6 +674,18 @@
); );
}) })
}, },
goTeamBalance(id, OutBranchId) {
this.$router.push({
name: "TeamBalancePayment",
query: {
id: id,
OutBranchId: OutBranchId,
IsHaveAuth: true,
blank: "y",
tab: "团队收支明细",
},
});
},
//跳转到报名清单 //跳转到报名清单
gotoPay(item) { gotoPay(item) {
this.OpenNewPage('/TravelPay', { this.OpenNewPage('/TravelPay', {
...@@ -753,6 +776,11 @@ ...@@ -753,6 +776,11 @@
created() { created() {
this.CurrentUserInfo = this.getLocalStorage(); this.CurrentUserInfo = this.getLocalStorage();
this.getLineList(); this.getLineList();
if (this.$route.query) {
if (this.$route.query.tcmun) {
this.queryMsg.TCNUM = this.$route.query.tcmun;
}
}
} }
}; };
......
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