Commit 72d8aa2c authored by 王悦's avatar 王悦

判断资金调拨是否可以修改

parent 2de8851c
......@@ -189,7 +189,7 @@
</el-popover>
</td>
<td>
<el-tooltip class="item" effect="dark" content="修改" placement="top">
<el-tooltip class="item" effect="dark" content="修改" placement="top" v-if="item.Status===1 && item.CreateBy===EmId && item.InOrNotProcess===-1">
<i class="edit el-icon-edit" @click="goURL('addCapitalAllocation', 1, item.FrID)"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="详情" placement="top">
......@@ -247,12 +247,15 @@ export default {
GetFinancLogList: [],
loading: true,
LogLoading: true,
EmId:0
}
},
created(){
this.getList()
let userInfo = this.getLocalStorage(); // 读取缓存数据
console.log(userInfo);
this.getCompanyMsg.RB_Group_Id = this.employeeMsg.GroupId = this.getDepartmentMsg.RB_Group_Id = userInfo.RB_Group_id; // 集团ID
this.EmId=userInfo.EmployeeId;
},
methods:{
getList: function () { // 获取列表数据
......
......@@ -843,7 +843,7 @@ export default {
this.userId = userInfo.EmployeeId;
this.msg.EmployeeId= userInfo.EmployeeId;
this.intemplateid=27;
if(userInfo.RB_Branch_Id===0 || userInfo.RB_Branch_Id===45 || userInfo.RB_Branch_Id===49){
if(userInfo.RB_Branch_id===0 || userInfo.RB_Branch_id===45 || userInfo.RB_Branch_id===49){
this.paytemplateid=7;
}else{
this.paytemplateid=14;
......
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