Commit 837effd9 authored by liudong1993's avatar liudong1993

1 酒店临期未制单提醒

parent 6fa49c2d
......@@ -30,7 +30,7 @@
<el-table ref="multipleTable" :data="DataList" tooltip-effect="dark" style="width: 100%" row-key="FinanceId">
<el-table-column prop="" label="团队编号">
<template slot-scope="scope">
<span style="cursor: pointer; color: #00c6ff;" @click="goTravelInfo(scope.row)">{{scope.row.TCID}}</span>
<span style="cursor: pointer; color: #00c6ff;" @click="goTeamBalance(scope.row)">{{scope.row.TCID}}</span>
</template>
</el-table-column>
<el-table-column prop="" :label="$t('visa.v_teaminfo')">
......@@ -136,6 +136,16 @@
query
});
},
goTeamBalance(item){
let query = {
id: item.TCID,
blank: "y",
};
this.$router.push({
path: "/TeamBalancePayment",
query
});
},
handleSizeChange(val) {
this.msg.pageSize = val
this.msg.pageIndex = 1;
......
<template>
<el-dialog custom-class='PingFangSC' title="酒店临期未制单提醒" :visible.sync="outerVisibleNot" center :before-close="closeChangeMachie" width="1200px">
<span style="cursor: pointer; float:right;color:#33B3FF" @click="goHotelNoFRemind()">>查看更多日期</span>
<div v-if="UnHotelFinanceData &&UnHotelFinanceData.length>0" style="margin-top: 10px;">
<el-table :data="UnHotelFinanceData" tooltip-effect="dark" style="width: 100%">
<el-table-column prop="" label="团队编号" width="80">
<template slot-scope="scope">
<span style="cursor: pointer; color: #00c6ff;" @click="goTeamBalance(scope.row)">{{scope.row.TCID}}</span>
</template>
</el-table-column>
<el-table-column prop="" :label="$t('visa.v_teaminfo')">
<template slot-scope="scope">
<span style="cursor: pointer; color: #00c6ff;" @click="goTravelInfo(scope.row)">{{ scope.row.TCNUM }}</span>
</template>
</el-table-column>
<el-table-column prop="" label="出团日期" width="120">
<template slot-scope="scope">{{ scope.row.StartDate }}</template>
</el-table-column>
<el-table-column prop="" label="地接团号">
<template slot-scope="scope">{{ scope.row.DMCNum }}</template>
</el-table-column>
<el-table-column prop="" label="操作OP" width="80">
<template slot-scope="scope">{{ scope.row.OPName }}</template>
</el-table-column>
<el-table-column prop="" label="酒店信息" width="500">
<template slot-scope="scope">
<template v-for="(subItem,subIndex) in scope.row.HotelList">
<span :key="subIndex">
{{subItem.CheckInDate}}[{{subItem.DayNum}}]【{{subItem.HotelName}}
</span>
<br :key="subIndex+10000" />
</template>
</template>
</el-table-column>
</el-table>
</div>
<div v-if="UnHotelFinanceData &&UnHotelFinanceData.length==0" style="padding: 40px 0;text-align: center;">
{{$t('system.content_noData')}}
</div>
</el-dialog>
</template>
<script>
export default {
props:["UnHotelFinanceData"],
data() {
return {
outerVisibleNot: true
}
},
watch: {
},
methods: {
closeChangeMachie(done) {
this.$emit('unHotelFinance')
},
goTravelInfo(item){
let query = {
TCNUM: item.TCNUM,
blank: "y",
};
this.$router.push({
path: "/dmcTotalTable",
query
});
},
goTeamBalance(item){
let query = {
id: item.TCID,
blank: "y",
};
this.$router.push({
path: "/TeamBalancePayment",
query
});
},
goHotelNoFRemind(){
let query = {
blank: "y",
};
this.$router.push({
path: "/HotelNoFRemind",
query
});
},
}
}
</script>
......@@ -240,6 +240,12 @@
{{ $t('objFill.v101.header.weisqjtts') }}
<i class="iconfont icon-right1"></i>
</el-dropdown-item>
<el-dropdown-item class="clearfix _dropdown_other" @click.native="unHotelFinance = true"
v-if="UnHotelFinanceData">
<i class="iconfont icon-Newspaper" style="color:#f39c12"></i>
酒店临期未制单
<i class="iconfont icon-right1"></i>
</el-dropdown-item>
<el-dropdown-item v-if="userInfo.RB_Group_id == 2 && ChangeThePriceList.length > 0"
class="clearfix _dropdown_other"
@click.native="GetChangeThePrice(1), GetExaminePriceOrderPageList(1)">
......@@ -1267,6 +1273,9 @@
<!-- 机票未绑团提示 -->
<unTravelMessage v-if="unTravelVisible" :UnTravelDate="UnTravelDate" @unTravelVisible="unTravelVisible = false">
</unTravelMessage>
<!-- 酒店临期未制单提示 -->
<unhotelFMessage v-if="unHotelFinance" :UnHotelFinanceData="UnHotelFinanceData" @unHotelFinance="unHotelFinance = false">
</unhotelFMessage>
<!-- 改价提醒/审核改价提醒 -->
<ChangeThePriceMessage v-if="ChangeThePriceVisible || ExamineThePriceVisible" :type="1" :msg="ExamineThePriceMsg"
:ChangeThePriceObj="ChangeThePriceObj"
......@@ -1301,6 +1310,7 @@ import commissonBill from './commonPage/commissonBill';
import commissionDetail from "./commonPage/commissionDetail.vue";
import Voting from "../components/administrative/model/Voting";
import unbundlingMessage from "../components/administrative/model/unbundlingMessage";
import unhotelFMessage from "../components/administrative/model/unHotelFinance";
import unTravelMessage from "../components/administrative/model/unTravelMessage";
import AirTicketMessage from "../components/administrative/model/AirTicketMessage";
import ChangeThePriceMessage from "../components/administrative/model/ChangeThePriceMessage";
......@@ -1317,6 +1327,7 @@ export default {
commissionDetail,
Voting,
unbundlingMessage,
unhotelFMessage,
ChangeThePriceMessage,
pptIframe,
unTravelMessage,
......@@ -1358,7 +1369,9 @@ export default {
UnboundDate: {},
UnTravelDate: null,
UnHotelFinanceData: null,
unbundlingVisible: false, //未绑团提醒
unHotelFinance: false, //酒店未制单提醒
unTravelVisible: false, //销售未完款提醒
b2bDomain: "",
useRed: false,
......@@ -1938,6 +1951,7 @@ export default {
(localStorage.getItem("UnboundDateTime") != this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")))) {
this.GetTravelAirNotBind()
this.GetSaleOrOPRemind();
this.GetHotelNoFinance();
} else {
if (localStorage.getItem("UnboundDate")) {
if (this.userInfo.DepartName.indexOf("操作部") != -1 || this.userInfo.DepartName.indexOf("总部财务部") != -1 ||
......@@ -2296,6 +2310,25 @@ export default {
);
}
},
//获取酒店临期未制单
GetHotelNoFinance() {
this.UnHotelFinanceData = {}
if (this.userInfo.PostName.indexOf("操作") != -1 ||this.userInfo.PostName.indexOf("线控") != -1 || this.userInfo.DepartName.indexOf("总部财务部") != -1) {
let sDate = this.FormartDate(new Date(this.getBeforeDate(3)));
let eDate = this.FormartDate(new Date(this.getBeforeDate(-2)));
this.apipost("financestatistics_post_GetHotelNoFinanceStat", {QStartDate:sDate,QEndDate:eDate},
res => {
if (res.data.resultCode == 1) {
if (res.data.data && res.data.data.length > 0) {
this.UnHotelFinanceData = res.data.data
this.unHotelFinance = true
}
localStorage.setItem("UnboundDateTime", this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")));
}
}
);
}
},
// 获取未完款的数据
GetSaleOrOPRemind() {
this.UnTravelDate = null
......
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