Commit 3c80be86 authored by 黄奎's avatar 黄奎

页面修改

parent d761a035
...@@ -474,7 +474,7 @@ ...@@ -474,7 +474,7 @@
<span class="TC_xiajia" v-if="item.TCState==2">{{$t('visa.v_yxiajia')}}</span> <span class="TC_xiajia" v-if="item.TCState==2">{{$t('visa.v_yxiajia')}}</span>
<span class="TC_xiajia quxiao" v-if="item.TCState==4">{{$t('hotel.hotel_HasBeenCancelled')}}</span> <span class="TC_xiajia quxiao" v-if="item.TCState==4">{{$t('hotel.hotel_HasBeenCancelled')}}</span>
<span class="TC_xiajia daiwanshan" <span class="TC_xiajia daiwanshan"
v-if="item.Config_OfferId>0&&item.Config_OfferStatus&&item.TCState==1"> v-if="item.Config_OfferId>0&&item.Config_OfferStatus&&item.TCState==1">
{{item.Config_OfferStatus}} {{item.Config_OfferStatus}}
</span> </span>
</div> </div>
...@@ -598,30 +598,7 @@ ...@@ -598,30 +598,7 @@
<span>{{$t('Airticket.Air_StartTime')}}</span> <span>{{$t('Airticket.Air_StartTime')}}</span>
<span class="go_date">{{item.StartDate}}</span> <span class="go_date">{{item.StartDate}}</span>
</p> </p>
<p class="travelnowrap flex" v-if="item.OfferUrlExtArray&&item.OfferUrlExtArray.length>0">
<span>报价单</span>
<span class="go_date">
<template v-for="(subItem,subIndex) in item.OfferUrlExtArray">
<a :key="subIndex" style="margin-left:20px;color:blue;cursor:pointer;" :href="subItem.Url"
v-if="subItem.Url" target="_blank" :download="subItem.Name">{{subItem.Name}}</a>
<template v-if="item.OfferUrlExtArray.length>1 && subIndex<item.OfferUrlExtArray.length">
<br :key="subIndex+1000" />
</template>
</template>
</span>
</p>
<p class="travelnowrap flex" v-else-if="item.PriceOfferUrl&&item.PriceOfferUrl!=''">
<span>报价单</span>
<span class="go_date">
<a style="margin-left:20px;color:blue;cursor:pointer;" :href="item.PriceOfferUrl"
v-if="item.PriceOfferUrl" target="_blank">下载报价单</a>
</span>
</p>
<p class="travelnowrap" v-if="item.Config_OfferId&&item.Config_OfferId>0">
<span style="cursor:pointer;text-decoration:underline;color:blue;"
@click="showDialog(item.ID, item.Config_OfferId)">报价详情</span>
</p>
<p class="travelnowrap flex" v-if="item.OfferShouPeiFee>0"> <p class="travelnowrap flex" v-if="item.OfferShouPeiFee>0">
<span>手配费</span> <span>手配费</span>
<span class="go_date"> <span class="go_date">
...@@ -695,7 +672,6 @@ ...@@ -695,7 +672,6 @@
v-if="(item.LineID==14 || item.LineID==90|| item.LineID==168) && item.IsOpenHotel==1"> v-if="(item.LineID==14 || item.LineID==90|| item.LineID==168) && item.IsOpenHotel==1">
<span style="color:red;font-weight:bold;">※ {{$t('op.DJyiguanbi')}}.</span> <span style="color:red;font-weight:bold;">※ {{$t('op.DJyiguanbi')}}.</span>
</p> </p>
</div> </div>
</div> </div>
<div class="el-col" style="width:190px;"> <div class="el-col" style="width:190px;">
...@@ -807,6 +783,35 @@ ...@@ -807,6 +783,35 @@
<p style="color:red;font-size:12px;"> <p style="color:red;font-size:12px;">
{{$t('op.TotalClicks')}}:{{item.TotalClickCount}} {{$t('op.TotalClicks')}}:{{item.TotalClickCount}}
</p> </p>
<p class="color:red;margin:20px 0 10px 0;font-size:12px;" v-if="item.OfferUrlExtArray&&item.OfferUrlExtArray.length>0">
<span>报价单</span>
<span class="go_date">
<template v-for="(subItem,subIndex) in item.OfferUrlExtArray">
<a :key="subIndex" style="margin-left:20px;color:blue;cursor:pointer;" :href="subItem.Url"
v-if="subItem.Url" target="_blank" :download="subItem.Name">{{subItem.Name}}</a>
<template v-if="item.OfferUrlExtArray.length>1 && subIndex<item.OfferUrlExtArray.length">
<br :key="subIndex+1000" />
</template>
</template>
</span>
</p>
<p class="color:red;margin:20px 0 10px 0;font-size:12px;" v-else-if="item.PriceOfferUrl&&item.PriceOfferUrl!=''">
<span>报价单</span>
<span class="go_date">
<a style="margin-left:20px;color:blue;cursor:pointer;" :href="item.PriceOfferUrl"
v-if="item.PriceOfferUrl" target="_blank">下载报价单</a>
</span>
</p>
<p class="travelnowrap" v-if="item.Config_OfferId&&item.Config_OfferId>0">
<span style="cursor:pointer;text-decoration:underline;color:blue;"
@click="showDialog(item.ID, item.Config_OfferId)">报价详情</span>
</p>
<p v-if="item.Config_OfferId==0">
<span style="cursor:pointer;text-decoration:underline;color:red;"
@click="NewCopyPriceSheet(item,0)">新增报价单</span>
<span style="cursor:pointer;text-decoration:underline;color:red;"
@click="NewCopyPriceSheet(item,1)">复制报价单</span>
</p>
</div> </div>
</div> </div>
<div class="el-col" style="width:150px;"> <div class="el-col" style="width:150px;">
...@@ -1137,14 +1142,7 @@ ...@@ -1137,14 +1142,7 @@
<el-dropdown-item> <el-dropdown-item>
<div @click='GoToleaderReimbursement(item)' style="color:red">地接成本支出 </div> <div @click='GoToleaderReimbursement(item)' style="color:red">地接成本支出 </div>
</el-dropdown-item> </el-dropdown-item>
<template v-if="item.Config_OfferId==0&&item.TCState==1">
<el-dropdown-item>
<div @click="NewCopyPriceSheet(item,0)">新增报价单 </div>
</el-dropdown-item>
<el-dropdown-item>
<div @click="NewCopyPriceSheet(item,1)">复制报价单 </div>
</el-dropdown-item>
</template>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
...@@ -1397,7 +1395,7 @@ ...@@ -1397,7 +1395,7 @@
ApplyMaxNum: "", ApplyMaxNum: "",
DayNum: "", DayNum: "",
OnlyShowOverTeam: false, OnlyShowOverTeam: false,
TCState: [1,3], //去掉默认显示 TCState: [1, 3], //去掉默认显示
GroupState: [], GroupState: [],
SalePlat: [], SalePlat: [],
UnionCityId: 0, UnionCityId: 0,
...@@ -1539,22 +1537,22 @@ ...@@ -1539,22 +1537,22 @@
}, },
}, },
methods: { methods: {
NewCopyPriceSheet(item,type){ NewCopyPriceSheet(item, type) {
if(type){ if (type) {
this.CopyConfigOffer(item) this.CopyConfigOffer(item)
}else{ } else {
this.gotoOffer(item,1) this.gotoOffer(item, 1)
} }
}, },
//跳转到报价单 //跳转到报价单
gotoOffer(item,type) { gotoOffer(item, type) {
let name = 'QuotationNewPrice' let name = 'QuotationNewPrice'
let query = { let query = {
offerid: item.Config_OfferId, offerid: item.Config_OfferId,
blank: 'y', blank: 'y',
tab: '报价单' tab: '报价单'
} }
if(type){//新增报价单 if (type) { //新增报价单
query.TeamType = item.TeamType; query.TeamType = item.TeamType;
query.TCID = item.TCID; query.TCID = item.TCID;
query.LineID = item.LineID; query.LineID = item.LineID;
...@@ -1563,12 +1561,12 @@ ...@@ -1563,12 +1561,12 @@
query.OutDateTime = item.StartCityTime; query.OutDateTime = item.StartCityTime;
query.OutBranchId = item.OutBranchId; query.OutBranchId = item.OutBranchId;
query.ForbidChange = true; query.ForbidChange = true;
query.Title=item.Title; query.Title = item.Title;
this.$router.push({ this.$router.push({
path: name, path: name,
query query
}); });
}else{ } else {
this.$router.push({ this.$router.push({
path: name, path: name,
query query
...@@ -1576,7 +1574,7 @@ ...@@ -1576,7 +1574,7 @@
} }
}, },
// 复制报价单 // 复制报价单
CopyConfigOffer(item){ CopyConfigOffer(item) {
let msg = { let msg = {
ID: item.ID, ID: item.ID,
TCID: item.TCID, TCID: item.TCID,
...@@ -2244,7 +2242,7 @@ ...@@ -2244,7 +2242,7 @@
}); });
}, },
//开团或修改 //开团或修改
goToOpenTravel(path, configId, tcid,item) { goToOpenTravel(path, configId, tcid, item) {
if (configId > 0) { if (configId > 0) {
this.$store.commit("pageConditionUpdate", this.queryMsg); this.$store.commit("pageConditionUpdate", this.queryMsg);
this.$router.push({ this.$router.push({
...@@ -2266,7 +2264,7 @@ ...@@ -2266,7 +2264,7 @@
}, },
//当团修改 //当团修改
goTonowTeam(path, configId, tcid, TCNUM,item) { goTonowTeam(path, configId, tcid, TCNUM, item) {
if (configId > 0) { if (configId > 0) {
this.$store.commit("pageConditionUpdate", this.queryMsg); this.$store.commit("pageConditionUpdate", this.queryMsg);
this.$router.push({ this.$router.push({
......
...@@ -398,13 +398,13 @@ ...@@ -398,13 +398,13 @@
<ul class="days"> <ul class="days">
<li class="liList" v-for="(dayobject,index) in days" :key="index+1000"> <li class="liList" v-for="(dayobject,index) in days" :key="index+1000">
<span v-if="dayobject.checkState==$calendarUtils.checkState.noChecked" <span v-if="dayobject.checkState==$calendarUtils.checkState.noChecked"
class="other-month">{{dayobject.day.getDate()}}</span> class="other-month" >{{dayobject.day.getDate()}}</span>
<!--@click="clickedDay(dayobject)"--> <!---->
<span v-if="dayobject.checkState==$calendarUtils.checkState.checked" class="checked1" <span v-if="dayobject.checkState==$calendarUtils.checkState.checked" class="checked1"
>{{dayobject.day.getDate()}}</span> @click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span>
<!--@click="clickedDay(dayobject)"--> <!---->
<span v-else-if="dayobject.checkState==$calendarUtils.checkState.hasValue" <span v-else-if="dayobject.checkState==$calendarUtils.checkState.hasValue"
>{{dayobject.day.getDate()}}</span> @click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span>
</li> </li>
</ul> </ul>
</div> </div>
......
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