Commit 8a763d30 authored by liudong1993's avatar liudong1993

1

parent 3f9e82bf
<template>
<el-dialog custom-class='PingFangSC' title="财务单据被驳回提醒" :visible.sync="outerVisibleNot" center :before-close="closeChangeMachie" width="1200px">
<span style="cursor: pointer; float:left;color:#33B3FF" @click="goHotelNoFRemind()">>前往处理驳回单据</span>
<div v-if="UnFinanceRejectData &&UnFinanceRejectData.length>0" style="margin-top: 10px;">
<el-table :data="UnFinanceRejectData" tooltip-effect="dark" style="width: 100%">
<el-table-column prop="" label="单号">
<template slot-scope="scope">{{ scope.row.FrID }}</template>
</el-table-column>
<el-table-column prop="" label="类型">
<template slot-scope="scope">{{ scope.row.TypeName }}</template>
</el-table-column>
<el-table-column prop="" label="公司">
<template slot-scope="scope">{{ scope.row.BName }}</template>
</el-table-column>
<el-table-column prop="" label="流程" width="120" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.TemplateIdStr }}</template>
</el-table-column>
<el-table-column prop="" label="科目" width="120" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.CostTypeIdStr }}</template>
</el-table-column>
<el-table-column prop="" label="对象" width="180" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.RemitterName }}</template>
</el-table-column>
<el-table-column prop="" label="金额">
<template slot-scope="scope">{{ scope.row.Money }}</template>
</el-table-column>
<el-table-column prop="" label="状态">
<template slot-scope="scope"><span style="color:red">{{ scope.row.Status }}</span></template>
</el-table-column>
<el-table-column prop="" label="制单人" width="200">
<template slot-scope="scope">{{ scope.row.CreateByStr }}/{{ scope.row.CreateDate }}</template>
</el-table-column>
</el-table>
</div>
<div v-if="UnFinanceRejectData &&UnFinanceRejectData.length==0" style="padding: 40px 0;text-align: center;">
{{$t('system.content_noData')}}
</div>
</el-dialog>
</template>
<script>
export default {
props:["UnFinanceRejectData"],
data() {
return {
outerVisibleNot: true
}
},
watch: {
},
methods: {
closeChangeMachie(done) {
this.$emit('unFinanceReject')
},
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 = {
Conditon:1,
blank: "y",
};
this.$router.push({
path: "/FinancialDocuments",
query
});
},
}
}
</script>
......@@ -1276,6 +1276,9 @@
<!-- 酒店临期未制单提示 -->
<unhotelFMessage v-if="unHotelFinance" :UnHotelFinanceData="UnHotelFinanceData" @unHotelFinance="unHotelFinance = false">
</unhotelFMessage>
<!-- 财务单据驳回未制单 -->
<unFRejectMessage v-if="unFinanceReject" :UnFinanceRejectData="UnFinanceRejectData" @unFinanceReject="unFinanceReject = false">
</unFRejectMessage>
<!-- 改价提醒/审核改价提醒 -->
<ChangeThePriceMessage v-if="ChangeThePriceVisible || ExamineThePriceVisible" :type="1" :msg="ExamineThePriceMsg"
:ChangeThePriceObj="ChangeThePriceObj"
......@@ -1311,6 +1314,7 @@ 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 unFRejectMessage from "../components/administrative/model/unFinanceReject";
import unTravelMessage from "../components/administrative/model/unTravelMessage";
import AirTicketMessage from "../components/administrative/model/AirTicketMessage";
import ChangeThePriceMessage from "../components/administrative/model/ChangeThePriceMessage";
......@@ -1328,6 +1332,7 @@ export default {
Voting,
unbundlingMessage,
unhotelFMessage,
unFRejectMessage,
ChangeThePriceMessage,
pptIframe,
unTravelMessage,
......@@ -1370,9 +1375,11 @@ export default {
UnboundDate: {},
UnTravelDate: null,
UnHotelFinanceData: null,
UnFinanceRejectData: null,
unbundlingVisible: false, //未绑团提醒
unHotelFinance: false, //酒店未制单提醒
unTravelVisible: false, //销售未完款提醒
unFinanceReject: false,//财务单据被驳回 未处理
b2bDomain: "",
useRed: false,
//提成账单弹窗
......@@ -1949,9 +1956,10 @@ export default {
// 获取未绑定团的数据
if (!localStorage.getItem("UnboundDateTime") ||
(localStorage.getItem("UnboundDateTime") != this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")))) {
this.GetTravelAirNotBind()
this.GetTravelAirNotBind();
this.GetSaleOrOPRemind();
this.GetHotelNoFinance();
this.GetFinanceRejectRemind();
} else {
if (localStorage.getItem("UnboundDate")) {
if (this.userInfo.DepartName.indexOf("操作部") != -1 || this.userInfo.DepartName.indexOf("总部财务部") != -1 ||
......@@ -2329,6 +2337,21 @@ export default {
);
}
},
//获取财务单据被驳回未处理
GetFinanceRejectRemind() {
this.UnFinanceRejectData = {}
this.apipost("Financial_post_GetFinanceRejectionNoDeal", {},
res => {
if (res.data.resultCode == 1) {
if (res.data.data && res.data.data.length > 0) {
this.UnFinanceRejectData = res.data.data
this.unFinanceReject = 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