Commit 1b067ae0 authored by 黄奎's avatar 黄奎

页面修改

parent 86b425eb
...@@ -2072,10 +2072,10 @@ ...@@ -2072,10 +2072,10 @@
}); });
} }
}); });
// if (totalUseMoney > 0 && totalUsePercentMoney > 0 && totalUseMoney > totalUsePercentMoney) { if (totalUseMoney > 0 && totalUsePercentMoney > 0 && totalUseMoney > totalUsePercentMoney) {
// this.$message.error(this.$t('objFill.zonglkbnc') + "【" + totalUsePercentMoney + "】"); this.$message.error(this.$t('objFill.zonglkbnc') + "【" + totalUsePercentMoney + "】");
// return; return;
// } }
} }
this.CompanyAlipayTCID = obj.TCIDS; this.CompanyAlipayTCID = obj.TCIDS;
this.ShowCompanyAlipay = true; this.ShowCompanyAlipay = true;
...@@ -2341,7 +2341,6 @@ ...@@ -2341,7 +2341,6 @@
}); });
this.CurrencyListMoney.forEach((cur, i) => { this.CurrencyListMoney.forEach((cur, i) => {
cur.LeaderGetPriceArr.forEach(lead => { cur.LeaderGetPriceArr.forEach(lead => {
var tempMoney = (cur.money * this.comRate - cur.yiLing); var tempMoney = (cur.money * this.comRate - cur.yiLing);
var tempShowPrice = cur.money * this.comRate; var tempShowPrice = cur.money * this.comRate;
//日本 //日本
...@@ -2349,7 +2348,7 @@ ...@@ -2349,7 +2348,7 @@
tempShowPrice = Math.round(tempShowPrice / 10000) * 10000; tempShowPrice = Math.round(tempShowPrice / 10000) * 10000;
} else { } else {
tempShowPrice = Math.round(tempShowPrice / 100) * 100; tempShowPrice =tempShowPrice;
} }
//未领取,日本线 *0.95 在精确到万 //未领取,日本线 *0.95 在精确到万
if (isreceive == 0) { if (isreceive == 0) {
......
...@@ -155,12 +155,10 @@ ...@@ -155,12 +155,10 @@
<li> <li>
<span> <span>
<em>{{$t('fnc.tuanqi')}}</em> <em>{{$t('fnc.tuanqi')}}</em>
<!-- <el-date-picker class="w150" type="date" value-format="yyyy-MM-dd" placeholder="" <DateLimit :clearable="false" :StartGroupDate="queryMsg.QStartDate" :EndGroupDate="queryMsg.QEndDate"
v-model="queryMsg.QStartDate"> @change="(date)=> queryMsg.QStartDate = date"></DateLimit>
</el-date-picker> --> <el-date-picker class="w150" type="date" value-format="yyyy-MM-dd" placeholder=""
<DateLimit :clearable="false" :StartGroupDate="queryMsg.QStartDate" :EndGroupDate="queryMsg.QEndDate" @change="(date)=> queryMsg.QStartDate = date"></DateLimit> :picker-options="pickerBeginDateAfter" v-model="queryMsg.QEndDate">
<el-date-picker class="w150" type="date" value-format="yyyy-MM-dd" placeholder="" :picker-options="pickerBeginDateAfter"
v-model="queryMsg.QEndDate">
</el-date-picker> </el-date-picker>
</span> </span>
</li> </li>
...@@ -213,7 +211,8 @@ ...@@ -213,7 +211,8 @@
<td>{{item.LtName}}</td> <td>{{item.LtName}}</td>
<td>{{item.StartDateStr}} {{item.AlCode}}</td> <td>{{item.StartDateStr}} {{item.AlCode}}</td>
<td> <td>
<span :title="$t('objFill.v101.dianjttkolb')" :class="item.TCID>0?'RS_RedType PingFangSC Order_RS':'Order_RS'" <span :title="$t('objFill.v101.dianjttkolb')"
:class="item.TCID>0?'RS_RedType PingFangSC Order_RS':'Order_RS'"
@click="goUrlTCList(item)">{{item.TCID}}</span> @click="goUrlTCList(item)">{{item.TCID}}</span>
<br /> <br />
<template v-if="item.PriceTeamTypeName&&item.PriceTeamTypeName!=''"> <template v-if="item.PriceTeamTypeName&&item.PriceTeamTypeName!=''">
...@@ -246,7 +245,6 @@ ...@@ -246,7 +245,6 @@
<td>{{item.B2BMemberPrice}}</td> <td>{{item.B2BMemberPrice}}</td>
<td>{{item.TotalSeat}}</td> <td>{{item.TotalSeat}}</td>
<td> <td>
<span :title="$t('objFill.v101.dianjtbmqdan')" class="Order_RS" :class="{'RS_RedType':item.OrderTotalNum>0}" <span :title="$t('objFill.v101.dianjtbmqdan')" class="Order_RS" :class="{'RS_RedType':item.OrderTotalNum>0}"
@click="goUrl('RegistrationList',item.TCID,'设置领队')">{{item.OrderTotalNum-item.OrderLeaderGuestNum}} @click="goUrl('RegistrationList',item.TCID,'设置领队')">{{item.OrderTotalNum-item.OrderLeaderGuestNum}}
<span v-if="item.OrderLeaderGuestNum>0">+{{item.OrderLeaderGuestNum}}</span> <span v-if="item.OrderLeaderGuestNum>0">+{{item.OrderLeaderGuestNum}}</span>
...@@ -262,7 +260,8 @@ ...@@ -262,7 +260,8 @@
{{item.AirTicketStatusStr}} {{item.AirTicketStatusStr}}
</td> </td>
<td> <td>
<span :title="$t('objFill.v101.dianjtbmqdan')" :class="item.LeaderName!=''&&item.LeaderName!=null?'PingFangSC Order_RS':'Order_RS'" <span :title="$t('objFill.v101.dianjtbmqdan')"
:class="item.LeaderName!=''&&item.LeaderName!=null?'PingFangSC Order_RS':'Order_RS'"
@click="goUrl('RegistrationList',item.TCID,'报名清单')">{{item.LeaderName!=""&&item.LeaderName!=null ?item.LeaderName:$t('ground.szlindui')}}</span> @click="goUrl('RegistrationList',item.TCID,'报名清单')">{{item.LeaderName!=""&&item.LeaderName!=null ?item.LeaderName:$t('ground.szlindui')}}</span>
</td> </td>
<td> <td>
...@@ -301,7 +300,9 @@ ...@@ -301,7 +300,9 @@
<script> <script>
import DateLimit from '../../public/DateLimit.vue'; import DateLimit from '../../public/DateLimit.vue';
export default { export default {
components: {DateLimit}, components: {
DateLimit
},
data() { data() {
return { return {
pickerBeginDateAfter: { pickerBeginDateAfter: {
...@@ -355,6 +356,10 @@ ...@@ -355,6 +356,10 @@
Id: 2, Id: 2,
Name: this.$t('MarketingActi.local') Name: this.$t('MarketingActi.local')
}, },
{
Id: 5,
Name: '切位团'
},
], ],
//数据列表 //数据列表
DataList: [], DataList: [],
...@@ -366,15 +371,15 @@ ...@@ -366,15 +371,15 @@
goUrlTCList(item) { goUrlTCList(item) {
var title = ""; var title = "";
var path = ""; var path = "";
if (item.TeamType == 0) { if (item.TeamType == 1) {
title = "团控列表";
path = "TravelControlList";
} else if (item.TeamType == 1) {
title = "小包团列表"; title = "小包团列表";
path = "TravelControlListSale"; path = "TravelControlListSale";
} else if (item.TeamType == 2) { } else if (item.TeamType == 2) {
title = "当地游列表"; title = "当地游列表";
path = "oneDayTrip"; path = "oneDayTrip";
} else {
title = "团控列表";
path = "TravelControlList";
} }
this.$router.push({ this.$router.push({
name: path, name: path,
...@@ -550,7 +555,7 @@ ...@@ -550,7 +555,7 @@
this.GetLocalFile( this.GetLocalFile(
"travel_get_DownTravelPriceOrderStatistics", "travel_get_DownTravelPriceOrderStatistics",
this.queryMsg, this.queryMsg,
this.$t('objFill.v101.Rest.baomintj')+".xls", this.$t('objFill.v101.Rest.baomintj') + ".xls",
res => { res => {
if (this.queryMsg.TicketStartNum == 0) { if (this.queryMsg.TicketStartNum == 0) {
this.queryMsg.TicketStartNum = ""; this.queryMsg.TicketStartNum = "";
......
...@@ -149,10 +149,8 @@ ...@@ -149,10 +149,8 @@
<li> <li>
<span> <span>
<em>{{$t('fnc.tuanqi')}}</em> <em>{{$t('fnc.tuanqi')}}</em>
<!-- <el-date-picker class="w150" type="date" value-format="yyyy-MM-dd" placeholder="" <DateLimit :clearable="false" :StartGroupDate="queryMsg.QStartDate" :EndGroupDate="queryMsg.QEndDate"
v-model="queryMsg.QStartDate"> @change="(date)=> queryMsg.QStartDate = date"></DateLimit>
</el-date-picker> -->
<DateLimit :clearable="false" :StartGroupDate="queryMsg.QStartDate" :EndGroupDate="queryMsg.QEndDate" @change="(date)=> queryMsg.QStartDate = date"></DateLimit>
<el-date-picker class="w150" type="date" value-format="yyyy-MM-dd" :placeholder="$t('admin.admin_choDate')" <el-date-picker class="w150" type="date" value-format="yyyy-MM-dd" :placeholder="$t('admin.admin_choDate')"
v-model="queryMsg.QEndDate" :picker-options="pickerBeginDateAfter"> v-model="queryMsg.QEndDate" :picker-options="pickerBeginDateAfter">
</el-date-picker> </el-date-picker>
...@@ -269,7 +267,9 @@ ...@@ -269,7 +267,9 @@
<script> <script>
import DateLimit from '../../public/DateLimit.vue'; import DateLimit from '../../public/DateLimit.vue';
export default { export default {
components: {DateLimit}, components: {
DateLimit
},
data() { data() {
return { return {
isQueryHistoryData: false, isQueryHistoryData: false,
...@@ -320,6 +320,10 @@ ...@@ -320,6 +320,10 @@
Id: 2, Id: 2,
Name: this.$t('MarketingActi.local') Name: this.$t('MarketingActi.local')
}, },
{
Id: 5,
Name: '切位团'
},
], ],
//数据列表 //数据列表
DataList: [], DataList: [],
...@@ -333,7 +337,7 @@ ...@@ -333,7 +337,7 @@
this.CheckUserAuth(actionCode, res => { this.CheckUserAuth(actionCode, res => {
if (res.data.resultCode == 1 && res.data.data == 1) { if (res.data.resultCode == 1 && res.data.data == 1) {
this.isQueryHistoryData = true; this.isQueryHistoryData = true;
}else{ } else {
let StartDate = this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")) let StartDate = this.getBeforeDate(0, new Date().Format("yyyy-MM-dd"))
this.queryMsg.QStartDate = StartDate this.queryMsg.QStartDate = StartDate
} }
...@@ -463,7 +467,7 @@ ...@@ -463,7 +467,7 @@
this.GetLocalFile( this.GetLocalFile(
"travel_get_DownTravelPriceOrderStatistics", "travel_get_DownTravelPriceOrderStatistics",
this.queryMsg, this.queryMsg,
this.$t('objFill.v101.Rest.baomintj')+".xls" this.$t('objFill.v101.Rest.baomintj') + ".xls"
); );
}, },
goUrl(path, id, title) { goUrl(path, id, title) {
......
...@@ -1088,18 +1088,17 @@ ...@@ -1088,18 +1088,17 @@
<span v-if="item.LeaderName" class="TCL-greenType">{{ <span v-if="item.LeaderName" class="TCL-greenType">{{
item.LeaderName item.LeaderName
}}</span> }}</span>
<span v-else class="TCL-redType">{{ <span v-else class="TCL-redType" style="cursor:pointer;text-decoration: underline;" @click="setLeaderOrGuide(item,0)">
$t("Operation.Op_nozhipai") {{ $t("ground.szlindui") }}
}}</span> </span>
</p> </p>
<p> <p>
<span>{{ $t("leader.leader_Guide") }}</span> <span>{{ $t("leader.leader_Guide") }}</span>
<span v-if="item.GuideName" class="TCL-greenType">{{ <span v-if="item.GuideName" class="TCL-greenType">{{
item.GuideName item.GuideName
}}</span> }}</span>
<span v-else class="TCL-redType">{{ <span v-else class="TCL-redType" style="cursor:pointer;text-decoration: underline;"
$t("Operation.Op_nozhipai") @click="setLeaderOrGuide(item,1)">{{$t('objFill.v101.shezhidaoy')}}</span>
}}</span>
</p> </p>
</div> </div>
</div> </div>
...@@ -2203,6 +2202,25 @@ ...@@ -2203,6 +2202,25 @@
}, },
}, },
methods: { methods: {
setLeaderOrGuide(item, type) {
var NameStr = "设置领队";
var path = "RegistrationList";
if (type == 1) {
path = 'leaderArrangement';
NameStr = "设置导游";
}
var id = item.TCID;
if (id > 0) {
this.$router.push({
name: path,
query: {
id: id,
blank: "y",
tab: NameStr
}
});
}
},
CancelGroupType() { CancelGroupType() {
this.GroupTypeVisible = false; this.GroupTypeVisible = false;
this.GroupTypeObj = {}; this.GroupTypeObj = {};
...@@ -3333,7 +3351,7 @@ ...@@ -3333,7 +3351,7 @@
that.changePriceMsg.isShowChangePrice = false; that.changePriceMsg.isShowChangePrice = false;
that.changePriceMsg.NewB2BPrice = ""; that.changePriceMsg.NewB2BPrice = "";
that.changePriceMsg.NewB2CPrice = ""; that.changePriceMsg.NewB2CPrice = "";
that.changePriceMsg.ChangeRemark=""; that.changePriceMsg.ChangeRemark = "";
that.changePriceMsg.TCID = 0; that.changePriceMsg.TCID = 0;
that.getControlList(); that.getControlList();
} else { } else {
......
...@@ -723,12 +723,16 @@ ...@@ -723,12 +723,16 @@
<p> <p>
<span>{{$t('leader.leader_Leader')}}</span> <span>{{$t('leader.leader_Leader')}}</span>
<span v-if="item.LeaderName==null" class="TCL-redType">{{$t('Operation.Op_nozhipai')}}</span> <span v-if="item.LeaderName==null" class="TCL-redType">{{$t('Operation.Op_nozhipai')}}</span>
<span v-else class="TCL-greenType">{{item.LeaderName}}</span> <span v-else class="TCL-redType" style="cursor:pointer;text-decoration: underline;"
@click="setLeaderOrGuide(item,0)">
{{ $t("ground.szlindui") }}
</span>
</p> </p>
<p> <p>
<span>{{$t('leader.leader_Guide')}}</span> <span>{{$t('leader.leader_Guide')}}</span>
<span v-if="item.GuideName" class="TCL-greenType">{{item.GuideName}}</span> <span v-if="item.GuideName" class="TCL-greenType">{{item.GuideName}}</span>
<span v-else class="TCL-redType">{{$t('Operation.Op_nozhipai')}}</span> <span v-else class="TCL-redType" style="cursor:pointer;text-decoration: underline;"
@click="setLeaderOrGuide(item,1)">{{$t('objFill.v101.shezhidaoy')}}</span>
</p> </p>
</div> </div>
</div> </div>
...@@ -1538,6 +1542,25 @@ ...@@ -1538,6 +1542,25 @@
}; };
}, },
methods: { methods: {
setLeaderOrGuide(item, type) {
var NameStr = "设置领队";
var path = "RegistrationList";
if (type == 1) {
path = 'leaderArrangement';
NameStr = "设置导游";
}
var id = item.TCID;
if (id > 0) {
this.$router.push({
name: path,
query: {
id: id,
blank: "y",
tab: NameStr
}
});
}
},
//获取TCID //获取TCID
clickAirticket(item) { clickAirticket(item) {
this.updateAirticketObj.TCID = item.TCID; this.updateAirticketObj.TCID = item.TCID;
......
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