Commit e94480ed authored by 吴春's avatar 吴春

单项产品发票申请按钮隐藏

parent eda43c14
......@@ -725,7 +725,7 @@
</el-tooltip>
</div>
</div>
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 150px;max-width:400px">
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 150px;max-width:400px" v-if="userInfo&&userInfo.RB_Group_id==2">
<div class="fz12">{{$t('objFill.invoicedocument')}}</div>
<div class="row wrap orderNo fz12 py">
<span class="cursor-pointer radius5 mr px5" :class="{'bgD9F3FF':x.InvoiceApplyState===6,'bgFAEAED':x.InvoiceApplyState===1||x.InvoiceApplyState===3,
......@@ -833,7 +833,7 @@
<span class="c059FF6">{{$t('pub.edit')}}{{$t('fnc.a_zongjine')}}</span>
</div>
<!-- 申请发票 -->
<ApplyFoInvoice v-if="userInfo.EmployeeId==scope.row.EnterID" :obj="scope.row" :type="6"></ApplyFoInvoice>
<ApplyFoInvoice v-if="userInfo&&userInfo.RB_Group_id==2&&userInfo.EmployeeId==scope.row.EnterID" :obj="scope.row" :type="6"></ApplyFoInvoice>
</div>
<!-- <div v-if="item.OrderStatus==2" class="column-jac px15 bgE8F5E9 radius5 ml fz12 pa20 flex-s c20C997">
<div class="mb5">已支付</div>
......
......@@ -807,7 +807,7 @@
</el-tooltip>
</div>
</div>
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 150px;max-width:400px">
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 150px;max-width:400px" v-if="userInfo&&userInfo.RB_Group_id==2">
<div class="fz12">发票单据</div>
<div class="row wrap orderNo fz12 py">
<span
......@@ -918,7 +918,7 @@
<span class="c059FF6">编辑总金额</span>
</div>
<!-- 申请发票 -->
<ApplyFoInvoice v-if="userInfo.EmployeeId==scope.row.EnterID" :obj="scope.row" :type="5"></ApplyFoInvoice>
<ApplyFoInvoice v-if="userInfo&&userInfo.RB_Group_id==2&&userInfo.EmployeeId==scope.row.EnterID" :obj="scope.row" :type="5"></ApplyFoInvoice>
</div>
</div>
<div class="mt mb20 bgf5 pa15 row-c" v-if="scope.row.CancelRemark">
......
......@@ -4,7 +4,7 @@
<template>
<div>
<el-tabs v-model="dataObj.tab" @tab-click="handleClick">
<el-tab-pane label="团队订单" name="0">
<el-tab-pane label="团队订单" name="0" v-if="currentUserInfo&&currentUserInfo.RB_Group_id==2">
<TeamOrder :pagesTitle="pagesTitle" :OrderId="dataObj.OrderId"></TeamOrder>
</el-tab-pane>
<el-tab-pane label="接机订单" name="1">
......@@ -30,7 +30,8 @@
dataObj:{
tab:'1',
OrderId: '',
}
},
currentUserInfo: {},
};
},
watch: {
......@@ -52,7 +53,7 @@
}
},
created() {
this.currentUserInfo = this.getLocalStorage();
},
mounted() {
if(this.$route.query.OrderType||this.$route.query.Type){
......
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