Commit 5a123c67 authored by youjie's avatar youjie

查看团队收支明细权限

parent 5699566e
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
<template> <template>
<div class="flexOne TeamBalancePayment" v-loading="loading"> <div class="flexOne TeamBalancePayment" v-loading="loading">
<div id="print"> <div id="print">
<div class="Team_Details"> <div class="Team_Details" v-if="isIncomeExpenditure">
<div class="TB_comtitle" style="position:relative;"> <div class="TB_comtitle" style="position:relative;">
<span>团队收支明细</span> <span>团队收支明细</span>
<input type="button" class="normalBtn" style="position:absolute;right:100px;" <input type="button" class="normalBtn" style="position:absolute;right:100px;"
...@@ -321,13 +321,12 @@ ...@@ -321,13 +321,12 @@
</div> </div>
<div class="Team_collection" v-loading="loading"> <div class="Team_collection" v-loading="loading">
<div class="clearfix TB_PrintDiv"> <div class="clearfix TB_PrintDiv" v-if="auditCoun>0">
<div style="font-size: 15px;margin-top: 10px;" <div style="font-size: 15px;margin-top: 10px;">当前有<span style="color: red;margin: 0 2px;">{{auditCoun}}</span>条数据不计入利润</div>
v-if="auditCoun>0">当前有<span style="color: red;margin: 0 2px;">{{auditCoun}}</span>条数据不计入利润</div>
<div class="TB_comtitle TB-Title">驳回: <div class="TB_comtitle TB-Title">驳回:
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-if="auditCoun>0">
<tr> <tr>
<th width="180">单号</th> <th width="180">单号</th>
<th width="200">费用类型</th> <th width="200">费用类型</th>
...@@ -1590,6 +1589,7 @@ ...@@ -1590,6 +1589,7 @@
export default { export default {
data() { data() {
return { return {
isIncomeExpenditure: false,//查看团队收支明细权限
auditList: [], auditList: [],
auditCoun:0, auditCoun:0,
ticketList:[], ticketList:[],
...@@ -2365,6 +2365,14 @@ ...@@ -2365,6 +2365,14 @@
} else { } else {
this.IsHaveAuth = false; this.IsHaveAuth = false;
} }
let userInfo = this.getLocalStorage();
let ActionMenuCode = userInfo.ActionMenuCode;
if (ActionMenuCode.indexOf('S_CheckBranchOrder') != -1
||ActionMenuCode.indexOf('S_CheckAllOrder') != -1
||ActionMenuCode.indexOf('F_Query_SelfBranch') != -1
||ActionMenuCode.indexOf('F_Query_AllIncomPay') != -1){
this.isIncomeExpenditure = true
}
this.checkHasAuth(); this.checkHasAuth();
this.getList(); this.getList();
this.getdataInfo(); this.getdataInfo();
......
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